Hi, I was trying to understand the workings of parameter n_parents, but it seems like it isn't used later in the code. The only time sort_and_select_parents is called, it's given the whole population to choose from, not our selected number of parents. Is that supposed to be this way ?
Thanks already !
In nsga.py, NSGAII.tell()
# Select best n_pop individuals from combined population
Thanks already !
In nsga.py, NSGAII.tell()
# Select best n_pop individuals from combined population
parents_population, parents_fitness = self.sort_and_select_parents(
combined_population, combined_fitness, self.n_pop
)
