Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manual termination #15

Open
lindonroberts opened this issue May 5, 2021 · 1 comment
Open

Manual termination #15

lindonroberts opened this issue May 5, 2021 · 1 comment
Assignees

Comments

@lindonroberts
Copy link
Collaborator

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 lindonroberts self-assigned this May 5, 2021
@jeancroy
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants