How to set the time upper bound for an IMRT's optimization by scripting (ESAPI V13)?

Aug 6, 2014 at 12:03 AM
Edited Aug 6, 2014 at 12:04 AM
By calling plan.Optimize(int MaxIteration), the Maximum Iteration can be set.
Where plan refers to an instance of ExternalPlanSetup.

Is there any way to set the Max Time for an IMRT optimization by scripting?
Aug 6, 2014 at 12:19 PM
Edited Aug 6, 2014 at 12:19 PM
Not in the API. Of course you could put a loop around plan.Optimize(int MaxIteration), and check elapsed time each time around the loop.
Aug 6, 2014 at 5:08 PM
Many thanks.