Skip to content

Commit 76d5348

Browse files
committed
250803.064556.CST [skip ci] try debugging profile_npt
1 parent 3d88e5c commit 76d5348

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.github/workflows/profile_npt.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,12 @@ jobs:
2828
matrix:
2929
os: [ubuntu-latest]
3030
matlab: [latest]
31-
dim: [small, big, large, all]
32-
npt: [n+2, n+6, 2*n, 2*n+2, 3*n, 4*n, n*sqrt(n), 0.25*n*n, 0.5*(n+1)*(n+2)]
33-
solver: [newuoa, bobyqa, lincoa]
31+
#dim: [small, big, large, all]
32+
#npt: [n+2, n+6, 2*n, 2*n+2, 3*n, 4*n, n*sqrt(n), 0.25*n*n, 0.5*(n+1)*(n+2)]
33+
#solver: [newuoa, bobyqa, lincoa]
34+
dim: [small, all]
35+
npt: [4*n, 0.5*(n+1)*(n+2)]
36+
solver: [bobyqa]
3437
competitor: [classical, default]
3538
exclude:
3639
- dim: large
@@ -137,6 +140,13 @@ jobs:
137140
cache: true
138141
products: Optimization_Toolbox Parallel_Computing_Toolbox
139142

143+
- name: Revise postprima.m
144+
run: |
145+
# The following modification is to show x, fx, funx, etc when the error InvalidFX occurs.
146+
cd matlab/interfaces/private
147+
sed -i "s|error(sprintf('%s:InvalidFx', invoker)|x, fx, funx, bobyqa_prec, cobyqa_prec\nerror(sprintf('%s:InvalidFx', invoker)|" postprima.m
148+
cat postprima.m
149+
140150
- name: Conduct the test
141151
uses: matlab-actions/[email protected]
142152
with:

0 commit comments

Comments
 (0)