Open kaurao opened 9 months ago
My guess is the difference is coming from parent_selection_type="tournament_nsga2"
(the details and the figure above) versus parent_selection_type="nsga2"
which seems to work as expected (see the figure below).
tournament_nsga2
and nsga2
are different types of parent selectors for multi-objective optimization using NSGA-II.
tournament_nsga2
applies a tournament between the candidates and parents are selected randomly. This means the solution with the best fitness is not guaranteed to be selected. In contrast, nsga2
always select the best solutions as parents.
Makes sense. Can you please provide referene(s) for tournament_nsga2
I have not come across it before. Thanks!
These are some resources that describes tournament selection for NSGA-II:
You can definitely have more resources.
Hi,
Thanks for PyGAD, it's a great resource. I am trying to use it for an multiobjective optimization task. I have a good idea for what good solutions could be so I am providing them via the
initial_population
argument. However, some of those solutions are bot being used, I think.My set up is as follows.
The image shows the final front 0 as blue dots and the red cross as one of the initial solutions that I provided whiuch apparently "disappeared".
I will appreciate any tips on how to set this up properly using PyGAD, thanks!