Originally posted by: osarood
Thanks a lot for the reply
I am trying put a simple indicator constraint in the blending problem. I add a boolean array
dvar boolean xx
Metals;
and put the following indicator constraint:
ct3:
forall( j in Metals) xx[j]==1 => m[j]>0;
It gives the following error:
-
ERRORGENERATE_022 at 57:28-47 /opt/ibm/ILOG/CPLEX_Studio124/opl/examples/opl/blending/blending.mod: Function operator>(dvar float,int) not available in context CPLEX.
-
OPL exception: Impossible to load model.
Can you point out the problem? Thanks
#DecisionOptimization#OPLusingCPLEXOptimizer