Skip to content

Commit a5a8d6e

Browse files
committed
Tweak t_most_3b_1_1_2 to pass with MATLAB R2026a w/Opt Tbx (HiGHS 1.11.0).
1 parent c3690c0 commit a5a8d6e

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

CHANGES.md

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

8+
#### 4/28/26
9+
- Tweak test `t_most_3b_1_1_2()` to avoid spurious failure with MATLAB
10+
R2026a with Optimization Toolbox (HiGHS 1.11.0).
11+
812
#### 2/16/26
913
- Allow absolute paths for file inputs to `loadgenericdata()` and the
1014
functions that call it, e.g. `addstorage()`, `addwind()`, `getprofiles()`,

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.2-dev', ...
2828
'Release', '', ...
29-
'Date', '16-Feb-2026' );
29+
'Date', '28-Apr-2026' );
3030
if nargout > 0
3131
if nargin > 0
3232
rv = v;

lib/t/t_most_3b_1_1_2.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ function t_most_3b_1_1_2(quiet)
116116
end
117117

118118
t = 'gen : base';
119-
t_is(r.flow(1,1,1).mpc.gen(:,1:MU_PMIN), s.rdc.base.gen(:,1:MU_PMIN), 3, t);
119+
t_is(r.flow(1,1,1).mpc.gen(:,1:MU_PMIN), s.rdc.base.gen(:,1:MU_PMIN), 2.99, t);
120120
t = 'gen : cont ';
121121
for k = 1:nc
122122
t_is(r.flow(1,1,k+1).mpc.gen(:,1:MU_PMIN), s.rdc.cont(k).gen(:,1:MU_PMIN), 3, sprintf('%s %d', t, k));

0 commit comments

Comments
 (0)