Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.
Originally posted by: MMM12
How can I round the final value of continuous decision variable to an integer value?
tanx
Hi
dvar float x in 0..2; subject to { x==1.8; } int r=ftoi(round(x)); execute { writeln(r); }
gives
2
regards