Skip to content

Commit 6e1b743

Browse files
committed
Autmatic parallelize when CMAES gets pop_size
1 parent bd77525 commit 6e1b743

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pymoo/algorithms/soo/nonconvex/cmaes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,7 @@ def __init__(self,
357357
358358
"""
359359
if pop_size is not None:
360+
kwargs["parallelize"] = True
360361
kwargs["popsize"] = pop_size
361362

362363
super().__init__(x0=x0, output=output, **kwargs)

0 commit comments

Comments
 (0)