Introduction - If you have any usage issues, please Google them yourself
Genetic algorithm to solve the knapsack problem and the traveling salesman problem. The test data has been written to the java code. The parameters of the genetic algorithm can be modified.