The input to the solver (KnapSackGA.java) is a file called init.txt which contains in each line the followings:
- number of items (e.g. 7)
- value of each item (space separated) (e.g. 1 2 3 4 5 6 7)
- weight of each item (space separated) (e.g. 14 11 10 13 12 9 8)
- knapsack maximum size (e.g. 70)
- population size (e.g. 50)
- number of generations (e.g. 100)
- crossover probability (e.g. 0.6)
- mutation probability (e.g. 0.015)