Skip to main content

Constrained Shortest Path and Hierarchical Structures

  • Conference paper
  • First Online:
Learning and Intelligent Optimization (LION 2022)

Abstract

The Constrained Shortest Path (CSP) problem is as follows. An n-vertex graph is given, two weights are assigned to each edge: “cost” and “length”. It is required to find a min-cost bounded-length path between a given pair of vertices. The problem is NP-hard even when the lengths of all edges are the same. Therefore, various approximation algorithms have been proposed in the literature for it. The constraint on path length can be accounted for by considering one aggregated edge weight equals to the linear combination of the cost and length. By varying the value of the Lagrange multiplier in the linear combination, a feasible solution delivers a minimum to the objective function with new weights. At the same time, as usually, the Dijkstra’s algorithm or its modifications are used to construct a shortest path with the current weights of the edges. However, in the large graphs, this approach may turn out to be time-consuming. In this paper, we propose to search a solution, not in the original graph but in the specially constructed hierarchical structures (HS). We show that the shortest path in the HS is constructed with O(m)-time complexity, where m is the number of edges/arcs of the graph, and the approximate solution in the case of integer costs and lengths is found with \(O(m\log n)\)-time complexity. In result of a priori analysis of the algorithm its accuracy estimation turned out to depend on the parameters of the problem and can be significant. Therefore, to evaluate the algorithm’s effectiveness, we conducted a numerical experiment on the graph of roads of megalopolis and randomly constructed metric unit-disk graphs (UDGs). The numerical experiment results show that in the HS, solution is built 10–100 times faster than in the methods which use Dijkstra’s like algorithm to build a min-weight path in the original graph.

The research was supported by the Russian Science Foundation (grant No. 19-71-10012 “Multi-agent systems development for automatic remote control of traffic flows in congested urban road networks”).

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

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. 9th DIMACS Implementation Challenge. http://www.dis.uniroma1.it/challenge9/download.shtml

  2. Ahuja, R.K., et al.: Network Flows: Theory, Algorithms, and Applications. Prentice Hall Inc, London (1993)

    Google Scholar 

  3. Cormen, T.H., et al.: Introduction to Algorithms. The MIT Press, Cambridge (2000)

    Google Scholar 

  4. Garey, M.S., Johnson, D.S.: Computers and Intractability: Guide to the Theory of NP-Completeness. (Ed by, W.H. Freeman), New York (1979)

    Google Scholar 

  5. Goldberg, A.V., Chris, H.: Computing the shortest path: a search meets graph theory. In: SODA 2005 (2005)

    Google Scholar 

  6. Hassin, R.: Approximation schemes for the restricted shortest path problem. Math. Oper. Res. 17(1), 36–42 (1992)

    Article  MathSciNet  MATH  Google Scholar 

  7. Ishida, K., et al.: A delay-constrained least-cost path routing protocol and the synthesis method. In: Proceedings of the 5th International Conference on Real-Time Computing Systems and Applications, pp. 58–65. IEEE (1998)

    Google Scholar 

  8. Jüttner, A., et al.: Lagrange relaxation based method for the QoS routing problem. IEEE INFOCOM 2001, 859–868 (2001)

    Google Scholar 

  9. Koster, A.M.C., Muñoz, X. (eds.): Graphs and Algorithms in Communication Networks. Springer, Heidelberg (2014). https://doi.org/10.1007/978-3-642-02250-0

    Book  Google Scholar 

  10. Handler, G., Zang, I.: A dual algorithm for the constrained shortest path problem. Networks 10, 293–310 (1980)

    Google Scholar 

  11. Kuipers, F.A., et al.: An overview of constraint-based path selection algorithms for QoS routing. IEEE Commun. Mag. 40(12), 50–55 (2002)

    Article  Google Scholar 

  12. Lorenz, D.H., et al.: Efficient QoS partition and routing of unicast and multicast. In: Proceedings of IWQoS 2000, pp. 75–83 (2000)

    Google Scholar 

  13. Lozano, L., Medaglia, A.L.: On an exact method for the constrained shortest path problem. Comput. Oper. Res. 40, 378–384 (2013)

    Article  MATH  Google Scholar 

  14. Orda, A.: Routing with end-to-end QoS guarantees in broadband networks. IEEE/ACM Trans. Netw. 7(3), 365–374 (1999)

    Article  Google Scholar 

  15. Pugliese, L.D.P., et al.: The resource constrained shortest path problem with uncertain data: a robust formulation and optimal solution approach. Comput. Oper. Res. 107, 140–155 (2019)

    Article  MathSciNet  MATH  Google Scholar 

  16. Reeves, D.S., Salama, H.F.: A distributed algorithm for delay-constrained unicast routing. IEEE/ACM Trans. Netw. 8(2), 239–250 (2000)

    Article  Google Scholar 

  17. Sun, Q., Langendorfer, H.: A new distributed routing algorithm for supporting delay-sensitive applications. Comput. Commun. 21, 572–578 (1998)

    Article  Google Scholar 

  18. Wang, H., et al.: A bio-inspired method for the constrained shortest path problem. Sci. World J. 2014, 271280 (2014)

    Google Scholar 

  19. Wang, S., et al.: Effective indexing for approximate constrained shortest path queries on large road networks. Proc. VLDB Endow. 10(2), 61–72 (2016)

    Article  Google Scholar 

  20. Wang, Z., Crowcroft, J.: Quality-of-service routing for supporting multimedia applications. IEEE Sel. Areas Commun. 14(7), 1228–1234 (1996)

    Article  Google Scholar 

  21. Widyono R.: The design and evaluation of routing algorithms for real-time channels. Technical report TR-94-024, University of California at Berkeley & International Computer Science Institute (1994)

    Google Scholar 

  22. Xiao, Y., et al.: The constrained shortest path problem: algorithmic approaches and an algebraic study with generalization. AKCE J. Graphs. Combin. 2(2), 63–86 (2005)

    MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Adil Erzin .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Erzin, A., Plotnikov, R., Ladygin, I. (2022). Constrained Shortest Path and Hierarchical Structures. In: Simos, D.E., Rasskazova, V.A., Archetti, F., Kotsireas, I.S., Pardalos, P.M. (eds) Learning and Intelligent Optimization. LION 2022. Lecture Notes in Computer Science, vol 13621. Springer, Cham. https://doi.org/10.1007/978-3-031-24866-5_29

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-24866-5_29

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-24865-8

  • Online ISBN: 978-3-031-24866-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics