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
icon
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 Algorithm. You can start at any point and end at any point but keep in mind that every city must be visited.

  1. Encode the problem and create an initial population of 4 different chromosomes.
  2. Using an appropriate fitness function, perform natural selection to choose the 2 fittest chromosomes. 
  3. 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.
  4. Would the usual method of mutation work here? Explain your opinion.
15
10
A
B
14
3
7
8
D
G
E
9.
11
17
3.
2.
Transcribed Image Text:15 10 A B 14 3 7 8 D G E 9. 11 17 3. 2.
Expert Solution
steps

Step by step

Solved in 2 steps with 3 images

Blurred answer
Knowledge Booster
Single source shortest path
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
Fundamentals of Information Systems
Computer Science
ISBN:
9781305082168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning