Tutorial Activity 9 - MH 8300 Tutorial Activity 9...

Info icon This preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
MH 8300 Tutorial Activity 9 Travelling Salesman Problem Group Members Name NTU Email ID Marks : /2
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
MH 8300 Tutorial Activity 9 Travelling Salesman Problem Figure 1: TSP graph with cities 1 - 10 City 1 2 3 4 5 6 7 8 9 10 1 0 72 40 72 26 49 39 24 66 45 2 72 0 54 22 47 22 82 54 83 26 3 40 54 0 42 25 36 28 17 34 35 4 72 22 42 0 46 27 71 49 64 30 5 26 47 25 46 0 24 43 11 59 20 6 49 22 36 27 24 0 62 32 68 4 7 39 82 28 71 43 62 0 31 31 60 8 24 54 17 49 11 32 31 0 49 29 9 66 83 34 64 59 68 31 49 0 68 10 45 26 35 30 20 4 60 29 68 0 Table 1: Distance matrix for the cities Question 1. Answer the following questions using the distance matrix for the cities given above. (a) Use nearest neighbour heuristic to determine a TSP tour starting at city 4 . (i) Determine the TSP tour. (ii) Find the length of this tour. (b) Use nearest neighbour heuristic to determine a TSP tour starting at city 6. (i) Determine the TSP tour. (ii) Find the length of this tour.
Image of page 2
Question 2. (a) Find a minimum spanning tree (MST) using Prim’s algorithm. (b) Find the weight of this MST, denoted as W .
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern