Hello Marc-André,
I came up with the same question as Randy and found this thread.
I'm using selNSGA2 and trying to understand how DEAP actually uses the magnitude of weights to vary the importance of each objective.
I was thinking NSGA2 in DEAP uses the value of weights for the crowding distance calculation, as it is implied in the document below.
An example of where the weights can be useful is in the crowding distance sort made in the NSGA-II selection algorithm.
After reading the source code of selNSGA2 in DEAP, I found that the weights and weighted fitness values are not used in assignCrowdingDist as you pointed out in 2015.
The weighted values of fitness seem to be used in the dominates function in the Fitness class.
However, the magnitude of weights does not seem to have anything to do with results because only values weighted by the same weight are compared in the function.
Could you please explain why the crowding distance calculation does not use weights?
I would also appreciate it if you could give brief description of how the NSGA2 implementation in DEAP uses the magnitude of weights (not a sign)?
Best Regards,
Susumu