GeneticAlgorithmPython icon indicating copy to clipboard operation
GeneticAlgorithmPython copied to clipboard

Caching of Fitness Values for Elites/Kept Parents

Open kingjin94 opened this issue 1 year ago • 1 comments

Hi there,

Thank you for your great toolbox!

I have a question regarding caching of fitness values in pygad. It seems that any elite or kept parents fitness function will always be just retrieved. Is there a way to force recalculation? In my case, the fitness is non-deterministic, and I have local search capabilities, i.e., Lamarkian evolution, that would be especially useful for the promising elites or selected parents to further improve their fitness if they somehow could be evaluated again.

kingjin94 avatar Apr 23 '24 11:04 kingjin94