Skip to main content
Log in

A linear algorithm for the pos/neg-weighted 1-median problem on a cactus

  • Published:
Computing Aims and scope Submit manuscript

Abstract

The 1-median problem on a network asks for a vertex minimizing the sum of the weighted shortest path distances from itself to all other vertices, each associated with a certain positive weight. We allow fornegative weights as well and devise an exact algorithm for the resulting ‘pos/neg-weighted’ problem defined on a cactus. The algorithm visits every vertex just once and runs thus in linear time.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Auletta, V., Parente, D., Persiano, G.: Dynamic and static algorithms for optimal placement of resources in a tree. Theor. Comput. Sci.165, 441–461 (1996).

    Article  MATH  MathSciNet  Google Scholar 

  2. Bern, M. W., Lawler, E. L., Wong, A.: Linear-time computation of optimal subgraphs of decomposable graphs. J. Algorithms8, 216–235 (1987).

    Article  MATH  MathSciNet  Google Scholar 

  3. Chen, M.-L., Francis, R. L., Lawrence, J. F., Lowe, T. J., Tufekci, S.: Block-vertex duality and the one-median problem. Networks15, 395–412 (1985).

    Article  MATH  MathSciNet  Google Scholar 

  4. Courant, R., Robbins, H.: What is Mathematics? Oxford: Oxford University Press 1941.

    Google Scholar 

  5. Goldman, A. J.: Optimal center location in simple networks. Transport. Sci.5, 212–221 (1971).

    Google Scholar 

  6. Hakimi, S. L.: Optimum locations of switching centers and the absolute centers and medians of a graph. Oper. Res.12, 450–459 (1964).

    Article  MATH  Google Scholar 

  7. Hua, L. K., et al.: Applications of mathematical models to wheat harvesting. Chin. Math.2, 77–91 (1962).

    Google Scholar 

  8. Kariv, O., Hakimi, S. L.: An algorithmic approach to network location problems, Part 2: Thep-median. SIAM J. Appl. Math.37, 539–560 (1979).

    Article  MATH  MathSciNet  Google Scholar 

  9. Krarup, J.: On ‘A Complementary Problem; of Courant and Robbins, Report 96/39, DIKU (Dept. of Computer Science, University of Copenhagen). To appear in Location Theory.

Download references

Author information

Authors and Affiliations

Authors

Additional information

This research has been supported by the Spezialforschungsbereich F 003 ‘Optimierung und Kontrolle’, Projektbereich Diskrete Optimierung.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Burkard, R.E., Krarup, J. A linear algorithm for the pos/neg-weighted 1-median problem on a cactus. Computing 60, 193–215 (1998). https://doi.org/10.1007/BF02684332

Download citation

  • Received:

  • Revised:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF02684332

AMS Subject Classifications

Key words

Navigation