Travelling Salesperson Problem Flashcards

1
Q

Tour

A

A walk which visits every vertex at least once and returns to its starting vertex

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

Classical problem

A

Each vertex must be visited exactly once before returning to the start vertex

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

Practical problem

A

Each vertex must be visited at least once before returning to the start vertex

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

When to use edges b and c instead of direct a

A

b + c < a

Arc lengths

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

Table of least distances

A

A distance matrix where paths are included where there isn’t a direct edge

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

MST Upper bounds

A
  1. Find an MST and draw
  2. Double it so completing the cycle is guaranteed
  3. Look for non-included arcs that are shorter than the repeated arcs it could replace
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What problem does MST upper bound work for?

A

The practical problem

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

MST Lower bounds

A
  1. Remove each vertex in turn along with the arcs that connect it
  2. Find a residual minimum spanning tree (RMST)
  3. Add the cost of the shortest 2 distinct arcs that connect the missed vertex to the tree
  4. Use the one with the highest value
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What problem does MST lower bound work for?

A

The classical problem, the practical if it is on a table of least distances

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

How to know if your lower bound is the optimal solution

A

If you have a Hamiltonian cycle or the same as the upper bound

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

Nearest Neighbour Upper Bounds

A
  1. Select each vertex in turn as a starting point
  2. Go to the nearest vertex which has not yet been visited
  3. Repeat the next step until all vertices have been connected and return to the start vertex with the shortest route
  4. Choose the shortest tour
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Nearest Neighbour Upper Bounds workings

A

Very similar to Prim’s algorithm, just choose the shortest distance in the column that is latest to be labelled and then the route back to the start
Then draw your graph

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