From b08fd615f7d38634db9b5bc6cce041dc0c701e06 Mon Sep 17 00:00:00 2001 From: Julian Blank Date: Sat, 25 Nov 2023 16:50:29 -0800 Subject: [PATCH] SBX: Setting prob_exch by default to 1.0 I have noticed some performance issues by being more greedy and setting this to 0.5. Thus, I have decided to change the default back to 1.0 as it is implemented in the original NSGA2. (this leads to more exploration now) --- pymoo/operators/crossover/sbx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymoo/operators/crossover/sbx.py b/pymoo/operators/crossover/sbx.py index 41a1c025a..7be256113 100644 --- a/pymoo/operators/crossover/sbx.py +++ b/pymoo/operators/crossover/sbx.py @@ -89,7 +89,7 @@ class SimulatedBinaryCrossover(Crossover): def __init__(self, prob_var=0.5, eta=15, - prob_exch=0.5, + prob_exch=1.0, prob_bin=0.5, n_offsprings=2, **kwargs):