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

The run of EA don't stop #50

Open
thuwilliamwyx opened this issue Dec 9, 2024 · 1 comment
Open

The run of EA don't stop #50

thuwilliamwyx opened this issue Dec 9, 2024 · 1 comment

Comments

@thuwilliamwyx
Copy link

from mewpy.optimization import EA

import warnings

warnings.filterwarnings("ignore")

ea = EA(problem, max_generations= 20)
final_pop = ea.run()
I optimized the model using the above codes and found that it doesn't stop after the maximum number of iterations. The result of the 20th iteration has already been printed.

@vmspereira
Copy link
Contributor

vmspereira commented Dec 10, 2024 via email

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