The Traveling Salesman Problem Approximation
The Traveling Salesman Problem Approximation
Approximation
Traveling Salesman Problem
• Traveling Salesman Problem (TSP): Given a
complete graph with nonnegative edge costs,
Find a minimum cost cycle visiting every vertex
exactly once.
a+b≥c b
Optimal TSP sol-n A tree obtained from the tour Optimal MST sol-n
(*)
Cost (Opt. TSP sol-n) ≥ Cost (of this tree) ≥ Cost (Opt. MST sol-n)
What is the cost of the tour
compared to the cost of MST?
5
6
3
1 4
2
Triangle inequality
cost c(e)
dashed arcs e
2 c(e)
arcs e
TSP - e MST
2 cost(MST) 2 cost(optimal TSP)
Analysis
• This is a 2 approximation algorithm
• MST < Euler Cycle = 2 * MST <= 2.0 TSP