question

Julio R avatar image
0 Likes"
Julio R asked Julio R commented

Avoid invalid scenarios

Is there a way to avoid certain scenarios in an experiment?

I have a model that has pairs of variables that are values in a table. There is 2 columns and 22 rows, so there is 42 variables.

For each row, column 1 can be higher or the same as column 2, so there is a lot of scenarios that do not work.

Since I have a lot of posible variations, I am looking to reduce the number of scenarios. Right now I am checking in second cero if any of the pair of variables is breaking the rule and stoping the scenario in second cero. This makes the simulation faster, but I would like to find a way that the optimizer does not have to prepare the sceanrio if is not going to run it.

Is there a way to do this?

FlexSim 21.2.4
optimizeropquest
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

·
Jordan Johnson avatar image
0 Likes"
Jordan Johnson answered Julio R commented

The only way I can think of is to write 22 constraints:

Var2 >= Var1
Var4 >= Var3

and so on.

If a constraint counts as linear (these do), then the Optimizer is supposed to not run a simulation that violates those constraints.

· 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.

Julio R avatar image Julio R commented ·
I did that and it works. Thank you!
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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