Closed zaikunzhang closed 1 year ago
See here for an example:
https://github.com/libprima/prima/blob/main/matlab/tests/private/tough.m
I have implemented the tough test and use https://github.com/blockwise-direct-search/bds/blob/main/src/private/eval_fun.m to avoid evaluation error.
For each CUTEst problem, define a new function by contaminating its objective function value as follows.
The
random_seed
should be defined by the problem (p
), the index of the current random test (ir
), and the current date, e.g.,See https://github.com/libprima/prima/blob/01da4439e19f3b7e4da85507c4d477139775f9cb/matlab/tests/private/isequiv.m#L364 for a more concrete example.
Test
bds
on these contaminated problems on GitHub Actions automatically every day, and make sure thatbds
does not crash.If you cannot understand this, ask Cunxin @OptHuang and/or Tom @ragonneau to help.