Azzera filtri
Azzera filtri

Accessing the Solution Pool of CPLEX Binary Integer Linear Programming Solver in MATLAB

1 visualizzazione (ultimi 30 giorni)
I am using the CPLEX solver for binary integer linear programming (cplexbilp) in MATLAB and would like to print out the identified alternative solutions in the solution pool. The code looks as follows:
options = cplexoptimset('cplex');
options.Display = 'on';
options.mip.tolerances.mipgap = 0;
options.parameter2058 = 1;
options.mip.pool.relgap= 0;
options.parameter2104 = 2;
[x, fval, exitflag, output] = cplexbilp (f, Aineq, bineq, Aeq, beq, ...
[ ], options);
Each time only one solution is stored in x, but I know as CPLEX tells me that there are other solutions as well.
Does anybody know how to print out those alternative solutions?
I very much appreciate your answer.

Risposte (0)

Categorie

Scopri di più su Linear Programming and Mixed-Integer Linear Programming in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by