Recall that an LP-type problem is defined by a set S and a function f mapping subsets of S to some totally ordered space, satisfying the following two properties:
A basis of the problem is a set B such that for any proper subset A, f(A) < f(B). The dimension of the problem is the size of the largest basis. The answer to a problem consists of the value of f(S), or equivalently max_B f(B) where the maximization occurs over all bases. In class we saw randomized algorithms for solving such problems using a number of basis evaluations linear in |S| and exponential in the dimension.
The Euclidean traveling-salesman problem is the problem of determining the shortest closed tour that connects a given set of n points in the plane. The general problem is NP-complete. J. L. Bentley has suggested the problem by restricting our attention to bitonic tours, that is, tours that start at the leftmost point, go strictly left to right to the rightmost point, and then go strictly right to left back to the starting point. (Equivalently, any vertical line should cross the tour at most twice.)
Describe an O(n^2)-time algorithm for determining an optimal bitonic tour. You may assume that no two points have the same x-coordinate. (Hint: Scan left to right, maintaining optimal possibilities for the two parts of the tour.)
ICS 266,
David Eppstein,
Dept. Information & Computer Science,
UC Irvine
Last update: 21 May 1996, 10:56:45 PDT