Clear genetic algorithm cache after each iteration