The above question asks for help in optimizing a genetic algorithm. At the moment the algorithm takes too long to stabilize.
I have voted to close the question as "code not yet working".
Note: I have now reopened the question pending the outcome of discussion here, and any other actual movement on the question.
My reasoning for closing it is because the code itself seems to be running fast enough on the computer, and it is running successfully, but, unfortunately it is not following the learning-path that is best. An analogy would be a better way to describe my thinking....
If you are required to produce a program that determines the quickest route to take between two towns, say, Lisbon in Portugal and Berlin in Germany... there are a lot of routes the system could take. There are two types of optimization:
- make the program run faster
- choose a route that is faster
My understanding is that this question falls in to the second type of optimization problem.... while the program runs, fast, and it gets to the right destination, it is unfortunately selecting a bad route. Further, the question is asking for help in adjusting the algorithm to select a better route, and not to make the program run faster.
To my mind, that's a "broken code" problem. The program produces the wrong "route", and the "route" is the actual goal of the program...
Now, to be clear, this is a fine distinction to make... and that's why I am bringing this question to Meta.
Is this code working (and on-topic - and should be reopened)?