Algorithmica

, Volume 9, Issue 4, pp 398–423

# The searching over separators strategy to solve some NP-hard problems in subexponential time

• R. Z. Hwang
• R. C. Chang
• R. C. T. Lee
Article

DOI: 10.1007/BF01228511

Hwang, R.Z., Chang, R.C. & Lee, R.C.T. Algorithmica (1993) 9: 398. doi:10.1007/BF01228511

## Abstract

In this paper we propose a new strategy for designing algorithms, called the searching over separators strategy. Suppose that we have a problem where the divide-and-conquer strategy can not be applied directly. Yet, also suppose that in an optimal solution to this problem, there exists a separator which divides the input points into two parts,Ad andCd, in such a way that after solving these two subproblems withAd andCd as inputs, respectively, we can merge the respective subsolutions into an optimal solution. Let us further assume that this problem is an optimization problem. In this case our searching over separators strategy will use a separator generator to generate all possible separators. For each separator, the problem is solved by the divide-and-conquer strategy. If the separator generator is guaranteed to generate the desired separator existing in an optimal solution, our searching over separators strategy will always produce an optimal solution. The performance of our approach will critically depend upon the performance of the separator generator. It will perform well if the total number of separators generated is relatively small. We apply this approach to solve the discrete EuclideanP-median problem (DEPM), the discrete EuclideanP-center problem (DEPC), the EuclideanP-center problem (EPC), and the Euclidean traveling salesperson problem (ETSP). We propose$$O(n^{o(\sqrt P )} )$$ algorithms for the DEPM problem, the DEPC problem, and the EPC problem, and we propose an$$O(n^{o(\sqrt n )} )$$ algorithm for the ETSP problem, wheren is the number of input points.

### Key words

Computational geometry NP-hardness

© Springer-Verlag New York Inc. 1993

## Authors and Affiliations

• R. Z. Hwang
• 1
• R. C. Chang
• 2
• 3
• R. C. T. Lee
• 1
• 3
1. 1.Institute of Computer ScienceNational Tsing Hua UniversityHsinchuTaiwan, Republic of China
2. 2.Institute of Computer ScienceNational Chiao Tung UniversityHsinchuTaiwan, Republic of China
3. 3.Academia SinicaHsinchuTaiwan, Republic of China