Originally posted by: keljxjtu
I want to implement this constraint:
find the nonzero element from x1, x2, x3, x4, x5, and x6, if (xi!=0), then y =i; (e.g. if (x1=1) then y = 1)
such that y+z<15, z is variable.
How to implement this constraint.
#CPLEXOptimizers#DecisionOptimization