Scenario Testing in Optimizer using constraints?

Scenario Testing in Optimizer using constraints?

rajankur6494
Collaborator Collaborator
188 Views
8 Replies
Message 1 of 9

Scenario Testing in Optimizer using constraints?

rajankur6494
Collaborator
Collaborator

[ FlexSim 23.1.0 ]

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!

0 Likes
Accepted solutions (1)
189 Views
8 Replies
Replies (8)
Message 2 of 9

jason_lightfootVL7B4
Autodesk
Autodesk
Accepted solution
0 Likes
Message 3 of 9

rajankur6494
Collaborator
Collaborator

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
Message 4 of 9

jason_lightfootVL7B4
Autodesk
Autodesk
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
Message 5 of 9

rajankur6494
Collaborator
Collaborator

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
Message 6 of 9

jason_lightfootVL7B4
Autodesk
Autodesk
You want a model that runs for a day and has 10-20 minute processing times on the processors and a 15 minute arrival time on the source (so 96 items in a day) and no sendto port routing to a specific processor based on the number processed - to be constrained by the optimizer to produce 10 on one processor and 86 on the other?

For every case processor1 will break the constraint, so the optimizer cannot learn how to avoid it - it's impossible.

0 Likes
Message 7 of 9

rajankur6494
Collaborator
Collaborator
Ok @Jason Lightfoot

I am trying to understand your point here.

Suppose we set a routing condition based on item processed on processor 1 (limit 10) then it will happen in the same way and remaining items will be routed to Proc2. I think Optimizer will not be required in that case.

Whether that is not something optimizer could help?

Thank you!

0 Likes
Message 8 of 9

jason_lightfootVL7B4
Autodesk
Autodesk
If the optimiser is then trying to maximise throughput it will choose the lower processing times to do that, although below 15 minutes it will at the limit have no more effect since your source is generating every 15 minutes. You don't need the optimiser to tell you this.
0 Likes
Message 9 of 9

rajankur6494
Collaborator
Collaborator
Got it. @Jason Lightfoot

I will check the other scenarios and will ask as a new question if required.

Thank you for your explanation!

0 Likes