May 4, 2021 11:13 AM
Hello I have a simple problem as follows: using CP; dvar float+ t; dexpr float cost = (2*t^2 + 16/t)*1000; minimize cost; subject to ( 1<=t<=5; ); CPLEX provides an error: 'Decision variables of type dvar float+ not supported by this algorithm. I need t to be a float. What can I do? ...