Skip to content

Commit

Permalink
Fix a bug in the example of distributed NSGA-II with dask evaluator
Browse files Browse the repository at this point in the history
  • Loading branch information
ajnebro committed Nov 25, 2024
1 parent 8bfdfe4 commit d0dcaaa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
problem=problem,
population_size=10,
offspring_population_size=10,
mutation=PolynomialMutation(probability=1.0 / problem.number_of_variables, distribution_index=20),
mutation=PolynomialMutation(probability=1.0 / problem.number_of_variables(), distribution_index=20),
crossover=SBXCrossover(probability=1.0, distribution_index=20),
population_evaluator=DaskEvaluator(),
termination_criterion=StoppingByEvaluations(max_evaluations=max_evaluations),
Expand Down

0 comments on commit d0dcaaa

Please sign in to comment.