Skip to content

Commit 1306536

Browse files
committed
Fix Gurobi 10 test failure.
1 parent 503b0bd commit 1306536

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/t/t_most_uc.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,10 @@ function t_most_uc(quiet, create_plots, create_pdfs, savedir)
9595
end
9696
if have_feature('gurobi')
9797
%mpopt = mpoption(mpopt, 'gurobi.method', -1); %% automatic
98-
mpopt = mpoption(mpopt, 'gurobi.method', 0); %% primal simplex
99-
%mpopt = mpoption(mpopt, 'gurobi.method', 1); %% dual simplex
98+
%mpopt = mpoption(mpopt, 'gurobi.method', 0); %% primal simplex
99+
mpopt = mpoption(mpopt, 'gurobi.method', 1); %% dual simplex
100100
%mpopt = mpoption(mpopt, 'gurobi.method', 2); %% barrier
101-
mpopt = mpoption(mpopt, 'gurobi.threads', 2);
101+
mpopt = mpoption(mpopt, 'gurobi.threads', 4);
102102
mpopt = mpoption(mpopt, 'gurobi.opts.MIPGap', 0);
103103
mpopt = mpoption(mpopt, 'gurobi.opts.MIPGapAbs', 0);
104104
end

0 commit comments

Comments
 (0)