GeneticAlgorithmPython icon indicating copy to clipboard operation
GeneticAlgorithmPython copied to clipboard

`pareto_fronts` is from previous generation

Open kaurao opened this issue 1 year ago • 1 comments

The ga_instance.pareto_fronts available after ga_instance.run() is calculated on ga_instance.previous_generation_fitness, it should be updated to reflect ga_instance.last_generation_fitness.

kaurao avatar Feb 16 '24 22:02 kaurao

Thank you! This issue is resolved in a recent commit. Please update to PyGAD 3.3.1.

ahmedfgad avatar Feb 17 '24 21:02 ahmedfgad