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.Diagnostics = 'on';
[x, fval, exitflag, output] = cplexmilp (f, Aineq, bineq, Aeq, beq,...
[ ], [ ], [ ], lb, ub, ctype, [ ], options);
Tried aggregator 2 times.
Aggregator did 1 substitutions.
Reduced MIP has 2 rows, 3 columns, and 6 nonzeros.
Reduced MIP has 0 binaries, 1 generals, 0 SOSs, and 0 indicators.
Presolve time = 0.00 sec. (0.01 ticks)
Found incumbent of value -34.000000 after 0.00 sec. (0.01 ticks)
Probing time = 0.00 sec. (0.00 ticks)
Tried aggregator 1 time.
Presolve time = 0.00 sec. (0.00 ticks)
Probing time = 0.00 sec. (0.00 ticks)
MIP emphasis: balance optimality and feasibility.
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.Diagnostics = 'on';
options.emphasis.mip = 2;
[x, fval, exitflag, output] = cplexmilp (f, Aineq, bineq, Aeq, beq,...
[ ], [ ], [ ], lb, ub, ctype, [ ], options);
...
MIP emphasis: balance optimality and feasibility.
Per https://delivery04.dhe.ibm.com/sar/CMA/WSA/04nlf/0/12.6.0-WS-COS-readme-fp001.html ,
...
RS01546 Version 12.6 of the MATLAB optimization toolbox ignores
CPLEX parameter settings that lack a corresponding toolbox parameter.
See also https://www.ibm.com/developerworks/community/forums/html/topic?id=7dce2826-4858-4136-bbd4-a31fb7fadd90&ps=25 , which describes the workaround using CPLEX parameter numbers instead of names, which was needed prior to Fixpack1.