Docsity

Christofides Algorithm - Discrete Modeling and Optimization - Lecture Slides, Slides of Discrete Structures and Graph Theory

Partial preview of the text

Download Christofides Algorithm - Discrete Modeling and Optimization - Lecture Slides and more Slides Discrete Structures and Graph Theory in PDF only on Docsity!

Christofides’ algorithm for TSP

Given an instance for TSP problem,

1. Find a minimum spanning tree T for that instance.

2. Find a min-cost perfect matching M for odd-degree nodes

of T.

3. T ∪ M has an Euler tour; traverse the arcs of the Euler tour,

by taking shortcuts when necessary, to get a TSP tour.

Example:

Stage 1 Stage 2 Stage 3

Docsity.com

Approximation guarantee for Christofides’ algorithm

  • Theorem: If the cost function satisfies the triangle ineqality, then the Christofides’ algorithm is a 1.5-approximation algorithm.
  • Proof: Let H be an optimal TSP solution. cost(optimal MST T ) ≤ cost ( H ) ( based on our previous arguments ) Get a cycle C on the set of odd-degree nodes of T , by joining them in the order they appear in H. C partitions into two perfect matchings for odd-degree nodes: M 1 and M 2. cost( M 1 ) +cost( M 2 ) = cost( C ) ≤ cost( H ) ( based on triangle inequality ) Thus, at least one of the matchings, say M 1 , costs no more than 0.5cost ( H ). Since M is a min-cost perfect matching, cost( M ) ≤ cost( M 1 ) ≤ 0.5cost ( H ). So cost(our tour) ≤ cost( T ) + cost( M ) ≤ 1.5*cost ( H ). Docsity.com