solves the Knapsack problem
contains 0s and 1s.
0 means the object i is not included in the knapsack
uses the proportional roulette wheel selection
randomly choose the gene from parent0 or parent1
randomly flip the bit ( 1->0 and 0->1 )
solves the Knapsack problem
contains 0s and 1s.
0 means the object i is not included in the knapsack
uses the proportional roulette wheel selection
randomly choose the gene from parent0 or parent1
randomly flip the bit ( 1->0 and 0->1 )