pybobyqa icon indicating copy to clipboard operation
pybobyqa copied to clipboard

Manual termination

Open lindonroberts opened this issue 4 years ago • 0 comments

Implement a custom exception which allows the manual termination of the solver within an objective evaluation.

i.e. If evaluating objfun(x) raises a "TerminationException", then just terminate the solver immediately (returning the best point so far, etc.). Then users can put a "rase TerminationException" into their objective function code to quit for any reason.

lindonroberts avatar May 05 '21 04:05 lindonroberts