Turn the debug info on and off to see how it works.
Radically change population size, to 1 and to 10000. What happens? What is the best value?
Radically change mutation rate, to 0 and to 1. What happens? What is the best value?
Radically change POWERBASE, to 1 and to 1000. What happens? What is the best value?
Instead of always doing crossover, have a probability of crossover.
Make 2 children at a time.
If no crossover, we get clones of the 2 parents.
Edit the code and test it.
Make probability of mutation start high and decline.
Same with crossover.
Does this help?
Change to a much bigger problem.
e.g. A large paragraph of text.
Can you still get the GA to solve it?