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

How to set a maximum number of iterations/evals? #200

Open
joaocandre opened this issue Feb 19, 2019 · 1 comment
Open

How to set a maximum number of iterations/evals? #200

joaocandre opened this issue Feb 19, 2019 · 1 comment

Comments

@joaocandre
Copy link
Contributor

There is probably a straightforward method to do this, but I'm looking through the documentation and I'm not finding the answer - How would I go about limiting the maximum number of iterations or fitness evaluations?

@FloopCZ
Copy link
Contributor

FloopCZ commented Mar 31, 2024

Hi, the CMAParameters class has set_max_fevals and set_max_iter methods.

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