Skip to content

Commit

Permalink
230513.010919.CST update checktest and TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
zaikunzhang committed May 12, 2023
1 parent 879d01a commit 6a67745
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion fortran/tests/checktest
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ ERRORS="$(grep -i "error\|fail\|violation\|exception\|invalid\|bad\|overflow\|se
| grep -vi "BAD_TRSTEP" \
| grep -vi "moderr\|errorid\|errormsg\|errstop" \
| grep -vi "berr\|erres" \
| grep -vi "constraint\ violation" \
| grep -vi "aint\ violation" \
| grep -vi "Warning: TRSTEP: Assertion failed: D is initialized." \
| grep -vi "Warning: UOBYQA: Invalid\|Warning: NEWUOA: Invalid\|Warning: BOBYQA: Invalid\|Warning: LINCOA: Invalid\|Warning: COBYLA: Invalid" \
| grep -vi "maybe due to overflow, or the input is not an integer" \
Expand Down
7 changes: 7 additions & 0 deletions todo/TODO
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,10 @@ predicted reduction by the model for the step that leads to the corresponding fu
ghist: an array of size N-by-NF, each column being the model gradient at the trust region center
when the corresponding function evaluation is invoked
jachist (only for COBYLA): similar to ghist, but for the Jacobian matrix of the nonlinear constraints.
N.B.: Similar to fhist, we always output statehist, radhist, and rathist, since they are 1D arrays.
In addition, we may use statehist and radhist to improve fmsg, invoking it uniformly by
```
call fmsg(solver, statehist(nf), iprint, nf, radhist(nf), f, x, [optional inputs])
```
To this end, we will need to modify fmsg so that it can translate the state index (0, 1, 2, 3) to
the state name as mentioned above.

0 comments on commit 6a67745

Please sign in to comment.