Question: 1 - Please Solve the TSP below by using Python ( pyomo framework and suitable solver ) Challenge Problem - Traveling Salesman Problem ( TSP

1- Please Solve the TSP below by using Python (pyomo framework and suitable solver)
Challenge Problem - Traveling Salesman Problem (TSP)
Joe State lives in Gary, Indiana. He owns insurance agencies in Gary, Fort Wayne, Evansville, Terre Haute, and South Bend. Each December, he visits each of his insurance agencies. The distance between each agency (in miles) is given in an excel file (as below). What order of visiting his agencies will minimize the total distance traveled?
Suppose the TSP consists of cities 1,2,3,...,N
\table[[,City1,city2,City 3,City44,city 6],[City1,0,132,217,164,58],[city2,132,0,290,201,79],[city 3,217,290,0,113,303],[City 4,164,201,113,0,196],[city5,58,79,303,196,0]]
1 - Please Solve the TSP below by using Python (

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!