Skip to content

Commit 2411957

Browse files
committed
Include HiGHS solver, if available in unit commitment tests.
1 parent c732b76 commit 2411957

File tree

5 files changed

+13
-10
lines changed

5 files changed

+13
-10
lines changed

CHANGES.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ Change history for MOST
55
since 1.3
66
---------
77

8+
#### 5/23/25
9+
- Include HiGHS solver, if available in unit commitment tests.
10+
811
#### 3/19/25
912
- Fix issue caused by tiny non-zero values for commitment variables.
1013
Don't count on MP-Opt-Model's `miqps_<solver>()` functions to round

lib/mostver.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
v = struct( 'Name', 'MOST', ...
2727
'Version', '1.3.1-dev', ...
2828
'Release', '', ...
29-
'Date', '19-Mar-2025' );
29+
'Date', '23-May-2025' );
3030
if nargout > 0
3131
if nargin > 0
3232
rv = v;

lib/t/t_most_spuc.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ function t_most_spuc(quiet, create_plots, create_pdfs, savedir)
88
% E.g. t_most_spuc(0, 1, 1, '~/Downloads/spuc_plots')
99

1010
% MOST
11-
% Copyright (c) 2015-2024, Power Systems Engineering Research Center (PSERC)
11+
% Copyright (c) 2015-2025, Power Systems Engineering Research Center (PSERC)
1212
% by Ray Zimmerman, PSERC Cornell
1313
%
1414
% This file is part of MOST.
@@ -28,8 +28,8 @@ function t_most_spuc(quiet, create_plots, create_pdfs, savedir)
2828
end
2929
end
3030

31-
solvers = {'CPLEX', 'GLPK', 'GUROBI', 'MOSEK', 'OT'};
32-
fcn = {'cplex', 'glpk', 'gurobi', 'mosek', 'intlinprog'};
31+
solvers = {'CPLEX', 'GLPK', 'GUROBI', 'MOSEK', 'OT', 'HIGHS'};
32+
fcn = {'cplex', 'glpk', 'gurobi', 'mosek', 'intlinprog', 'highs'};
3333
% solvers = {'OT'};
3434
% fcn = {'intlinprog'};
3535
% solvers = {'GUROBI'};

lib/t/t_most_suc.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ function t_most_suc(quiet, create_plots, create_pdfs, savedir)
88
% E.g. t_most_suc(0, 1, 1, '~/Downloads/suc_plots')
99

1010
% MOST
11-
% Copyright (c) 2015-2024, Power Systems Engineering Research Center (PSERC)
11+
% Copyright (c) 2015-2025, Power Systems Engineering Research Center (PSERC)
1212
% by Ray Zimmerman, PSERC Cornell
1313
%
1414
% This file is part of MOST.
@@ -36,8 +36,8 @@ function t_most_suc(quiet, create_plots, create_pdfs, savedir)
3636
pp = 0; %% plot counter
3737
end
3838

39-
solvers = {'CPLEX', 'GLPK', 'GUROBI', 'MOSEK', 'OT'};
40-
fcn = {'cplex', 'glpk', 'gurobi', 'mosek', 'intlinprog'};
39+
solvers = {'CPLEX', 'GLPK', 'GUROBI', 'MOSEK', 'OT', 'HIGHS'};
40+
fcn = {'cplex', 'glpk', 'gurobi', 'mosek', 'intlinprog', 'highs'};
4141
% solvers = {'CPLEX'};
4242
% fcn = {'cplex'};
4343
% solvers = {'OT'};

lib/t/t_most_uc.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ function t_most_uc(quiet, create_plots, create_pdfs, savedir)
88
% E.g. t_most_uc(0, 1, 1, '~/Downloads/uc_plots')
99

1010
% MOST
11-
% Copyright (c) 2015-2024, Power Systems Engineering Research Center (PSERC)
11+
% Copyright (c) 2015-2025, Power Systems Engineering Research Center (PSERC)
1212
% by Ray Zimmerman, PSERC Cornell
1313
%
1414
% This file is part of MOST.
@@ -36,8 +36,8 @@ function t_most_uc(quiet, create_plots, create_pdfs, savedir)
3636
pp = 0; %% plot counter
3737
end
3838

39-
solvers = {'CPLEX', 'GLPK', 'GUROBI', 'MOSEK', 'OT'};
40-
fcn = {'cplex', 'glpk', 'gurobi', 'mosek', 'intlinprog'};
39+
solvers = {'CPLEX', 'GLPK', 'GUROBI', 'MOSEK', 'OT', 'HIGHS'};
40+
fcn = {'cplex', 'glpk', 'gurobi', 'mosek', 'intlinprog', 'highs'};
4141
% solvers = {'OT'};
4242
% fcn = {'intlinprog'};
4343
% solvers = {'GUROBI'};

0 commit comments

Comments
 (0)