A fast approximation algorithm for TSP with neighborhoods

  • Authors:
  • Joachim Gudmundsson;Christos Levcopoulos

  • Affiliations:
  • Department of Computer Science, Lund University, Box 118, S-221 00 Lund, Sweden;Department of Computer Science, Lund University, Box 118, S-221 00 Lund, Sweden

  • Venue:
  • Nordic Journal of Computing
  • Year:
  • 1999

Quantified Score

Hi-index 0.00

Visualization

Abstract

In TSP with neighborhoods (TSPN) we are given a collection X of k polygonal regions in the plane, called neighborhoods, with totally n vertices, and we seek the shortest tour that visits each neighborhood. In this paper we present a simple and fast algorithm that, given a start point, computes a TSPN tour of length O(log k) times the optimum in time O(n+k log k). When no start point is given we show how to compute a "good" start point in time O(n2 logn), hence we obtain a logarithmic approximation algorithm that runs in time O(n2 log n). We also present an algorithm which performs at least one of the following two tasks (which of these tasks is performed depends on the given input): (1) It outputs in time O(n log n) a TSPN tour of length O(log k) times the optimum. (2) It outputs a TSPN tour of length less than (1 + ε) times the optimum in time O(n3), where ε is an arbitrary real constant given as an optional parameter.The same approach can be used for the Red-Blue Separation Problem. We show an algorithm with logarithmic approximation ratio that runs in time O(n log n), where n is the total number of points.