Skip to content

Commit

Permalink
Autmatic parallelize when CMAES gets pop_size
Browse files Browse the repository at this point in the history
  • Loading branch information
blankjul committed Dec 13, 2022
1 parent bd77525 commit 6e1b743
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pymoo/algorithms/soo/nonconvex/cmaes.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,7 @@ def __init__(self,
"""
if pop_size is not None:
kwargs["parallelize"] = True
kwargs["popsize"] = pop_size

super().__init__(x0=x0, output=output, **kwargs)
Expand Down

0 comments on commit 6e1b743

Please sign in to comment.