Originally posted by: SystemAdmin
[dgravot@noos.fr said:]
Look at the Conversion object in the documentation. Basically, you add a conversion to your Cplex solver instance.
Some examples are provided in C# (Cutstock.cs) :
cutSolver.Add(cutSolver.Conversion((INumVar)Cut[i],
NumVarType.Int));
Here, it converts a float variable into an integer one. You'll have to do the opposite.
#CPLEXOptimizers#DecisionOptimization