Abstract
In this paper, we study the facility location problems on the real line. Given a set of n customers on the real line, each customer having a cost for setting up a facility at its position, and an integer k, we seek to find at most k of the customers to set up facilities for serving all n customers such that the total cost for facility set-up and service transportation is minimized. We consider several problem variations including the k-median, the k-coverage, and the linear model. The previously best algorithms for these problems all take O(nk) time. Our new algorithms break the O(nk) time bottleneck and solve these problems in sub-quadratic time. Our algorithms are based on a new problem modeling and interesting algorithmic techniques, which may find other applications as well.
Similar content being viewed by others
References
Agarwal, P.K., Sharir, M.: Efficient algorithms for geometric optimization. ACM Comput. Surv. 30(4), 412–458 (1998)
Aggarwal, A., Klawe, M., Moran, S., Shor, P., Wilbur, R.: Geometric applications of a matrix-searching algorithm. Algorithmica 2, 195–208 (1987)
Aggarwal, A., Schieber, B., Tokuyama, T.: Finding a minimum weight k-link path in graphs with concave monge property and applications. Discrete Comput. Geom. 12, 263–280 (1994)
Auletta, V., Parente, D., Persiano, G.: Placing resources on a growing line. J. Algorithms 26(1), 87–100 (1998)
Chandrasekaran, R., Tamir, A.: Algebraic optimization: the Fermat-Weber location problem. Math. Program. 46(2), 219–224 (1990)
Chen, D.Z., Wang, H.: Improved algorithms for path partition and related problems. Oper. Res. Lett. 39(6), 437–440 (2011)
Chen, D.Z., Wang, H.: New algorithms for 1-D facility location and path equipartition problems. In: Proc. of the Algorithms and Data Structures Symposium (WADS). Lecture Notes in Computer Science, vol. 6844, pp. 207–218. Springer, Berlin (2011)
Cormen, T., Leiserson, C., Rivest, R., Stein, C.: Introduction to Algorithms, 2nd edn. MIT Press, Cambridge (2001)
Drezner, Z., Hamacher, H.W.: Facility Location: Applications and Theory. Springer, New York (2004)
Dyer, M.E.: On a multidimensional search technique and its application to the Euclidean one centre problem. SIAM J. Comput. 15(3), 725–738 (1986)
Frederickson, G.N.: Optimal algorithms for tree partitioning. In: Proc. of the 2nd Annual ACM-SIAM Symposium of Discrete Algorithms (SODA), pp. 168–177 (1991)
Gabow, H., Bentley, J., Tarjan, R.E.: Scaling and related techniques for geometry problems. In: Proc. of the 16th Annual ACM Symposium on Theory of Computing (STOC), pp. 135–143 (1984)
Galil, Z., Park, K.: A linear-time algorithm for concave one-dimensional dynamic programming. Inf. Process. Lett. 33(6), 309–311 (1990)
Hassin, R., Tamir, A.: Improved complexity bounds for location problems on the real line. Oper. Res. Lett. 10, 395–402 (1991)
Klawe, M.M.: A simple linear time algorithm for concave one-dimensional dynamic programming. Technical Report 89-16, University of British, Columbia, Vancouver, Canada (1989)
Larmore, L., Schieber, B.: On-line dynamic programming with applications to the prediction of RNA secondary structure. J. Algorithms 12(3), 490–515 (1991)
Lee, D.T., Wu, Y.F.: Geometric complexity of some location problems. Algorithmica 1(1–4), 193–211 (1986)
Love, R.F.: One-dimensional facility location-allocation using dynamic programming. Manag. Sci. 22(5), 614–617 (1976)
Megiddo, N.: Linear-time algorithms for linear programming in R 3 and related problems. SIAM J. Comput. 12(4), 759–776 (1983)
Megiddo, N., Zemel, E., Hakimi, S.L.: The maximum coverage location problem. SIAM J. Algebr. Discrete Methods 4(2), 253–261 (1983)
Schieber, B.: Computing a minimum weight k-link path in graphs with the concave monge property. J. Algorithms 29(2), 204–222 (1998)
van Hoesel, S., Wagelmans, A.: On the p-coverage problem on the real line. Stat. Neerl. 61(1), 16–34 (2007)
Wilber, R.: The concave least-weight subsequence problem revisited. J. Algorithms 9(3), 418–425 (1988)
Woeginger, G.J.: Monge strikes again: optimal placement of web proxies in the Internet. Oper. Res. Lett. 27(3), 93–96 (2000)
Acknowledgement
The research of Chen was supported in part by NSF under Grants CCF-0916606 and CCF-1217906.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Chen, D.Z., Wang, H. New Algorithms for Facility Location Problems on the Real Line. Algorithmica 69, 370–383 (2014). https://doi.org/10.1007/s00453-012-9737-0
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00453-012-9737-0