Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.
Originally posted by: sandeepsinghchauhan
Hello
Is there any example (opl examples) which demonstrate the concept of penalty handling in opl?
Please help!
Hi
have you seen https://www.ibm.com/developerworks/community/forums/html/threadTopic?id=0df7871e-7e99-41b5-9751-47e8375dae93&ps=25
?
regards
Thanks for ur reply.
If i have a constraint
T[p]==0 || L[p] <= X[p]<= U[p];
If this condition not satisfied then does opl procure any penalty to the objective?
Hi,
what you could do is use a dvar boolean b;
and then a constraint
b == (T[p]==0 || L[p] <= X[p]<= U[p]); ctB:b==1;
b == (T[p]==0 || L[p] <= X[p]<= U[p]);
ctB:b==1;
and then you could relax ctB