Originally posted by: carope
Hey,
is there any equivalent Class such as IloNumVar in the C++ API for the OPL keyword dexpr? How do I have to use it?
I tried IloExpr for my decision expressions, but it doesn't work, because cplex uses them as constraints, which leads to infeasibility. My native model in OPL works fine with the dexpr. But is infeasible if i define the expressions as constraints as well. Thats why I need an equivalent Class or at least a hint how to define expressions in my model which won't be used as constraints.
Thanks for your help
#CPLEXOptimizers#DecisionOptimization