Decision 1 Unit 6 Flashcards

1
Q

What is the Travelling Salesperson used for?

A

When all nodes need to be visited once and start/finish at the same node.

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

What is the Nearest Neighbour algorithm?

A

Choose a starting node and choose the least weight arc to the next unused node. Carry on until all nodes have been used then go straight to the end node.

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

How to find the upper bound?

A

Use the Nearest Neighbour algorithm. The lower the upper bound the better.

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

How to find the lower bound?

A

Choose a special node and remove it.
Make a minimum spanning tree using Primm’s or Kruskal’s from the remaining arcs.
Then add the special node back in by finding the two lowest weights and add them in.

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

What is the tour and improvement algorithm?

A

If the 1st and 3rd nodes, and 2nd and 4th nodes connect with a lower weight than 1st and 2nd, and 3rd and 4th then swap them round.

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