question

anon-user avatar image
0 Likes"
anon-user asked Felix Möhlmann edited

OptQuest Error

When I run the attached file with the optimizer, an error occurs near Solution 50.

What is the cause?

How should I solve it?





FlexSim 21.0.5
optquest
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
1 Like"
Felix Möhlmann answered Felix Möhlmann edited

Because the parameters are set to only integer values and due to your constraints there are only 51 eligible solutions (even values of type 1 between 0 and 100). The optimizer throwing an error instead of simply noting that there are no more solutions seems to be a bug though. Interestingly it still occurs when limiting the number of solutions to 51, but not for 50.

To get around this for now, you can have the optimizer only actively vary one of the values and set the other two values in GlobalTable2 in the "On Set" trigger.

1641367873895.png

1641367906346.png

10x100-opt-err-0.fsm


1641367873895.png (1.5 KiB)
1641367906346.png (12.7 KiB)
10x100-opt-err-0.fsm (607.9 KiB)
5 |100000

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