To implement the Genetic Algorithm to solve the two
problems listed below.
It will be informative if you display:
1) number of chromosomes/strings in the population,
2) number of generations,
3) fitness used,
4) the probability for the crossover,
5) the probability for the mutation, and
6) stopping criterion in your GUI program.
#1) The Knapsack problem listed below:
• Item: 1 2 3 4 5 6 7
• Benefit: 5 8 3 2 7 9 4
• Weight: 7 8 4 10 4 6 4
• Knapsack holds a maximum of 22 pounds
• To obtain the maximum benefit
#2) The problem of your own choosing.
Write your code in Python language with a GUI interface. Submit
a word file of your well-commented source program, your design and your printed
outputs (or screen shots). Please include your codes in your word file.
Get Free Quote!
310 Experts Online