313. Christofides

A -approximation algorithm for the metric TSP — produces tours guaranteed within optimal.

For 40 years, this was the best-known approximation ratio. In 2020, Karlin-Klein-Gharan improved it slightly (to ). Christofides’ algorithm remains the standard reference point.

313.1. The algorithm

Given a complete graph with distances satisfying the triangle inequality ():

  1. Build MST — minimum spanning tree of the graph
  2. Find odd-degree nodes in — call this set . (By handshake lemma, is even.)
  3. Min-weight perfect matching on — solve a matching problem on the subgraph induced by
  4. Combine MST + matching — gives a multigraph where every vertex has even degree
  5. Find Eulerian circuit on this multigraph — visits every edge exactly once
  6. Shortcut — convert the Eulerian circuit to a TSP tour by skipping repeated visits (uses triangle inequality)

The output is a Hamiltonian tour with total length OPT.

313.2. Why ?

313.3. Complexity

The matching step makes Christofides slower than simpler heuristics like 2-opt on large instances.

313.4. When triangle inequality fails

If the graph doesn’t satisfy triangle inequality (e.g., asymmetric TSP with arbitrary costs):

For Euclidean TSP in the plane:

313.5. Worth knowing in 2026

313.6. See also