5. The Travelling Salesman Problem Flashcards

1
Q

Define the term tour

A

A walk which visits every vertex and then returns to start vertex

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the two variations of the travelling salesman problem?

A
  1. Classical

2. Practical

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the difference between the classical and practical problem?

A

The classical problem requires the vertices to be visited exactly once, but the practical problems requires each vertex to be visited at least once

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does the triangle inequality state?

A

longest side ≤ sum of two shorter sides

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How do you find the upper bound for the practical problem?

A

Using Prim’s or Kruskal’s algorithm to find the MST

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How is the initial upper bound found?

A

Finding weight of MST and doubling it

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How do you improve the initial upper bound?

A

Look for shortcuts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which is the better upper bound solution: the lowest or the highest value?

A

Lowest - reduces interval in which optimal solution is contained

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a RMST (Residual Minimum Spanning Tree)?

A

The MST for resulting network after removing a vertex

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How do you find the lower bound for the classical problem?

A

Using the RMST method

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the steps to the RMST method?

A
  1. Remove each vertex in turn, together with its arcs
  2. Find the RMST and its length
  3. Add the cost of deleting the vertex to the RMST by the two shortest, distinct arcs and note the totals
  4. The greatest of the totals is used for the lower bound
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is are the two scenarios for when the optimal solution is found?

A
  1. A Hamiltonian cycle for the lower bound

2. The lower bound is the same as the upper bound

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the nearest neighbour algorithm used for?

A

Finding the upper bound

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are the steps to the nearest neighbour algorithm?

A
  1. Select each vertex in turn as the starting point
  2. Go to the nearest vertex that has not yet been visited
  3. Repeat step 2 until all vertices have been visited and then return to the start vertex using the shortest route
  4. Once all vertices have been used as the starting vertex, select the tour with the smallest length as the upper bound
How well did you know this?
1
Not at all
2
3
4
5
Perfectly