(Solved) Genetic Algorithm

computer science

Description

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. 


Related Questions in computer science category


Disclaimer
The ready solutions purchased from Library are already used solutions. Please do not submit them directly as it may lead to plagiarism. Once paid, the solution file download link will be sent to your provided email. Please either use them for learning purpose or re-write them in your own language. In case if you haven't get the email, do let us know via chat support.