Relative Content

Tag Archive for javamathematical-optimizationgenetic-algorithmgenetics

abnormal behaviour with preserving the elitism

I hope you are doing well.
I am writing a simple genetic algorithm in Java. However, I am encountering an issue with elitism. When I try to preserve the best individuals, I observe abnormal behavior in the results. Specifically, after a few iterations, the fitness values start from a higher value than the one preserved from the previous generation.

upnormal behaviour with preserving the elitism

I hope you are doing well.
I am writing a simple genetic algorithm in Java. However, I am encountering an issue with elitism. When I try to preserve the best individuals, I observe abnormal behavior in the results. Specifically, after a few iterations, the fitness values start from a higher value than the one preserved from the previous generation.