Photo AI

Last Updated Sep 27, 2025

Upper & Lower Bounds for the Travelling Salesman Problem Simplified Revision Notes

Revision notes with simplified explanations to understand Upper & Lower Bounds for the Travelling Salesman Problem quickly and effectively.

user avatar
user avatar
user avatar
user avatar
user avatar

319+ students studying

10.6.2 Upper & Lower Bounds for the Travelling Salesman Problem

When solving the Travelling Salesman Problem (TSP), it is often useful to estimate the solution using upper and lower bounds. These bounds can help determine how close a given solution is to the optimal solution. The bounds are often derived using minimum spanning tree (MST) methods and techniques for handling incomplete networks.

Upper and Lower Bounds for TSP

Lower Bound: Minimum Spanning Tree Method

The lower bound represents the smallest possible distance for a valid TSP route, though it may not always be achievable.

Steps to Calculate the Lower Bound:

  1. Convert to a Complete Network
  2. Construct a Minimum Spanning Tree (MST)
  3. Add Two Smallest Edge Weights
  4. Calculate the Lower Bound

  1. Convert to a Complete Network:
  • If the graph is incomplete, calculate the shortest paths between all pairs of vertices to form a complete network. Replace missing edges with these shortest distances.

  1. Construct a Minimum Spanning Tree (MST):
  • Use an algorithm such as Prim's or Kruskal's to construct the MST for the graph.
  • The MST represents the shortest total distance required to connect all vertices without forming a cycle.

  1. Add Two Smallest Edge Weights:
  • Identify the two smallest edges connected to the starting vertex.
  • Add these weights to the total weight of the MST.

  1. Calculate the Lower Bound:
Lower Bound=Weight of MST+Two Smallest Edge Weights\text{Lower Bound} = \text{Weight of MST} + \text{Two Smallest Edge Weights}

Upper Bound: Nearest Neighbour Algorithm

The upper bound represents an achievable (though not necessarily optimal) route length.

Steps to Calculate the Upper Bound:

  1. Use the Nearest Neighbour Algorithm
  2. Calculate the Total Distance
  3. Improve the Upper Bound

  1. Use the Nearest Neighbour Algorithm:
  • Start at a given vertex.
  • Move to the nearest unvisited vertex at each step.
  • Repeat until all vertices are visited, then return to the starting vertex.

  1. Calculate the Total Distance:
  • Sum the weights of the edges in the route to find the upper bound.

  1. Improve the Upper Bound:
  • Examine the route and use shortcuts to replace sections of the path with shorter alternatives, ensuring the route remains a Hamiltonian cycle.

Worked Example

infoNote

Question: Find the upper and lower bounds for the TSP in the graph below:

ABCD
A101520
B103525
C153530
D202530

Step 1: Lower Bound Using MST

Construct the MST:

Use Prim's Algorithm to find the MST for the graph:

  • Start at AA, connect ABA \to B (10)
  • From BB, connect BDB \to D (25)
  • From D, connect DCD \to C (30) MST Weight:
10+25+30=:highlight[65]10 + 25 + 30 = :highlight[65]

Add Two Smallest Edges from AA:

The smallest edges connected to AA are AB=:highlight[10]A \to B = :highlight[10] and AC=:highlight[15]A \to C = :highlight[15]

Lower Bound:

65+10+15=:highlight[90]65 + 10 + 15 = :highlight[90]

Step 2: Upper Bound Using Nearest Neighbour

Nearest Neighbour Algorithm:

  • Start at AA. Nearest vertex: BB (10)
  • From BB, move to DD (25)
  • From DD, move to CC (30)
  • Return to AA (15) Route: ABDCAA \to B \to D \to C \to A

Upper Bound:

10+25+30+15=:highlight[80]10 + 25 + 30 + 15 = :highlight[80]


Improvement:

Review the route for possible shortcuts. In this case, the upper bound remains at 80, as no shorter Hamiltonian cycle can be formed.

Note Summary

infoNote

Common Mistakes

  1. Incorrect MST Calculation: Errors in constructing the MST, such as including cycles or missing edges, can lead to incorrect lower bounds.

  2. Forgetting to Add Two Smallest Edges: Omitting the additional weights needed for the lower bound calculation results in an underestimate.

  3. Ignoring Shortcuts for Upper Bounds: Failing to refine the initial upper bound can leave suboptimal solutions.

  4. Misinterpretation of Incomplete Graphs: Not converting the graph into a complete network by finding shortest paths between disconnected vertices.

  5. Confusion Between Bounds: Mixing up the roles of upper and lower bounds when interpreting results.

infoNote

Key Formulas/Theorems

  1. Lower Bound Formula:
Lower Bound=Weight of MST+Two Smallest Edge Weights from the Starting Vertex\text{Lower Bound} = \text{Weight of MST} + \text{Two Smallest Edge Weights from the Starting Vertex}
  1. Upper Bound Calculation:
Upper Bound=Total Weight of Hamiltonian Cycle (via Nearest Neighbour or Shortcuts)\text{Upper Bound} = \text{Total Weight of Hamiltonian Cycle (via Nearest Neighbour or Shortcuts)}
  1. Minimum Spanning Tree (MST): The MST is the tree connecting all vertices with the smallest total edge weight and no cycles.

  2. Triangle Inequality:

Weight of (AC)Weight of (AB)+Weight of (BC)\text{Weight of } (A \to C) \leq \text{Weight of } (A \to B) + \text{Weight of } (B \to C)
Books

Only available for registered users.

Sign up now to view the full note, or log in if you already have an account!

500K+ Students Use These Powerful Tools to Master Upper & Lower Bounds for the Travelling Salesman Problem

Enhance your understanding with flashcards, quizzes, and exams—designed to help you grasp key concepts, reinforce learning, and master any topic with confidence!

20 flashcards

Flashcards on Upper & Lower Bounds for the Travelling Salesman Problem

Revise key concepts with interactive flashcards.

Try Further Maths Decision Maths 1 Flashcards

2 quizzes

Quizzes on Upper & Lower Bounds for the Travelling Salesman Problem

Test your knowledge with fun and engaging quizzes.

Try Further Maths Decision Maths 1 Quizzes

29 questions

Exam questions on Upper & Lower Bounds for the Travelling Salesman Problem

Boost your confidence with real exam questions.

Try Further Maths Decision Maths 1 Questions

27 exams created

Exam Builder on Upper & Lower Bounds for the Travelling Salesman Problem

Create custom exams across topics for better practice!

Try Further Maths Decision Maths 1 exam builder

50 papers

Past Papers on Upper & Lower Bounds for the Travelling Salesman Problem

Practice past papers to reinforce exam experience.

Try Further Maths Decision Maths 1 Past Papers

Other Revision Notes related to Upper & Lower Bounds for the Travelling Salesman Problem you should explore

Discover More Revision Notes Related to Upper & Lower Bounds for the Travelling Salesman Problem to Deepen Your Understanding and Improve Your Mastery

96%

114 rated

The Travelling Salesman Problem

The Travelling Salesman Problem

user avatar
user avatar
user avatar
user avatar
user avatar

361+ studying

199KViews
Load more notes

Join 500,000+ A-Level students using SimpleStudy...

Join Thousands of A-Level Students Using SimpleStudy to Learn Smarter, Stay Organized, and Boost Their Grades with Confidence!

97% of Students

Report Improved Results

98% of Students

Recommend to friends

500,000+

Students Supported

50 Million+

Questions answered