Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.
Originally posted by: Sandeep.chauhan
dvar float+ X[i in P]
constraint:
X[3] == 219.1 => X[4] != 135.2;
error Function operator!=(dvar float+,float)
Indeed != is not allowed
you could write
(X[3] == 219.1) => (abs(X[4] - 135.2)>=0.00001);
regards
But what if X[4] is less than 135.2?
Hi
abs will take care of this