Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider a GA is used to solve the traveling salesman problem ( TSP ) aiming to find the best route for visiting the cities 1
Consider a GA is used to solve the traveling salesman problem TSP aiming to find the best route for visiting the cities and starting from the home city and returning back at the end to city The distances between the cities and the initial population are as follows:
tableDistancesCity
tableThe initial population,ndividual I,ndividual ndividual ndividual
Determine the best route according to the following: i Sort the individuals from the best fitness best route to the worst one. ii Select the I"t parent from best and the worst individuals, and the parent from the remaining two individuals. iii Generate a new offspring using twopoint erossover between and for both of the two pairs. iv Calculate the fitness of the new generation. v Select the new population using the weak parent replacement technique.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started