Originally posted by: dbaena
Hi,
I have a doubt about CPLEX applied to MIP problems. I am solving a initial problem P1 with x binary variables and y continuos variables. After I solve that, I fix "x" variables and I have a new group of binary varibales (a group of y). I call this problem as P2. In theory, the problem P2 is more easy.
In order to take advantage of solving P1, I am using:
cplex.setParam(IloCplex::AdvInd,1);
and when I solve P1 I do:
cplex.addMIPStart(IloNumVarArray, IloNumArray);
but I see that P2 take more time than P1!! I don't understand it.
I show the output:
P1:
Solving MIP problem. Stage: 0
MIP emphasis: balance optimality and feasibility.
MIP search method: dynamic search.
Parallel mode: none, using 1 thread.
Root relaxation solution time = 5.55 sec.
Nodes Cuts/
Node Left Objective IInf Best Integer Best Node ItCnt Gap
0 0 7.59518e+08 85 7.59518e+08 16
-
0+ 0 7.59518e+08 7.59518e+08 16 0.00%
0 0 cutoff 7.59518e+08 7.59518e+08 16 0.00%
Time: 9
P2:
Solving MIP problem. Stage: 1
1 of 2 MIP starts provided solutions.
MIP start 'm1' defined initial solution with objective 7.5952e+08.
MIP emphasis: balance optimality and feasibility.
MIP search method: dynamic search.
Parallel mode: none, using 1 thread.
Root relaxation solution time = 4.22 sec.
Nodes Cuts/
Node Left Objective IInf Best Integer Best Node ItCnt Gap
0 0 cutoff 7.59518e+08 7.59518e+08 17 0.00%
0 0 cutoff 7.59518e+08 7.59518e+08 17 0.00%
Elapsed time = 22.64 sec. (tree size = 0.00 MB, solutions = 0)
Time: 23
Thanks a lot!!
#CPLEXOptimizers#DecisionOptimization