Introduction - If you have any usage issues, please Google them yourself
Genetic algorithm, into a seven sub-functions: respectively, encoding, decoding, selection, crossover and mutation, the objective function and the total calls. There are detailed notes.