18.04.2013 Views

The.Algorithm.Design.Manual.Springer-Verlag.1998

The.Algorithm.Design.Manual.Springer-Verlag.1998

The.Algorithm.Design.Manual.Springer-Verlag.1998

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>The</strong> Euclidean Traveling Salesman<br />

Next: Exercises Up: Approximation <strong>Algorithm</strong>s Previous: Approximating Vertex Cover<br />

<strong>The</strong> Euclidean Traveling Salesman<br />

In most natural applications of the traveling salesman problem, direct routes are inherently shorter than<br />

indirect routes. For example, if the edge weights of the graph are ``as the crow flies'', straight-line<br />

distances between pairs of cities, the shortest path from x to y will always be to fly directly.<br />

Figure: <strong>The</strong> triangle inequality typically holds in geometric and weighted graph problems.<br />

<strong>The</strong> edge weights induced by Euclidean geometry satisfy the triangle inequality, which insists that<br />

for all triples of vertices u, v, and w. <strong>The</strong> reasonableness of this condition is<br />

shown in Figure . Note that the cost of airfares is an example of a distance function that violates the<br />

triangle inequality, since it is sometimes cheaper to fly through an intermediate city than to fly to the<br />

destination directly. TSP remains hard when the distances are Euclidean distances in the plane.<br />

Whenever a graph obeys the triangle inequality, we can approximate the optimal traveling salesman tour<br />

using minimum spanning trees. First, observe that the weight of a minimum spanning tree is a lower<br />

bound on the cost of the optimal tour. Why? Deleting any edge from a tour leaves a path, the total weight<br />

of which must be no greater than that of the original tour. This path has no cycles, and hence is a tree,<br />

which means its weight is at least that of the minimum spanning tree. Thus the minimum spanning tree<br />

cost gives a lower bound on the optimal tour.<br />

file:///E|/BOOK/BOOK3/NODE121.HTM (1 of 3) [19/1/2003 1:29:59]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!