Hi FlexSim Team,
I am currently experiencing an issue with the constraints in the OptQuest of my model. So Im creating a test model to solve this issue.
In the attached model, I'm trying to find a sequence using the optimizer with a constraint value equal to 0. The expectation from the optimizer is that it should not give a solution sequence which is having a constraint value equal to one.
The sequence is simple [1,2] and for the sequence when the first value is 2, then Im setting the constraint parameter to 1 and when the first value is 1, then Im setting the constraint parameter to 0.
Strangely the optimizer is picking the sequence where the parameter is equal to 1, but it should not be as per the optimization design. What could be the reason?
I have added the code to the model reset.
I would greatly appreciate your assistance in identifying the root cause of the problem and finding a solution.
Best regards, Brijesh Kumar