Skip to content

Commit

Permalink
SBX: Setting prob_exch by default to 1.0
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
blankjul committed Nov 26, 2023
1 parent b14584f commit b08fd61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymoo/operators/crossover/sbx.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit b08fd61

Please sign in to comment.