Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. (50 points) The Traveling-salesperson problem is stated as follows. Given a set of N citics, find a tour that minimizes the total distance traveled

image text in transcribed
2. (50 points) The Traveling-salesperson problem is stated as follows. Given a set of N citics, find a tour that minimizes the total distance traveled while visiting all the cities and returning to the point of origin. In this assignemnt you should use the locations of the cities in the file: cobweb.cs.uga.edu/"khaled/ECcourse/TSPDATA.txt and use Euclidean distance. The file has the X and Y coordinates 127 cities. Use an evolutionary algorithm to solve the traveling salesperson problem. You may download and use an existing EA or implement your own. You should try to find the shortest tour among the cities. The shortest known tour has length 118282. Turn in a printout of your code and your solutions. If you use an existing package, you should only turn in a printout of the parts you modify/introduce, such as the fitness function. Note: A large collection of GA and EC packages can be downloaded from the web. Regarding the N-queens problem, as you will use different machines in different environments, getting a solution for a higher value of N will not be a critical factor in evaluation. However, using intelligent operators and/or strategies will earn more credit. As this is the first programming assignment, a program that works correctly and solves the problem for some reasonable value of N will earn at least 80% of the grade regardless of optimality. You can use the same program (with some modifications) to solve both the N-queens and the Traveling-salesperson problems. The only part that needs to be different is the fitness function. On the other hand, if you choose to write two different programs you are welcomed to do so as long as you finish on time, You should also include a brief description of your problem formulation (representation, parenthood selection, mutation, crossover, survival selection) for each part

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Readings In Database Systems

Authors: Michael Stonebraker

2nd Edition

0934613656, 9780934613651

More Books

Students also viewed these Databases questions

Question

Are we managing our human capital as a strategic asset?

Answered: 1 week ago

Question

Which personal relationships influenced you the most?

Answered: 1 week ago