Skip to content

Commit

Permalink
Silence another potential intlinprog() warning in the tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
rdzman committed Apr 11, 2024
1 parent f1d989f commit 6a73982
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/mostver.m
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
v = struct( 'Name', 'MOST', ...
'Version', '1.2+', ...
'Release', '', ...
'Date', '04-Apr-2024' );
'Date', '11-Apr-2024' );
if nargout > 0
if nargin > 0
rv = v;
Expand Down
2 changes: 1 addition & 1 deletion lib/t/t_most_30b_1_1_0_uc.m
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function t_most_30b_1_1_0_uc(quiet)
% mpopt = mpoption('verbose', 2, 'out.all', -1);
mpopt = mpoption(mpopt, 'out.bus', 0, 'out.branch', 0, 'out.gen', 2);
mpopt = mpoption(mpopt, 'opf.violation', 5e-7, 'mips.comptol', 5e-8);
if have_feature('intlinprog')
if have_feature('intlinprog') && have_feature('intlinprog', 'vnum') < 24
mpopt = mpoption(mpopt, 'linprog.Algorithm', 'dual-simplex');
mpopt = mpoption(mpopt, 'intlinprog.RootLPAlgorithm', 'dual-simplex');
mpopt = mpoption(mpopt, 'intlinprog.TolCon', 1e-9);
Expand Down

0 comments on commit 6a73982

Please sign in to comment.