Originally posted by: MachexC
Hi Alex,
Thank you for your suggestion.
When I use case 1, then model run faster but the results don't see any F[i] = 0. This is model reads only values F[v] =1. Meanwhile, the case 2 is run with the very slow runtime, the engine log can not see. Could you explain for me know?
Case 1:
forall i = 1..n {
F[i] = 1 => B[i] == a*X[i] + b*Y[i] - c;
}
Case 2:
forall i = 1..n {
(F[i]==1) => (B[i]==a*X[i] + b*Y[i] - c);
F[i]==0) => (B[i]==a*X[i] + b*Y[i] );
}
Bests,
Mac
#DecisionOptimization#OPLusingCPLEXOptimizer