question

IEThai avatar image
0 Likes"
IEThai asked Logan Gold commented

Stop an optimization if a constraint is not satisfied.

q1.pngI would like to configure the optimization job in experimenter to stop immediately when a constraint is exceeded, before the Stop Time setting.

What steps can I take to reduce the run time of the optimization process without needing to run until the specified stop time?


FlexSim 22.2.0
optquestexperimeteroptimizeconstraintsstop time
q1.png (110.3 KiB)
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered

When the performance measure changes during the model run, check if it passed the threshold. If so, use endreplication(0) to abort the current replication.

When and how exactly you check the condition will depend on what the PFM measures.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.