Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.
Originally posted by: pratras
Hi,
In the attached model, I am getting an error "Operator not available for && int ..." . I have built this same program in C++ and didn't get error. How should I do the same in OPL?
Thanks
I am not sure about what you intend to do but you cannot do affect in a constraint.
Maybe
forall(w in TanksInd) { if (Routes[i][d][w] == 1) {Tmax >= t[i][item(Tanks,w)] + LTravelTime[item(Tanks,w)][last(Tanks)] - (1-RouteAssign[i][d])*M; } }
could help
Regards
Hi Alex,
Thank you very much. It helped.