Abstract
In this paper, we study a variant of the p-median problem on block graphs G in which the p-median is asked to be connected, and this problem is called the connected p-median problem. We first show that the connected p-median problem is NP-hard on block graphs with multiple edge weights. Then, we propose an O(n)-time algorithm for solving the problem on unit-edge-weighted block graphs, where n is the number of vertices in G.


Similar content being viewed by others
References
Blum, M., Floyd, R.W., Pratt, V.R., Rivest, R.L., Tarjan, R.E.: Time bounds for selection. J. Comput. Syst. Sci. 7, 448–461 (1972)
Burkard, R.E., Fathali, J.: A polynomial method for the pos/neg weighted 3-median problem on a tree. Math. Method Oper. Res. 65, 229–238 (2007)
Burkard, R.E., Hatzl, J.: Median problems with positive and negative weights on cycles and cacti. J. Comb. Optim. 20, 27–46 (2008)
Burkard, R.E., Krarup, J.: A linear algorithm for the pos/neg-weighted 1-median problem on a cactus. Computing 60, 193–215 (1998)
Benkoczi, R., Bhattacharya, B.: A new template for solving \(p\)-median problems for trees in sub-quadratic time. LNCS 3669, 271–282 (2005)
Chang, S.C., Yen, C.K., Wang, Y.L., Liu, J.J.: The NP-hardness of the connected \(p\)-median problem on bipartite graphs and split graphs. Chiang Mai J. Sci. 40, 83–88 (2013)
Chen, G.T., Ding, W., Li, S.W.: Connected \(p\)-median problems in tree networks. J. Hangzhou Dianzi Univ. 29, 89–91 (2009)
Chen, G.T., Xin, S., Cui, S.H.: The connected \(p\)-median problem on the 3-cactus graph. J. Hangzhou Dianzi Univ. 30, 77–80 (2010)
Cheng, Y.K., Kang, L.Y., Lu, C.H.: The pos/neg-weighted \(1\)-median problem on tree graphs with subtree-shaped customers. Theor. Comput. Sci. 411, 1038–1044 (2010)
Daskin, M.S.: Networks and Discrete Location, Models, Algorithms, and Applications. Wiley, New York (1995)
Drezner, Z., Hamacher, H.: Facility Location: Applications and Theory. Springer, Heidelberg (2002)
Garey, M.R., Johnson, D.S.: Computers and Intractability: A Guide to the Theory of NP-Completeness. W. H. Freeman & Co., New York (1978)
Gavsih, B., Sridhar, S.: Computing the 2-median on tree networks in \(O(n\log n)\) time. Networks 26, 305–317 (1995)
Goldman, A.J.: Optimal center location in simple networks. Transport. Sci. 5, 212–221 (1971)
Hatzl, J.: Median problem on wheels and cactus graphs. Computing 80, 377–393 (2007)
Kariv, O., Hakimi, S.L.: An algorithmic approach to network location problems, part II: \(p\)-medians. SIAM J. Appl. Math. 27, 539–560 (1979)
Lan, Y.F., Wang, Y.L.: An optimal algorithm for solving the 1-median problem on weighted 4-cactus graphs. Eur. J. Oper. Res. 122, 602–610 (2000)
Reese, J.: Solution methods for the \(p\)-median problem: an annotated bibliography. Networks 48, 125–142 (2006)
Tamir, A.: An \(O(pn^2)\) algorithm for the \(p\)-median and related problems on tree graphs. Oper. Res. Lett. 19, 59–64 (1996)
Vieira, C.E.C.: Heuristics for the Connected \(p\)-Median Problem, Ph.D. Thesis, Pontifícia Universidade Católica do Rio de Janeiro (2006)
West, D.B.: Introduction to Graph Theory, 2nd edn. Prentice-Hall, Upper Saddle River (2001)
Yang, B.H., Fang, Z.G., Zhao, J.S., Ye, S.Y.: The location problem in emergency management considering uncertain information. In: Proceedings of 2009 IEEE International Conference on Grey Systems and Intelligent Services, pp. 10–12 (2009)
Zhang, X.Q., Kang, L.Y., Cheng, Y.K.: The pos/neg-weighted median problem on block graphs with subgraph-shaped customers. Computing 88, 97–110 (2010)
Acknowledgments
This work was supported in part by the National Science Council of Republic of China under contracts NSC 98-2221-E-128-004-, NSC 100-2221-E-011-067-MY3, and NSC 100-2221-E-128-003-.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Chang, SC., Yen, W.CK., Wang, YL. et al. The connected p-median problem on block graphs. Optim Lett 10, 1191–1201 (2016). https://doi.org/10.1007/s11590-015-0912-5
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11590-015-0912-5