Accessing the Solution Pool of CPLEX Binary Integer Linear Programming Solver in MATLAB
2 views (last 30 days)
Show older comments
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.
1 Comment
Sudarshan Kolar
on 1 Mar 2017
I would recommend contacting the authors of CPLEX to help you resolve the issue.
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!