Originally posted by: zyf2998
Hi, guys!
I have a problem to express the following constraint:
x is a real variable, which is greater or equal to 0(x >=0), y is a binary variable,
the relationship between x and y is : if x = 0, y = 0, if x > 0, y = 1.
How to represent y?
Thanks!
#DecisionOptimization#OPLusingCPLEXOptimizer