Skip to content

Commit

Permalink
Update optimizer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Evolutionary-Intelligence authored Jan 23, 2025
1 parent f62bd97 commit c028620
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pypop7/optimizers/core/optimizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ class Terminations(IntEnum):
optimizer will stop to run immediately.
* FITNESS_THRESHOLD: When the threshold of the *best-so-far* fitness is reached,
the black-box optimizer will stop to run immediately.
* EARLY_STOPPING
* EARLY_STOPPING: When the condition of early stopping is reached,
the black-box optimizer will stop to run immediately.
"""
NO_TERMINATION = 0
MAX_FUNCTION_EVALUATIONS = 1 # maximum of function evaluations
Expand Down

0 comments on commit c028620

Please sign in to comment.