Sometimes the solver found an optimal solution x
with objective value z
, but one believes that there is a better solution y
which has objective value z*
. There are different ways to look at such a situation:
option optCR=0;
so the solver looks indeed for the global solution.x.FX(i,j) = …;
) or set the variable level (e.g. x.L(i,j) = …;
). In the former case the solver either accepts your solution or reports infeasible. In the latter case, the equation listing has some INFES
markers. Make sure to use set limRow to see all equations and tolInfRep to filter the small infeasibilities.* enter data for proposed solution PARAMETER P(I) proposed solution / i1 1.0 i2 2.0 i3 3.0 /; * fix variables X.FX(I) = P(I); * and let solver check if this is a feasible solution SOLVE M USING MIP MINIMIZING Z;