dfols icon indicating copy to clipboard operation
dfols copied to clipboard

Manual termination

Open lindonroberts opened this issue 4 years ago • 1 comments
trafficstars

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

If the objective function decides that, then maybe the objective function could have some report of the progress ?

jeancroy avatar Oct 10 '23 23:10 jeancroy