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

Create a terminator when optimum has been reached #13

Open
andresliszt opened this issue Feb 4, 2025 · 0 comments
Open

Create a terminator when optimum has been reached #13

andresliszt opened this issue Feb 4, 2025 · 0 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@andresliszt
Copy link
Owner

andresliszt commented Feb 4, 2025

When optimum has reached there is no need to continue iterating.

This is an important feature, there is a loop in the case where:

  1. Current population has reached the maximum number of individuals allowed, typically this is the case for binary problems with a low number of variables.
  2. New offsprings coming from evolve process are the ones that were discarded for infeasibility and since the evaluator happens after the new offsprings are generated, the algorithm.next never stops until it reaches the max iteration repeating the same evaluations always
@andresliszt andresliszt added enhancement New feature or request bug Something isn't working labels Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant