Originally posted by: LucasOliveira
Hi, I implemented a relax and fix heuristic using the CPLEX 12.5 Callable Library and found a strange behavior.
This heuristic solves a sequence of MIP problems.
First, it creates an MIP model where all the variables are initially continuous and have lower bound 0 and upper bound 1.
At each iteration, some variables have its domain changed to 0-1 integer (binary).
So, the MIP model is solved and the variables with integer domain are fixed to the values of the integer solution found.
Running this method, after fix some variables the CPLEX returns a CPXMIP_UNBOUNDED (118) status.
Since all the variables are bounded, how it is possible ? Also, the objective coefficients are non-negative.
I write the LP model exactly before this happens, and the CPLEX command line solver solved it returning the CPXMIP_OPTIMAL status.
Thus, the problem can be in the reoptimization process.
Furthermore, when I set the parameter CPX_PARAM_REDUCE to 0 in my routine the problem disappears.
So, the main question is: There is some parameters that I must set before reoptimize MIP problems ? Or it is a CPLEX bug ?
Thanks!
#CPLEXOptimizers#DecisionOptimization