Lecture Notes for CS 512, Algorithm Design
29 March 2000, The Traveling Salesman Problem
- a hamiltonian cycle over an undirected graph
- the tsp - find a minimal hamiltonian cycle over a complete, nonnegative
integer weighted, undirected graph
- the tsp is np complete
- the shortest distance between two points - the triangle inequality
- the tsp approximation algorithm
- form a mst from an arbitrary root in G
- the hamiltonian cycle is a pre-order walk of the tree
- the ratio bound is 2
- weight of optimal tour is at least weight of the mst
- weight of post-order traversal is twice the weight of the mst
- weight of suboptimal tour is at most weight of post-order traversal
- without the triangle inequality, there seems to be no approximation
algorithm
- suppose aprx-tsp() has a ratio bound of r
- let G = (V, E) be an instance of the hamiltonian cycle problem
- define the complete graph G' = (V, E') such that the
edges in G have weight 1 and all other edges have weight
r|V| + 1
- if G has a hamiltonian cycle, the tsp has a solution
- if the tsp has a solution, it must be a hamiltionian cycle in G
- postprocessing approximate tsp results to get less sub-optimal solutions
- k-opt - replace k edges with new edges
This page last modified on 3 April 2000.