Originally posted by: JohanLöfberg
Trying to tweak the mip settings in MATLAB with cplex 12.6 (tried 12.5 too), and nothing seem to change. For instance, emphasis
f = [-1 -2 -3 -1]';
Aineq = [-1 1 1 10; 1 -3 1 0];
bineq = [20 30]';
Aeq = [0 1 0 -3.5];
beq = 0;
lb = [0; 0; 0; 2];
ub = [40; inf; inf; 3];
ctype = 'CCCI';
options = cplexoptimset('cplex');
options.Display = 'on';
options.emphasis.mip = 2;
[x, fval, exitflag, output] = cplexmilp (f, Aineq, bineq, Aeq, beq,[ ], [ ], [ ], lb, ub, ctype, [ ], options);
Running the code displays
Presolve time = 0.00 sec. (0.00 ticks)
MIP emphasis: balance optimality and feasibility.
i.e,, the default mip emphasis of 0 is kept.
#CPLEXOptimizers#DecisionOptimization