Finding multiple solutions MIQP - MATLAB

41 views
Skip to first unread message

Bernardo Aceituno

unread,
Jul 4, 2017, 9:28:59 PM7/4/17
to Gurobi Optimization
Hello,

I'm trying to solve a MIQP model and retrieve some of the sub-optimal solutions. I'm using Gurobi 7.0 with the MATLAB interface. In this case, my configuration parameters are the following:

params = applyDefaults(params, struct('outputflag', 0, 'PoolSolutions', 10, 'PoolSearchMode', 1, 'SolutionNumber', 3));

When I run the model I receive the following warnings:

Warning: Unknown parameter: 'PoolSolutions'
Warning: Unknown parameter: 'PoolSearchMode'

Furthermore, after solving the problem I keep receiving the optimal solution. I'm setting something incorrectly?. I'm attaching my model to this thread.

Best Regards,
BAC
BAC_MIQP_07_04_17.lp

Michael Winkler

unread,
Jul 4, 2017, 9:44:26 PM7/4/17
to Gurobi Optimization
Hi Bernardo,

currently our MATLAB API does not support the solution pool. You could try another API, e.g., python.

Best,
Michael

Bernardo Aceituno

unread,
Jul 5, 2017, 12:26:40 AM7/5/17
to Gurobi Optimization
Excuse me, I just noticed I've been using Gurobi 6.0.5 with MATLAB. The problem is likely caused because of this.

Thanks
Reply all
Reply to author
Forward
0 new messages