Hi All,
I used CPLEX OPL and OR logical constraint can be easily described as below.
x1 + x2 >=2 || x1 + x2==0;
I would like to know how to express OR logical constraint in Java and CPLEX Concert Technology library.
I have called cplex object as below.
IloCplex cplex = new IloCplex();
There is an OR function under cplex object. I guess this function allows user to express OR logical constraint, but don't know how to use it.
Would anyone please let me know how to express OR logical constraint in Java and CPLEX Concert Technology?
Thank you for your help in advance!
------------------------------
Sung Hwang
------------------------------
#DecisionOptimization