G E N E T I C - A L G O R I T H M This is a map of 7 cities (A, B, C, D, E, F, and G) that are connected with each other via different paths. Your job is to visit every city just once covering the minimum distance possible. You have to find the optimal combination of cities using a Genetic Algorithm. You can start at any point and end at any point but keep in mind that every city must be visited. Encode the problem and create an initial population of 4 different chromosomes. Using an appropriate fitness function, perform natural selection to choose the 2 fittest chromosomes. Perform single-point crossover from the 3rd index of your selected chromosomes to get 2 offspring. Are they eligible as a solution? If not, explain with reason.
G E N E T I C - A L G O R I T H M This is a map of 7 cities (A, B, C, D, E, F, and G) that are connected with each other via different paths. Your job is to visit every city just once covering the minimum distance possible. You have to find the optimal combination of cities using a Genetic Algorithm. You can start at any point and end at any point but keep in mind that every city must be visited. Encode the problem and create an initial population of 4 different chromosomes. Using an appropriate fitness function, perform natural selection to choose the 2 fittest chromosomes. Perform single-point crossover from the 3rd index of your selected chromosomes to get 2 offspring. Are they eligible as a solution? If not, explain with reason.
Fundamentals of Information Systems
8th Edition
ISBN:9781305082168
Author:Ralph Stair, George Reynolds
Publisher:Ralph Stair, George Reynolds
Chapter7: Knowledge Management And Specialized Information Systems
Section: Chapter Questions
Problem 19SAT
Related questions
Question
G E N E T I C - A L G O R I T H M
This is a map of 7 cities (A, B, C, D, E, F, and G) that are connected with each other via different paths. Your job is to visit every city just once covering the minimum distance possible. You have to find the optimal combination of cities using a Genetic
- Encode the problem and create an initial population of 4 different chromosomes.
- Using an appropriate fitness function, perform natural selection to choose the 2 fittest chromosomes.
- Perform single-point crossover from the 3rd index of your selected chromosomes to get 2 offspring. Are they eligible as a solution? If not, explain with reason.
- Would the usual method of mutation work here? Explain your opinion.
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 3 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Fundamentals of Information Systems
Computer Science
ISBN:
9781305082168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Fundamentals of Information Systems
Computer Science
ISBN:
9781305082168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning