Accessing the Solution Pool of CPLEX Binary Integer Linear Programming Solver in MATLAB
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
Sudarshan Kolar
2017-3-1
I would recommend contacting the authors of CPLEX to help you resolve the issue.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Linear Programming and Mixed-Integer Linear Programming 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!