Christofides algorithm

ID: christofides-algorithm

Christofides' algorithm is a well-known polynomial-time approximation algorithm used to find a solution to the Metric Traveling Salesman Problem (TSP). The TSP involves finding the shortest possible route that visits a set of points (cities) and returns to the starting point, visiting each city exactly once. The original TSP can be NP-hard, but the Metric TSP is a special case where the distances between the cities satisfy the triangle inequality (i.e.

New to topics? Read the docs here!