question

Ankur A3 avatar image
0 Likes"
Ankur A3 asked Ankur A3 commented

Scenario Testing in Optimizer using constraints?

Hi Team,

I am using optimizer to test simple scenario where there are 2 processors (1 & 2). I want to limit the Proc1 output to 10 using constraint to get the maximum output in system but it is not limiting the Proc1 output to 10. \

1691749132632.png


I would like to know if there is any mistake in these setting?

Thank you!

FlexSim 23.1.0
optimizerresultsconstraints
1691749132632.png (112.1 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.

1 Answer

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Ankur A3 commented
· 7
5 |100000

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

Ankur A3 avatar image Ankur A3 commented ·

Hi @Jason Lightfoot,

Do you mean it couldn't happen in that way?

I have also tried with the constraint condition "[Proc1_Tput]<=10" but it is not working as expected.

Thank you!

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Ankur A3 commented ·
The optimizer cannot enforce the constraint in the model unless you've coded something that will enforce it based on a parameter it changes. It will just try to avoid parameter sets that it thinks might break the constraint. It's an additional penalty for solutions that break the constraint (as I understand it).
0 Likes 0 ·
Ankur A3 avatar image Ankur A3 Jason Lightfoot ♦♦ commented ·

I completely agree to your point.

Would you mind checking in this model where it is going wrong?

Optimizer_Testing.fsm

There is no code written to break the constraint. All objects are having default logic for input and output ports.

@Jason Lightfoot

0 Likes 0 ·
Show more comments