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

Add maximum number of function evaluation ? #44

Open
jonathanBieler opened this issue Dec 9, 2019 · 1 comment · May be fixed by #49
Open

Add maximum number of function evaluation ? #44

jonathanBieler opened this issue Dec 9, 2019 · 1 comment · May be fixed by #49

Comments

@jonathanBieler
Copy link

Sometimes evaluating the error function is quite expensive, so it's good if one can provide a maximum number of function evaluation as an option to minimise. This would also allow to benchmark the method for a fixed function call budget.

@dpsanders I can try to do a PR if you give me some pointers.

@dpsanders
Copy link
Member

This would be great.

You can try adding a keyword argument to minimise here
Then keep track of the number of evaluations and exit the loop when the maximum number has been reached.

@jonathanBieler jonathanBieler linked a pull request Dec 17, 2019 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants