Hi all,
I've been working on genetic algorithms for a while , and I noticed a possible naive implementation in the deap/mutation.py file. More specifically
We calculate this
delta_1 = (x - xl) / (xu - xl)
delta_2 = (xu - x) / (xu - xl)
...
if rand < 0.5:
xy = 1.0 - delta_1 # 1 - delta_1 is delta_2, why xy again?
....
Let me know your thoughts, cheers!