|
28 | 28 | matrix: |
29 | 29 | os: [ubuntu-latest] |
30 | 30 | 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] |
34 | 37 | competitor: [classical, default] |
35 | 38 | exclude: |
36 | 39 | - dim: large |
@@ -137,6 +140,13 @@ jobs: |
137 | 140 | cache: true |
138 | 141 | products: Optimization_Toolbox Parallel_Computing_Toolbox |
139 | 142 |
|
| 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 | +
|
140 | 150 | - name: Conduct the test |
141 | 151 | uses: matlab-actions/[email protected] |
142 | 152 | with: |
|
0 commit comments