Clear Filters
Clear Filters

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

1 view (last 30 days)
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.

Answers (0)

Categories

Find more on Linear Programming and Mixed-Integer Linear Programming in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!