
This article includes a list of general references, but it lacks sufficient corresponding inline citations.(June 2009) |
In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.

The problem of finding the shortest path between two intersections on a road map may be modeled as a special case of the shortest path problem in graphs, where the vertices correspond to intersections and the edges correspond to road segments, each weighted by the length or distance of each segment.
Definition
The shortest path problem can be defined for graphs whether undirected, directed, or mixed. The definition for undirected graphs states that every edge can be traversed in either direction. Directed graphs require that consecutive vertices be connected by an appropriate directed edge.
Two vertices are adjacent when they are both incident to a common edge. A path in an undirected graph is a sequence of vertices such that
is adjacent to
for
. Such a path
is called a path of length
from
to
. (The
are variables; their numbering relates to their position in the sequence and need not relate to a canonical labeling.)
Let where
is the edge incident to both
and
. Given a real-valued weight function
, and an undirected (simple) graph
, the shortest path from
to
is the path
(where
and
) that over all possible
minimizes the sum
When each edge in the graph has unit weight or
, this is equivalent to finding the path with fewest edges.
The problem is also sometimes called the single-pair shortest path problem, to distinguish it from the following variations:
- The single-source shortest path problem, in which we have to find shortest paths from a source vertex v to all other vertices in the graph.
- The single-destination shortest path problem, in which we have to find shortest paths from all vertices in the directed graph to a single destination vertex v. This can be reduced to the single-source shortest path problem by reversing the arcs in the directed graph.
- The all-pairs shortest path problem, in which we have to find shortest paths between every pair of vertices v, v' in the graph.
These generalizations have significantly more efficient algorithms than the simplistic approach of running a single-pair shortest path algorithm on all relevant pairs of vertices.
Algorithms
Several well-known algorithms exist for solving this problem and its variants.
- Dijkstra's algorithm solves the single-source shortest path problem with only non-negative edge weights.
- Bellman–Ford algorithm solves the single-source problem if edge weights may be negative.
- A* search algorithm solves for single-pair shortest path using heuristics to try to speed up the search.
- Floyd–Warshall algorithm solves all pairs shortest paths.
- Johnson's algorithm solves all pairs shortest paths, and may be faster than Floyd–Warshall on sparse graphs.
- Viterbi algorithm solves the shortest stochastic path problem with an additional probabilistic weight on each node.
Additional algorithms and associated evaluations may be found in Cherkassky, Goldberg & Radzik (1996).
Single-source shortest paths
Undirected graphs
Weights | Time complexity | Author |
---|---|---|
O(V2) | Dijkstra 1959 | |
O((E + V) log V) | Johnson 1977 (binary heap) | |
O(E + V log V) | Fredman & Tarjan 1984 (Fibonacci heap) | |
O(E) | Thorup 1999 (requires constant-time multiplication) | |
Duan et al. 2023 |
Unweighted graphs
Algorithm | Time complexity | Author |
---|---|---|
Breadth-first search | O(E + V) |
Directed acyclic graphs
An algorithm using topological sorting can solve the single-source shortest path problem in time Θ(E + V) in arbitrarily-weighted directed acyclic graphs.
Directed graphs with nonnegative weights
The following table is taken from Schrijver (2004), with some corrections and additions. A green background indicates an asymptotically best bound in the table; L is the maximum length (or weight) among all edges, assuming integer edge weights.
Weights | Algorithm | Time complexity | Author |
---|---|---|---|
Ford 1956 | |||
Bellman–Ford algorithm | Shimbel 1955, Bellman 1958, Moore 1959 | ||
Dantzig 1960 | |||
Dijkstra's algorithm with list | Leyzorek et al. 1957, Dijkstra 1959, Minty (see Pollack & Wiebenson 1960), Whiting & Hillier 1960 | ||
Dijkstra's algorithm with binary heap | Johnson 1977 | ||
Dijkstra's algorithm with Fibonacci heap | Fredman & Tarjan 1984, Fredman & Tarjan 1987 | ||
Quantum Dijkstra algorithm with adjacency list | Dürr et al. 2006 | ||
Dial's algorithm (Dijkstra's algorithm using a bucket queue with L buckets) | Dial 1969 | ||
Johnson 1981, Karlsson & Poblete 1983 | |||
Gabow 1983, Gabow 1985 | |||
Ahuja et al. 1990 | |||
Thorup | Thorup 2004 |
This list is incomplete; you can help by adding missing items. (February 2011) |
Directed graphs with arbitrary weights without negative cycles
Weights | Algorithm | Time complexity | Author |
---|---|---|---|
Ford 1956 | |||
Bellman–Ford algorithm | Shimbel 1955, Bellman 1958, Moore 1959 | ||
Johnson-Dijkstra with binary heap | Johnson 1977 | ||
Johnson-Dijkstra with Fibonacci heap | Fredman & Tarjan 1984, Fredman & Tarjan 1987, adapted after Johnson 1977 | ||
Johnson's technique applied to Dial's algorithm | Dial 1969, adapted after Johnson 1977 | ||
Interior-point method with Laplacian solver | Cohen et al. 2017 | ||
Interior-point method with | Axiotis, Mądry & Vladu 2020 | ||
Robust interior-point method with sketching | van den Brand et al. 2020 | ||
Chen et al. 2022 | |||
Based on low-diameter decomposition | Bernstein, Nanongkai & Wulff-Nilsen 2022 | ||
Hop-limited shortest paths | Fineman 2023 |
This list is incomplete; you can help by adding missing items. (December 2012) |
Directed graphs with arbitrary weights with negative cycles
Finds a negative cycle or calculates distances to all vertices.
Weights | Algorithm | Time complexity | Author |
---|---|---|---|
Andrew V. Goldberg |
Planar graphs with nonnegative weights
Weights | Algorithm | Time complexity | Author |
---|---|---|---|
Henzinger et al. 1997 |
Applications
Network flows are a fundamental concept in graph theory and operations research, often used to model problems involving the transportation of goods, liquids, or information through a network. A network flow problem typically involves a directed graph where each edge represents a pipe, wire, or road, and each edge has a capacity, which is the maximum amount that can flow through it. The goal is to find a feasible flow that maximizes the flow from a source node to a sink node.
Shortest Path Problems can be used to solve certain network flow problems, particularly when dealing with single-source, single-sink networks. In these scenarios, we can transform the network flow problem into a series of shortest path problems.
Transformation Steps
- Create a Residual Graph:
- For each edge (u, v) in the original graph, create two edges in the residual graph:
- (u, v) with capacity c(u, v)
- (v, u) with capacity 0
- The residual graph represents the remaining capacity available in the network.
- For each edge (u, v) in the original graph, create two edges in the residual graph:
- Find the Shortest Path:
- Use a shortest path algorithm (e.g., Dijkstra's algorithm, Bellman-Ford algorithm) to find the shortest path from the source node to the sink node in the residual graph.
- Augment the Flow:
- Find the minimum capacity along the shortest path.
- Increase the flow on the edges of the shortest path by this minimum capacity.
- Decrease the capacity of the edges in the forward direction and increase the capacity of the edges in the backward direction.
- Update the Residual Graph:
- Update the residual graph based on the augmented flow.
- Repeat:
- Repeat steps 2-4 until no more paths can be found from the source to the sink.
All-pairs shortest paths
The all-pairs shortest path problem finds the shortest paths between every pair of vertices v, v' in the graph. The all-pairs shortest paths problem for unweighted directed graphs was introduced by Shimbel (1953), who observed that it could be solved by a linear number of matrix multiplications that takes a total time of O(V4).
Undirected graph
Weights | Time complexity | Algorithm |
---|---|---|
O(V3) | Floyd–Warshall algorithm | |
Seidel's algorithm (expected running time) | ||
Williams 2014 | ||
O(EV log α(E,V)) | Pettie & Ramachandran 2002 | |
O(EV) | Thorup 1999 applied to every vertex (requires constant-time multiplication). |
Directed graph
Weights | Time complexity | Algorithm |
---|---|---|
Floyd–Warshall algorithm | ||
Williams 2014 | ||
Quantum search | ||
O(EV + V2 log V) | Johnson–Dijkstra | |
O(EV + V2 log log V) | Pettie 2004 | |
O(EV + V2 log log V) | Hagerup 2000 |
Applications
Shortest path algorithms are applied to automatically find directions between physical locations, such as driving directions on web mapping websites like MapQuest or Google Maps. For this application fast specialized algorithms are available.
If one represents a nondeterministic abstract machine as a graph where vertices describe states and edges describe possible transitions, shortest path algorithms can be used to find an optimal sequence of choices to reach a certain goal state, or to establish lower bounds on the time needed to reach a given state. For example, if vertices represent the states of a puzzle like a Rubik's Cube and each directed edge corresponds to a single move or turn, shortest path algorithms can be used to find a solution that uses the minimum possible number of moves.
In a networking or telecommunications mindset, this shortest path problem is sometimes called the min-delay path problem and usually tied with a widest path problem. For example, the algorithm may seek the shortest (min-delay) widest path, or widest shortest (min-delay) path.
A more lighthearted application is the games of "six degrees of separation" that try to find the shortest path in graphs like movie stars appearing in the same film.
Other applications, often studied in operations research, include plant and facility layout, robotics, transportation, and VLSI design.
Road networks
A road network can be considered as a graph with positive weights. The nodes represent road junctions and each edge of the graph is associated with a road segment between two junctions. The weight of an edge may correspond to the length of the associated road segment, the time needed to traverse the segment, or the cost of traversing the segment. Using directed edges it is also possible to model one-way streets. Such graphs are special in the sense that some edges are more important than others for long-distance travel (e.g. highways). This property has been formalized using the notion of highway dimension. There are a great number of algorithms that exploit this property and are therefore able to compute the shortest path a lot quicker than would be possible on general graphs.
All of these algorithms work in two phases. In the first phase, the graph is preprocessed without knowing the source or target node. The second phase is the query phase. In this phase, source and target node are known. The idea is that the road network is static, so the preprocessing phase can be done once and used for a large number of queries on the same road network.
The algorithm with the fastest known query time is called hub labeling and is able to compute shortest path on the road networks of Europe or the US in a fraction of a microsecond. Other techniques that have been used are:
- ALT (A* search, landmarks, and triangle inequality)
- Arc flags
- Contraction hierarchies
- Transit node routing
- Reach-based pruning
- Labeling
- Hub labels
Related problems
For shortest path problems in computational geometry, see Euclidean shortest path.
The shortest multiple disconnected path is a representation of the primitive path network within the framework of Reptation theory. The widest path problem seeks a path so that the minimum label of any edge is as large as possible.
Other related problems may be classified into the following categories.
Paths with constraints
Unlike the shortest path problem, which can be solved in polynomial time in graphs without negative cycles, shortest path problems which include additional constraints on the desired solution path are called Constrained Shortest Path First, and are harder to solve. One example is the constrained shortest path problem, which attempts to minimize the total cost of the path while at the same time maintaining another metric below a given threshold. This makes the problem NP-complete (such problems are not believed to be efficiently solvable for large sets of data, see P = NP problem). Another NP-complete example requires a specific set of vertices to be included in the path, which makes the problem similar to the Traveling Salesman Problem (TSP). The TSP is the problem of finding the shortest path that goes through every vertex exactly once, and returns to the start. The problem of finding the longest path in a graph is also NP-complete.
Partial observability
The Canadian traveller problem and the stochastic shortest path problem are generalizations where either the graph is not completely known to the mover, changes over time, or where actions (traversals) are probabilistic.
Strategic shortest paths
This section does not cite any sources.(December 2015) |
Sometimes, the edges in a graph have personalities: each edge has its own selfish interest. An example is a communication network, in which each edge is a computer that possibly belongs to a different person. Different computers have different transmission speeds, so every edge in the network has a numeric weight equal to the number of milliseconds it takes to transmit a message. Our goal is to send a message between two points in the network in the shortest time possible. If we know the transmission-time of each computer (the weight of each edge), then we can use a standard shortest-paths algorithm. If we do not know the transmission times, then we have to ask each computer to tell us its transmission-time. But, the computers may be selfish: a computer might tell us that its transmission time is very long, so that we will not bother it with our messages. A possible solution to this problem is to use a variant of the VCG mechanism, which gives the computers an incentive to reveal their true weights.
Negative cycle detection
In some cases, the main goal is not to find the shortest path, but only to detect if the graph contains a negative cycle. Some shortest-paths algorithms can be used for this purpose:
- The Bellman–Ford algorithm can be used to detect a negative cycle in time
.
- Cherkassky and Goldberg survey several other algorithms for negative cycle detection.
General algebraic framework on semirings: the algebraic path problem
This section needs expansion. You can help by adding to it. (August 2014) |
Many problems can be framed as a form of the shortest path for some suitably substituted notions of addition along a path and taking the minimum. The general approach to these is to consider the two operations to be those of a semiring. Semiring multiplication is done along the path, and the addition is between paths. This general framework is known as the algebraic path problem.
Most of the classic shortest-path algorithms (and new ones) can be formulated as solving linear systems over such algebraic structures.
More recently, an even more general framework for solving these (and much less obviously related problems) has been developed under the banner of valuation algebras.
Shortest path in stochastic time-dependent networks
In real-life, a transportation network is usually stochastic and time-dependent. The travel duration on a road segment depends on many factors such as the amount of traffic (origin-destination matrix), road work, weather, accidents and vehicle breakdowns. A more realistic model of such a road network is a stochastic time-dependent (STD) network.
There is no accepted definition of optimal path under uncertainty (that is, in stochastic road networks). It is a controversial subject, despite considerable progress during the past decade. One common definition is a path with the minimum expected travel time. The main advantage of this approach is that it can make use of efficient shortest path algorithms for deterministic networks. However, the resulting optimal path may not be reliable, because this approach fails to address travel time variability.
To tackle this issue, some researchers use travel duration distribution instead of its expected value. So, they find the probability distribution of total travel duration using different optimization methods such as dynamic programming and Dijkstra's algorithm . These methods use stochastic optimization, specifically stochastic dynamic programming to find the shortest path in networks with probabilistic arc length. The terms travel time reliability and travel time variability are used as opposites in the transportation research literature: the higher the variability, the lower the reliability of predictions.
To account for variability, researchers have suggested two alternative definitions for an optimal path under uncertainty. The most reliable path is one that maximizes the probability of arriving on time given a travel time budget. An α-reliable path is one that minimizes the travel time budget required to arrive on time with a given probability.
See also
- Bidirectional search, an algorithm that finds the shortest path between two vertices on a directed graph
- Euclidean shortest path
- Flow network
- K shortest path routing
- Min-plus matrix multiplication
- Pathfinding
- Shortest Path Bridging
- Shortest path tree
- TRILL (TRansparent Interconnection of Lots of Links)
References
Notes
- The Shortest-Path Problem. Synthesis Lectures on Theoretical Computer Science. 2015. doi:10.1007/978-3-031-02574-7. ISBN 978-3-031-01446-8.
- Deo, Narsingh (17 August 2016). Graph Theory with Applications to Engineering and Computer Science. Courier Dover Publications. ISBN 978-0-486-80793-5.
- Cormen et al. 2001, p. 655
- Dürr, Christoph; Heiligman, Mark; Høyer, Peter; Mhalla, Mehdi (January 2006). "Quantum query complexity of some graph problems". SIAM Journal on Computing. 35 (6): 1310–1328. arXiv:quant-ph/0401091. doi:10.1137/050644719. ISSN 0097-5397. S2CID 14253494.
- Dial, Robert B. (1969). "Algorithm 360: Shortest-Path Forest with Topological Ordering [H]". Communications of the ACM. 12 (11): 632–633. doi:10.1145/363269.363610. S2CID 6754003.
- Cormen, Thomas H. (July 31, 2009). Introduction to Algorithms (3rd ed.). MIT Press. ISBN 9780262533058.
{{cite book}}
: CS1 maint: date and year (link) - Kleinberg, Jon; Tardos, Éva (2005). Algorithm Design (1st ed.). Addison-Wesley. ISBN 978-0321295354.
- Dürr, C.; Høyer, P. (1996-07-18). "A Quantum Algorithm for Finding the Minimum". arXiv:quant-ph/9607014.
- Nayebi, Aran; Williams, V. V. (2014-10-22). "Quantum algorithms for shortest paths problems in structured instances". arXiv:1410.6220 [quant-ph].
- Sanders, Peter (March 23, 2009). "Fast route planning". Google Tech Talk. Archived from the original on 2021-12-11.
- Hoceini, S.; A. Mellouk; Y. Amirat (2005). "K-Shortest Paths Q-Routing: A New QoS Routing Algorithm in Telecommunication Networks". Networking - ICN 2005, Lecture Notes in Computer Science, Vol. 3421. Vol. 3421. Springer, Berlin, Heidelberg. pp. 164–172. doi:10.1007/978-3-540-31957-3_21. ISBN 978-3-540-25338-9.
- Chen, Danny Z. (December 1996). "Developing algorithms and software for geometric path planning problems". ACM Computing Surveys. 28 (4es). Article 18. doi:10.1145/242224.242246. S2CID 11761485.
- Abraham, Ittai; Fiat, Amos; Goldberg, Andrew V.; Werneck, Renato F. "Highway Dimension, Shortest Paths, and Provably Efficient Algorithms". ACM-SIAM Symposium on Discrete Algorithms, pages 782–793, 2010.
- Abraham, Ittai; Delling, Daniel; Goldberg, Andrew V.; Werneck, Renato F. research.microsoft.com/pubs/142356/HL-TR.pdf "A Hub-Based Labeling Algorithm for Shortest Paths on Road Networks". Symposium on Experimental Algorithms, pages 230–241, 2011.
- Kroger, Martin (2005). "Shortest multiple disconnected path for the analysis of entanglements in two- and three-dimensional polymeric systems". Computer Physics Communications. 168 (3): 209–232. Bibcode:2005CoPhC.168..209K. doi:10.1016/j.cpc.2005.01.020.
- Lozano, Leonardo; Medaglia, Andrés L (2013). "On an exact method for the constrained shortest path problem". Computers & Operations Research. 40 (1): 378–384. doi:10.1016/j.cor.2012.07.008.
- Osanlou, Kevin; Bursuc, Andrei; Guettier, Christophe; Cazenave, Tristan; Jacopin, Eric (2019). "Optimal Solving of Constrained Path-Planning Problems with Graph Convolutional Networks and Optimized Tree Search". 2019 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS). pp. 3519–3525. arXiv:2108.01036. doi:10.1109/IROS40897.2019.8968113. ISBN 978-1-7281-4004-9. S2CID 210706773.
- Bar-Noy, Amotz; Schieber, Baruch (1991). "The canadian traveller problem". Proceedings of the Second Annual ACM-SIAM Symposium on Discrete Algorithms: 261–270. CiteSeerX 10.1.1.1088.3015.
- Nikolova, Evdokia; Karger, David R. "Route planning under uncertainty: the Canadian traveller problem" (PDF). Proceedings of the 23rd National Conference on Artificial Intelligence (AAAI). pp. 969–974. Archived (PDF) from the original on 2022-10-09.
- Cherkassky, Boris V.; Goldberg, Andrew V. (1999-06-01). "Negative-cycle detection algorithms". Mathematical Programming. 85 (2): 277–311. doi:10.1007/s101070050058. ISSN 1436-4646. S2CID 79739.
- Pair, Claude (1967). "Sur des algorithmes pour des problèmes de cheminement dans les graphes finis" [On algorithms for path problems in finite graphs]. In Rosentiehl, Pierre (ed.). Théorie des graphes (journées internationales d'études) [Theory of Graphs (international symposium)]. Rome (Italy), July 1966. Dunod (Paris); Gordon and Breach (New York). p. 271. OCLC 901424694.
- Derniame, Jean Claude; Pair, Claude (1971). Problèmes de cheminement dans les graphes [Path Problems in Graphs]. Dunod (Paris).
- Baras, John; Theodorakopoulos, George (4 April 2010). Path Problems in Networks. Morgan & Claypool Publishers. pp. 9–. ISBN 978-1-59829-924-3.
- Gondran, Michel; Minoux, Michel (2008). "chapter 4". Graphs, Dioids and Semirings: New Models and Algorithms. Springer Science & Business Media. ISBN 978-0-387-75450-5.
- Pouly, Marc; Kohlas, Jürg (2011). "Chapter 6. Valuation Algebras for Path Problems". Generic Inference: A Unifying Theory for Automated Reasoning. John Wiley & Sons. ISBN 978-1-118-01086-0.
- Loui, R.P., 1983. Optimal paths in graphs with stochastic or multidimensional weights. Communications of the ACM, 26(9), pp.670-676.
- Rajabi-Bahaabadi, Mojtaba; Shariat-Mohaymany, Afshin; Babaei, Mohsen; Ahn, Chang Wook (2015). "Multi-objective path finding in stochastic time-dependent road networks using non-dominated sorting genetic algorithm". Expert Systems with Applications. 42 (12): 5056–5064. doi:10.1016/j.eswa.2015.02.046.
- Olya, Mohammad Hessam (2014). "Finding shortest path in a combined exponential – gamma probability distribution arc length". International Journal of Operational Research. 21 (1): 25–37. doi:10.1504/IJOR.2014.064020.
- Olya, Mohammad Hessam (2014). "Applying Dijkstra's algorithm for general shortest path problem with normal probability distribution arc length". International Journal of Operational Research. 21 (2): 143–154. doi:10.1504/IJOR.2014.064541.
Bibliography
- Ahuja, Ravindra K.; Mehlhorn, Kurt; Orlin, James; Tarjan, Robert E. (April 1990). "Faster algorithms for the shortest path problem" (PDF). Journal of the ACM. 37 (2). ACM: 213–223. doi:10.1145/77600.77615. hdl:1721.1/47994. S2CID 5499589. Archived (PDF) from the original on 2022-10-09.
- Bellman, Richard (1958). "On a routing problem". Quarterly of Applied Mathematics. 16: 87–90. doi:10.1090/qam/102435. MR 0102435.
- Bernstein, Aaron; Nanongkai, Danupon; Wulff-Nilsen, Christian (2022). "Negative-Weight Single-Source Shortest Paths in Near-linear Time". 2022 IEEE 63rd Annual Symposium on Foundations of Computer Science (FOCS). IEEE. pp. 600–611. arXiv:2203.03456. doi:10.1109/focs54457.2022.00063. ISBN 978-1-6654-5519-0. S2CID 247958461.
- Duan, Ran; Mao, Jiayi; Shu, Xinkai; Yin, Longhui (2023). "A Randomized Algorithm for Single-Source Shortest Path on Undirected Real-Weighted Graphs". 2023 IEEE 64th Annual Symposium on Foundations of Computer Science (FOCS). IEEE. pp. 484–492. arXiv:2307.04139. doi:10.1109/focs57990.2023.00035. ISBN 979-8-3503-1894-4. S2CID 259501045.
- Cherkassky, Boris V.; Goldberg, Andrew V.; Radzik, Tomasz (1996). "Shortest paths algorithms: theory and experimental evaluation". Mathematical Programming. Ser. A. 73 (2): 129–174. doi:10.1016/0025-5610(95)00021-6. MR 1392160.
- Cormen, Thomas H.; Leiserson, Charles E.; Rivest, Ronald L.; Stein, Clifford (2001) [1990]. "Single-Source Shortest Paths and All-Pairs Shortest Paths". Introduction to Algorithms (2nd ed.). MIT Press and McGraw-Hill. pp. 580–642. ISBN 0-262-03293-7.
- Dantzig, G. B. (January 1960). "On the Shortest Route through a Network". Management Science. 6 (2): 187–190. doi:10.1287/mnsc.6.2.187.
- Dijkstra, E. W. (1959). "A note on two problems in connexion with graphs". Numerische Mathematik. 1: 269–271. doi:10.1007/BF01386390. S2CID 123284777.
- Ford, L. R. (1956). Network Flow Theory (Report). Santa Monica, CA: RAND Corporation. P-923.
- Fredman, Michael Lawrence; Tarjan, Robert E. (1984). Fibonacci heaps and their uses in improved network optimization algorithms. 25th Annual Symposium on Foundations of Computer Science. IEEE. pp. 338–346. doi:10.1109/SFCS.1984.715934. ISBN 0-8186-0591-X.
- Fredman, Michael Lawrence; Tarjan, Robert E. (1987). "Fibonacci heaps and their uses in improved network optimization algorithms". Journal of the Association for Computing Machinery. 34 (3): 596–615. doi:10.1145/28869.28874. S2CID 7904683.
- Gabow, H. N. (1983). "Scaling algorithms for network problems" (PDF). Proceedings of the 24th Annual Symposium on Foundations of Computer Science (FOCS 1983). pp. 248–258. doi:10.1109/SFCS.1983.68.
- Gabow, Harold N. (1985). "Scaling algorithms for network problems". Journal of Computer and System Sciences. 31 (2): 148–168. doi:10.1016/0022-0000(85)90039-X. MR 0828519.
- Hagerup, Torben (2000). "Improved Shortest Paths on the Word RAM". In Montanari, Ugo; Rolim, José D. P.; Welzl, Emo (eds.). Proceedings of the 27th International Colloquium on Automata, Languages and Programming. pp. 61–72. ISBN 978-3-540-67715-4.
- Henzinger, Monika R.; Klein, Philip; Rao, Satish; Subramanian, Sairam (1997). "Faster Shortest-Path Algorithms for Planar Graphs". Journal of Computer and System Sciences. 55 (1): 3–23. doi:10.1006/jcss.1997.1493.
- Johnson, Donald B. (1977). "Efficient algorithms for shortest paths in sparse networks". Journal of the ACM. 24 (1): 1–13. doi:10.1145/321992.321993. S2CID 207678246.
- Johnson, Donald B. (December 1981). "A priority queue in which initialization and queue operations take O(log log D) time". Mathematical Systems Theory. 15 (1): 295–309. doi:10.1007/BF01786986. MR 0683047. S2CID 35703411.
- Karlsson, Rolf G.; Poblete, Patricio V. (1983). "An O(m log log D) algorithm for shortest paths". Discrete Applied Mathematics. 6 (1): 91–93. doi:10.1016/0166-218X(83)90104-X. MR 0700028.
- Leyzorek, M.; Gray, R. S.; Johnson, A. A.; Ladew, W. C.; Meaker, S. R. Jr.; Petry, R. M.; Seitz, R. N. (1957). Investigation of Model Techniques — First Annual Report — 6 June 1956 — 1 July 1957 — A Study of Model Techniques for Communication Systems. Cleveland, Ohio: Case Institute of Technology.
- Moore, E. F. (1959). "The shortest path through a maze". Proceedings of an International Symposium on the Theory of Switching (Cambridge, Massachusetts, 2–5 April 1957). Cambridge: Harvard University Press. pp. 285–292.
- Pettie, Seth; Ramachandran, Vijaya (2002). "Computing shortest paths with comparisons and additions". Proceedings of the Thirteenth Annual ACM-SIAM Symposium on Discrete Algorithms. pp. 267–276. ISBN 978-0-89871-513-2.
- Pettie, Seth (26 January 2004). "A new approach to all-pairs shortest paths on real-weighted graphs". Theoretical Computer Science. 312 (1): 47–74. doi:10.1016/s0304-3975(03)00402-x.
- Pollack, Maurice; Wiebenson, Walter (March–April 1960). "Solution of the Shortest-Route Problem—A Review". Oper. Res. 8 (2): 224–230. doi:10.1287/opre.8.2.224. Attributes Dijkstra's algorithm to Minty ("private communication") on p. 225.
- Schrijver, Alexander (2004). Combinatorial Optimization — Polyhedra and Efficiency. Algorithms and Combinatorics. Vol. 24. Springer. vol.A, sect.7.5b, p. 103. ISBN 978-3-540-20456-5.
- Shimbel, Alfonso (1953). "Structural parameters of communication networks". Bulletin of Mathematical Biophysics. 15 (4): 501–507. doi:10.1007/BF02476438.
- Shimbel, A. (1955). "Structure in communication nets". Proceedings of the Symposium on Information Networks. New York, NY: Polytechnic Press of the Polytechnic Institute of Brooklyn. pp. 199–203.
- Thorup, Mikkel (1999). "Undirected single-source shortest paths with positive integer weights in linear time". Journal of the ACM. 46 (3): 362–394. doi:10.1145/316542.316548. S2CID 207654795.
- Thorup, Mikkel (2004). "Integer priority queues with decrease key in constant time and the single source shortest paths problem". Journal of Computer and System Sciences. 69 (3): 330–353. doi:10.1016/j.jcss.2004.04.003.
- Whiting, P. D.; Hillier, J. A. (March–June 1960). "A Method for Finding the Shortest Route through a Road Network". Operational Research Quarterly. 11 (1/2): 37–40. doi:10.1057/jors.1960.32.
- Williams, Ryan (2014). "Faster all-pairs shortest paths via circuit complexity". Proceedings of the 46th Annual ACM Symposium on Theory of Computing (STOC '14). New York: ACM. pp. 664–673. arXiv:1312.6680. doi:10.1145/2591796.2591811. MR 3238994.
Further reading
- Altıntaş, Gökhan (2020). Exact Solutions of Shortest-Path Problems Based on Mechanical Analogies: In Connection with Labyrinths. Amazon Digital Services LLC. ISBN 9798655831896.
- Frigioni, D.; Marchetti-Spaccamela, A.; Nanni, U. (1998). "Fully dynamic output bounded single source shortest path problem". Proc. 7th Annu. ACM-SIAM Symp. Discrete Algorithms. Atlanta, GA. pp. 212–221. CiteSeerX 10.1.1.32.9856.
- Dreyfus, S. E. (October 1967). An Appraisal of Some Shortest Path Algorithms (PDF) (Report). Project Rand. United States Air Force. RM-5433-PR. Archived (PDF) from the original on November 17, 2015. DTIC AD-661265.
This article includes a list of general references but it lacks sufficient corresponding inline citations Please help to improve this article by introducing more precise citations June 2009 Learn how and when to remove this message In graph theory the shortest path problem is the problem of finding a path between two vertices or nodes in a graph such that the sum of the weights of its constituent edges is minimized Shortest path A C E D F blue between vertices A and F in the weighted directed graph The problem of finding the shortest path between two intersections on a road map may be modeled as a special case of the shortest path problem in graphs where the vertices correspond to intersections and the edges correspond to road segments each weighted by the length or distance of each segment DefinitionThe shortest path problem can be defined for graphs whether undirected directed or mixed The definition for undirected graphs states that every edge can be traversed in either direction Directed graphs require that consecutive vertices be connected by an appropriate directed edge Two vertices are adjacent when they are both incident to a common edge A path in an undirected graph is a sequence of vertices P v1 v2 vn V V V displaystyle P v 1 v 2 ldots v n in V times V times cdots times V such that vi displaystyle v i is adjacent to vi 1 displaystyle v i 1 for 1 i lt n displaystyle 1 leq i lt n Such a path P displaystyle P is called a path of length n 1 displaystyle n 1 from v1 displaystyle v 1 to vn displaystyle v n The vi displaystyle v i are variables their numbering relates to their position in the sequence and need not relate to a canonical labeling Let E ei j displaystyle E e i j where ei j displaystyle e i j is the edge incident to both vi displaystyle v i and vj displaystyle v j Given a real valued weight function f E R displaystyle f E rightarrow mathbb R and an undirected simple graph G displaystyle G the shortest path from v displaystyle v to v displaystyle v is the path P v1 v2 vn displaystyle P v 1 v 2 ldots v n where v1 v displaystyle v 1 v and vn v displaystyle v n v that over all possible n displaystyle n minimizes the sum i 1n 1f ei i 1 displaystyle sum i 1 n 1 f e i i 1 When each edge in the graph has unit weight or f E 1 displaystyle f E rightarrow 1 this is equivalent to finding the path with fewest edges The problem is also sometimes called the single pair shortest path problem to distinguish it from the following variations The single source shortest path problem in which we have to find shortest paths from a source vertex v to all other vertices in the graph The single destination shortest path problem in which we have to find shortest paths from all vertices in the directed graph to a single destination vertex v This can be reduced to the single source shortest path problem by reversing the arcs in the directed graph The all pairs shortest path problem in which we have to find shortest paths between every pair of vertices v v in the graph These generalizations have significantly more efficient algorithms than the simplistic approach of running a single pair shortest path algorithm on all relevant pairs of vertices AlgorithmsSeveral well known algorithms exist for solving this problem and its variants Dijkstra s algorithm solves the single source shortest path problem with only non negative edge weights Bellman Ford algorithm solves the single source problem if edge weights may be negative A search algorithm solves for single pair shortest path using heuristics to try to speed up the search Floyd Warshall algorithm solves all pairs shortest paths Johnson s algorithm solves all pairs shortest paths and may be faster than Floyd Warshall on sparse graphs Viterbi algorithm solves the shortest stochastic path problem with an additional probabilistic weight on each node Additional algorithms and associated evaluations may be found in Cherkassky Goldberg amp Radzik 1996 Single source shortest pathsUndirected graphs Weights Time complexity AuthorR displaystyle mathbb R O V2 Dijkstra 1959R displaystyle mathbb R O E V log V Johnson 1977 binary heap R displaystyle mathbb R O E V log V Fredman amp Tarjan 1984 Fibonacci heap N displaystyle mathbb N O E Thorup 1999 requires constant time multiplication R displaystyle mathbb R O Elog Vlog log V displaystyle O E sqrt log V log log V Duan et al 2023Unweighted graphs Algorithm Time complexity AuthorBreadth first search O E V Directed acyclic graphs An algorithm using topological sorting can solve the single source shortest path problem in time 8 E V in arbitrarily weighted directed acyclic graphs Directed graphs with nonnegative weights The following table is taken from Schrijver 2004 with some corrections and additions A green background indicates an asymptotically best bound in the table L is the maximum length or weight among all edges assuming integer edge weights Weights Algorithm Time complexity AuthorR displaystyle mathbb R O V2EL displaystyle O V 2 EL Ford 1956R displaystyle mathbb R Bellman Ford algorithm O VE displaystyle O VE Shimbel 1955 Bellman 1958 Moore 1959R displaystyle mathbb R O V2log V displaystyle O V 2 log V Dantzig 1960R displaystyle mathbb R Dijkstra s algorithm with list O V2 displaystyle O V 2 Leyzorek et al 1957 Dijkstra 1959 Minty see Pollack amp Wiebenson 1960 Whiting amp Hillier 1960R displaystyle mathbb R Dijkstra s algorithm with binary heap O E V log V displaystyle O E V log V Johnson 1977R displaystyle mathbb R Dijkstra s algorithm with Fibonacci heap O E Vlog V displaystyle O E V log V Fredman amp Tarjan 1984 Fredman amp Tarjan 1987R displaystyle mathbb R Quantum Dijkstra algorithm with adjacency list O VElog2 V displaystyle O sqrt VE log 2 V Durr et al 2006N displaystyle mathbb N Dial s algorithm Dijkstra s algorithm using a bucket queue with L buckets O E LV displaystyle O E LV Dial 1969O Elog log L displaystyle O E log log L Johnson 1981 Karlsson amp Poblete 1983O ElogE V L displaystyle O E log E V L Gabow 1983 Gabow 1985O E Vlog L displaystyle O E V sqrt log L Ahuja et al 1990N displaystyle mathbb N Thorup O E Vlog log V displaystyle O E V log log V Thorup 2004This list is incomplete you can help by adding missing items February 2011 Directed graphs with arbitrary weights without negative cycles Weights Algorithm Time complexity AuthorR displaystyle mathbb R O V2EL displaystyle O V 2 EL Ford 1956R displaystyle mathbb R Bellman Ford algorithm O VE displaystyle O VE Shimbel 1955 Bellman 1958 Moore 1959R displaystyle mathbb R Johnson Dijkstra with binary heap O VE Vlog V displaystyle O VE V log V Johnson 1977R displaystyle mathbb R Johnson Dijkstra with Fibonacci heap O VE Vlog V displaystyle O VE V log V Fredman amp Tarjan 1984 Fredman amp Tarjan 1987 adapted after Johnson 1977Z displaystyle mathbb Z Johnson s technique applied to Dial s algorithm O V E L displaystyle O V E L Dial 1969 adapted after Johnson 1977Z displaystyle mathbb Z Interior point method with Laplacian solver O E10 7logO 1 VlogO 1 L displaystyle O E 10 7 log O 1 V log O 1 L Cohen et al 2017harvnb error no target https doi org 10 1137 1 9781611974782 48 help Z displaystyle mathbb Z Interior point method with ℓp displaystyle ell p flow solver E4 3 o 1 logO 1 L displaystyle E 4 3 o 1 log O 1 L Axiotis Madry amp Vladu 2020harvnb error no target https doi org 10 1109 FOCS46700 2020 00018 help Z displaystyle mathbb Z Robust interior point method with sketching O E V3 2 logO 1 VlogO 1 L displaystyle O E V 3 2 log O 1 V log O 1 L van den Brand et al 2020harvnb error no target https doi org 10 1109 FOCS46700 2020 00090 help Z displaystyle mathbb Z ℓ1 displaystyle ell 1 interior point method with dynamic min ratio cycle data structure O E1 o 1 log L displaystyle O E 1 o 1 log L Chen et al 2022harvnb error no target https doi org 10 1109 FOCS54457 2022 00064 help Z displaystyle mathbb Z Based on low diameter decomposition O Elog8 Vlog L displaystyle O E log 8 V log L Bernstein Nanongkai amp Wulff Nilsen 2022R displaystyle mathbb R Hop limited shortest paths O EV8 9logO 1 V displaystyle O EV 8 9 log O 1 V Fineman 2023harvnb error no target https arxiv org abs 2311 02520 help This list is incomplete you can help by adding missing items December 2012 Directed graphs with arbitrary weights with negative cycles Finds a negative cycle or calculates distances to all vertices Weights Algorithm Time complexity AuthorZ displaystyle mathbb Z O EVlog N displaystyle O E sqrt V log N Andrew V GoldbergPlanar graphs with nonnegative weights Weights Algorithm Time complexity AuthorR 0 displaystyle mathbb R geq 0 O V displaystyle O V Henzinger et al 1997ApplicationsNetwork flows are a fundamental concept in graph theory and operations research often used to model problems involving the transportation of goods liquids or information through a network A network flow problem typically involves a directed graph where each edge represents a pipe wire or road and each edge has a capacity which is the maximum amount that can flow through it The goal is to find a feasible flow that maximizes the flow from a source node to a sink node Shortest Path Problems can be used to solve certain network flow problems particularly when dealing with single source single sink networks In these scenarios we can transform the network flow problem into a series of shortest path problems Transformation Steps Create a Residual Graph For each edge u v in the original graph create two edges in the residual graph u v with capacity c u v v u with capacity 0 The residual graph represents the remaining capacity available in the network Find the Shortest Path Use a shortest path algorithm e g Dijkstra s algorithm Bellman Ford algorithm to find the shortest path from the source node to the sink node in the residual graph Augment the Flow Find the minimum capacity along the shortest path Increase the flow on the edges of the shortest path by this minimum capacity Decrease the capacity of the edges in the forward direction and increase the capacity of the edges in the backward direction Update the Residual Graph Update the residual graph based on the augmented flow Repeat Repeat steps 2 4 until no more paths can be found from the source to the sink All pairs shortest pathsThe all pairs shortest path problem finds the shortest paths between every pair of vertices v v in the graph The all pairs shortest paths problem for unweighted directed graphs was introduced by Shimbel 1953 who observed that it could be solved by a linear number of matrix multiplications that takes a total time of O V4 Undirected graph Weights Time complexity AlgorithmR displaystyle mathbb R O V3 Floyd Warshall algorithm 1 displaystyle 1 infty O Vwlog V displaystyle O V omega log V Seidel s algorithm expected running time N displaystyle mathbb N O V3 2W log V 1 2 displaystyle O V 3 2 Omega log V 1 2 Williams 2014R displaystyle mathbb R O EV log a E V Pettie amp Ramachandran 2002N displaystyle mathbb N O EV Thorup 1999 applied to every vertex requires constant time multiplication Directed graph Weights Time complexity AlgorithmR displaystyle mathbb R no negative cycles O V3 displaystyle O V 3 Floyd Warshall algorithmN displaystyle mathbb N O V3 2W log V 1 2 displaystyle O V 3 2 Omega log V 1 2 Williams 2014R displaystyle mathbb R no negative cycles O V2 5log2 V displaystyle O V 2 5 log 2 V Quantum searchR displaystyle mathbb R no negative cycles O EV V2 log V Johnson DijkstraR displaystyle mathbb R no negative cycles O EV V2 log log V Pettie 2004N displaystyle mathbb N O EV V2 log log V Hagerup 2000ApplicationsShortest path algorithms are applied to automatically find directions between physical locations such as driving directions on web mapping websites like MapQuest or Google Maps For this application fast specialized algorithms are available If one represents a nondeterministic abstract machine as a graph where vertices describe states and edges describe possible transitions shortest path algorithms can be used to find an optimal sequence of choices to reach a certain goal state or to establish lower bounds on the time needed to reach a given state For example if vertices represent the states of a puzzle like a Rubik s Cube and each directed edge corresponds to a single move or turn shortest path algorithms can be used to find a solution that uses the minimum possible number of moves In a networking or telecommunications mindset this shortest path problem is sometimes called the min delay path problem and usually tied with a widest path problem For example the algorithm may seek the shortest min delay widest path or widest shortest min delay path A more lighthearted application is the games of six degrees of separation that try to find the shortest path in graphs like movie stars appearing in the same film Other applications often studied in operations research include plant and facility layout robotics transportation and VLSI design Road networks A road network can be considered as a graph with positive weights The nodes represent road junctions and each edge of the graph is associated with a road segment between two junctions The weight of an edge may correspond to the length of the associated road segment the time needed to traverse the segment or the cost of traversing the segment Using directed edges it is also possible to model one way streets Such graphs are special in the sense that some edges are more important than others for long distance travel e g highways This property has been formalized using the notion of highway dimension There are a great number of algorithms that exploit this property and are therefore able to compute the shortest path a lot quicker than would be possible on general graphs All of these algorithms work in two phases In the first phase the graph is preprocessed without knowing the source or target node The second phase is the query phase In this phase source and target node are known The idea is that the road network is static so the preprocessing phase can be done once and used for a large number of queries on the same road network The algorithm with the fastest known query time is called hub labeling and is able to compute shortest path on the road networks of Europe or the US in a fraction of a microsecond Other techniques that have been used are ALT A search landmarks and triangle inequality Arc flags Contraction hierarchies Transit node routing Reach based pruning Labeling Hub labelsRelated problemsFor shortest path problems in computational geometry see Euclidean shortest path The shortest multiple disconnected path is a representation of the primitive path network within the framework of Reptation theory The widest path problem seeks a path so that the minimum label of any edge is as large as possible Other related problems may be classified into the following categories Paths with constraints Unlike the shortest path problem which can be solved in polynomial time in graphs without negative cycles shortest path problems which include additional constraints on the desired solution path are called Constrained Shortest Path First and are harder to solve One example is the constrained shortest path problem which attempts to minimize the total cost of the path while at the same time maintaining another metric below a given threshold This makes the problem NP complete such problems are not believed to be efficiently solvable for large sets of data see P NP problem Another NP complete example requires a specific set of vertices to be included in the path which makes the problem similar to the Traveling Salesman Problem TSP The TSP is the problem of finding the shortest path that goes through every vertex exactly once and returns to the start The problem of finding the longest path in a graph is also NP complete Partial observability The Canadian traveller problem and the stochastic shortest path problem are generalizations where either the graph is not completely known to the mover changes over time or where actions traversals are probabilistic Strategic shortest paths This section does not cite any sources Please help improve this section by adding citations to reliable sources Unsourced material may be challenged and removed December 2015 Learn how and when to remove this message Sometimes the edges in a graph have personalities each edge has its own selfish interest An example is a communication network in which each edge is a computer that possibly belongs to a different person Different computers have different transmission speeds so every edge in the network has a numeric weight equal to the number of milliseconds it takes to transmit a message Our goal is to send a message between two points in the network in the shortest time possible If we know the transmission time of each computer the weight of each edge then we can use a standard shortest paths algorithm If we do not know the transmission times then we have to ask each computer to tell us its transmission time But the computers may be selfish a computer might tell us that its transmission time is very long so that we will not bother it with our messages A possible solution to this problem is to use a variant of the VCG mechanism which gives the computers an incentive to reveal their true weights Negative cycle detection In some cases the main goal is not to find the shortest path but only to detect if the graph contains a negative cycle Some shortest paths algorithms can be used for this purpose The Bellman Ford algorithm can be used to detect a negative cycle in time O V E displaystyle O V E Cherkassky and Goldberg survey several other algorithms for negative cycle detection General algebraic framework on semirings the algebraic path problemThis section needs expansion You can help by adding to it August 2014 Many problems can be framed as a form of the shortest path for some suitably substituted notions of addition along a path and taking the minimum The general approach to these is to consider the two operations to be those of a semiring Semiring multiplication is done along the path and the addition is between paths This general framework is known as the algebraic path problem Most of the classic shortest path algorithms and new ones can be formulated as solving linear systems over such algebraic structures More recently an even more general framework for solving these and much less obviously related problems has been developed under the banner of valuation algebras Shortest path in stochastic time dependent networksIn real life a transportation network is usually stochastic and time dependent The travel duration on a road segment depends on many factors such as the amount of traffic origin destination matrix road work weather accidents and vehicle breakdowns A more realistic model of such a road network is a stochastic time dependent STD network There is no accepted definition of optimal path under uncertainty that is in stochastic road networks It is a controversial subject despite considerable progress during the past decade One common definition is a path with the minimum expected travel time The main advantage of this approach is that it can make use of efficient shortest path algorithms for deterministic networks However the resulting optimal path may not be reliable because this approach fails to address travel time variability To tackle this issue some researchers use travel duration distribution instead of its expected value So they find the probability distribution of total travel duration using different optimization methods such as dynamic programming and Dijkstra s algorithm These methods use stochastic optimization specifically stochastic dynamic programming to find the shortest path in networks with probabilistic arc length The terms travel time reliability and travel time variability are used as opposites in the transportation research literature the higher the variability the lower the reliability of predictions To account for variability researchers have suggested two alternative definitions for an optimal path under uncertainty The most reliable path is one that maximizes the probability of arriving on time given a travel time budget An a reliable path is one that minimizes the travel time budget required to arrive on time with a given probability See alsoBidirectional search an algorithm that finds the shortest path between two vertices on a directed graph Euclidean shortest path Flow network K shortest path routing Min plus matrix multiplication Pathfinding Shortest Path Bridging Shortest path tree TRILL TRansparent Interconnection of Lots of Links ReferencesNotes The Shortest Path Problem Synthesis Lectures on Theoretical Computer Science 2015 doi 10 1007 978 3 031 02574 7 ISBN 978 3 031 01446 8 Deo Narsingh 17 August 2016 Graph Theory with Applications to Engineering and Computer Science Courier Dover Publications ISBN 978 0 486 80793 5 Cormen et al 2001 p 655 Durr Christoph Heiligman Mark Hoyer Peter Mhalla Mehdi January 2006 Quantum query complexity of some graph problems SIAM Journal on Computing 35 6 1310 1328 arXiv quant ph 0401091 doi 10 1137 050644719 ISSN 0097 5397 S2CID 14253494 Dial Robert B 1969 Algorithm 360 Shortest Path Forest with Topological Ordering H Communications of the ACM 12 11 632 633 doi 10 1145 363269 363610 S2CID 6754003 Cormen Thomas H July 31 2009 Introduction to Algorithms 3rd ed MIT Press ISBN 9780262533058 a href wiki Template Cite book title Template Cite book cite book a CS1 maint date and year link Kleinberg Jon Tardos Eva 2005 Algorithm Design 1st ed Addison Wesley ISBN 978 0321295354 Durr C Hoyer P 1996 07 18 A Quantum Algorithm for Finding the Minimum arXiv quant ph 9607014 Nayebi Aran Williams V V 2014 10 22 Quantum algorithms for shortest paths problems in structured instances arXiv 1410 6220 quant ph Sanders Peter March 23 2009 Fast route planning Google Tech Talk Archived from the original on 2021 12 11 Hoceini S A Mellouk Y Amirat 2005 K Shortest Paths Q Routing A New QoS Routing Algorithm in Telecommunication Networks Networking ICN 2005 Lecture Notes in Computer Science Vol 3421 Vol 3421 Springer Berlin Heidelberg pp 164 172 doi 10 1007 978 3 540 31957 3 21 ISBN 978 3 540 25338 9 Chen Danny Z December 1996 Developing algorithms and software for geometric path planning problems ACM Computing Surveys 28 4es Article 18 doi 10 1145 242224 242246 S2CID 11761485 Abraham Ittai Fiat Amos Goldberg Andrew V Werneck Renato F Highway Dimension Shortest Paths and Provably Efficient Algorithms ACM SIAM Symposium on Discrete Algorithms pages 782 793 2010 Abraham Ittai Delling Daniel Goldberg Andrew V Werneck Renato F research microsoft com pubs 142356 HL TR pdf A Hub Based Labeling Algorithm for Shortest Paths on Road Networks Symposium on Experimental Algorithms pages 230 241 2011 Kroger Martin 2005 Shortest multiple disconnected path for the analysis of entanglements in two and three dimensional polymeric systems Computer Physics Communications 168 3 209 232 Bibcode 2005CoPhC 168 209K doi 10 1016 j cpc 2005 01 020 Lozano Leonardo Medaglia Andres L 2013 On an exact method for the constrained shortest path problem Computers amp Operations Research 40 1 378 384 doi 10 1016 j cor 2012 07 008 Osanlou Kevin Bursuc Andrei Guettier Christophe Cazenave Tristan Jacopin Eric 2019 Optimal Solving of Constrained Path Planning Problems with Graph Convolutional Networks and Optimized Tree Search 2019 IEEE RSJ International Conference on Intelligent Robots and Systems IROS pp 3519 3525 arXiv 2108 01036 doi 10 1109 IROS40897 2019 8968113 ISBN 978 1 7281 4004 9 S2CID 210706773 Bar Noy Amotz Schieber Baruch 1991 The canadian traveller problem Proceedings of the Second Annual ACM SIAM Symposium on Discrete Algorithms 261 270 CiteSeerX 10 1 1 1088 3015 Nikolova Evdokia Karger David R Route planning under uncertainty the Canadian traveller problem PDF Proceedings of the 23rd National Conference on Artificial Intelligence AAAI pp 969 974 Archived PDF from the original on 2022 10 09 Cherkassky Boris V Goldberg Andrew V 1999 06 01 Negative cycle detection algorithms Mathematical Programming 85 2 277 311 doi 10 1007 s101070050058 ISSN 1436 4646 S2CID 79739 Pair Claude 1967 Sur des algorithmes pour des problemes de cheminement dans les graphes finis On algorithms for path problems in finite graphs In Rosentiehl Pierre ed Theorie des graphes journees internationales d etudes Theory of Graphs international symposium Rome Italy July 1966 Dunod Paris Gordon and Breach New York p 271 OCLC 901424694 Derniame Jean Claude Pair Claude 1971 Problemes de cheminement dans les graphes Path Problems in Graphs Dunod Paris Baras John Theodorakopoulos George 4 April 2010 Path Problems in Networks Morgan amp Claypool Publishers pp 9 ISBN 978 1 59829 924 3 Gondran Michel Minoux Michel 2008 chapter 4 Graphs Dioids and Semirings New Models and Algorithms Springer Science amp Business Media ISBN 978 0 387 75450 5 Pouly Marc Kohlas Jurg 2011 Chapter 6 Valuation Algebras for Path Problems Generic Inference A Unifying Theory for Automated Reasoning John Wiley amp Sons ISBN 978 1 118 01086 0 Loui R P 1983 Optimal paths in graphs with stochastic or multidimensional weights Communications of the ACM 26 9 pp 670 676 Rajabi Bahaabadi Mojtaba Shariat Mohaymany Afshin Babaei Mohsen Ahn Chang Wook 2015 Multi objective path finding in stochastic time dependent road networks using non dominated sorting genetic algorithm Expert Systems with Applications 42 12 5056 5064 doi 10 1016 j eswa 2015 02 046 Olya Mohammad Hessam 2014 Finding shortest path in a combined exponential gamma probability distribution arc length International Journal of Operational Research 21 1 25 37 doi 10 1504 IJOR 2014 064020 Olya Mohammad Hessam 2014 Applying Dijkstra s algorithm for general shortest path problem with normal probability distribution arc length International Journal of Operational Research 21 2 143 154 doi 10 1504 IJOR 2014 064541 Bibliography Ahuja Ravindra K Mehlhorn Kurt Orlin James Tarjan Robert E April 1990 Faster algorithms for the shortest path problem PDF Journal of the ACM 37 2 ACM 213 223 doi 10 1145 77600 77615 hdl 1721 1 47994 S2CID 5499589 Archived PDF from the original on 2022 10 09 Bellman Richard 1958 On a routing problem Quarterly of Applied Mathematics 16 87 90 doi 10 1090 qam 102435 MR 0102435 Bernstein Aaron Nanongkai Danupon Wulff Nilsen Christian 2022 Negative Weight Single Source Shortest Paths in Near linear Time 2022 IEEE 63rd Annual Symposium on Foundations of Computer Science FOCS IEEE pp 600 611 arXiv 2203 03456 doi 10 1109 focs54457 2022 00063 ISBN 978 1 6654 5519 0 S2CID 247958461 Duan Ran Mao Jiayi Shu Xinkai Yin Longhui 2023 A Randomized Algorithm for Single Source Shortest Path on Undirected Real Weighted Graphs 2023 IEEE 64th Annual Symposium on Foundations of Computer Science FOCS IEEE pp 484 492 arXiv 2307 04139 doi 10 1109 focs57990 2023 00035 ISBN 979 8 3503 1894 4 S2CID 259501045 Cherkassky Boris V Goldberg Andrew V Radzik Tomasz 1996 Shortest paths algorithms theory and experimental evaluation Mathematical Programming Ser A 73 2 129 174 doi 10 1016 0025 5610 95 00021 6 MR 1392160 Cormen Thomas H Leiserson Charles E Rivest Ronald L Stein Clifford 2001 1990 Single Source Shortest Paths and All Pairs Shortest Paths Introduction to Algorithms 2nd ed MIT Press and McGraw Hill pp 580 642 ISBN 0 262 03293 7 Dantzig G B January 1960 On the Shortest Route through a Network Management Science 6 2 187 190 doi 10 1287 mnsc 6 2 187 Dijkstra E W 1959 A note on two problems in connexion with graphs Numerische Mathematik 1 269 271 doi 10 1007 BF01386390 S2CID 123284777 Ford L R 1956 Network Flow Theory Report Santa Monica CA RAND Corporation P 923 Fredman Michael Lawrence Tarjan Robert E 1984 Fibonacci heaps and their uses in improved network optimization algorithms 25th Annual Symposium on Foundations of Computer Science IEEE pp 338 346 doi 10 1109 SFCS 1984 715934 ISBN 0 8186 0591 X Fredman Michael Lawrence Tarjan Robert E 1987 Fibonacci heaps and their uses in improved network optimization algorithms Journal of the Association for Computing Machinery 34 3 596 615 doi 10 1145 28869 28874 S2CID 7904683 Gabow H N 1983 Scaling algorithms for network problems PDF Proceedings of the 24th Annual Symposium on Foundations of Computer Science FOCS 1983 pp 248 258 doi 10 1109 SFCS 1983 68 Gabow Harold N 1985 Scaling algorithms for network problems Journal of Computer and System Sciences 31 2 148 168 doi 10 1016 0022 0000 85 90039 X MR 0828519 Hagerup Torben 2000 Improved Shortest Paths on the Word RAM In Montanari Ugo Rolim Jose D P Welzl Emo eds Proceedings of the 27th International Colloquium on Automata Languages and Programming pp 61 72 ISBN 978 3 540 67715 4 Henzinger Monika R Klein Philip Rao Satish Subramanian Sairam 1997 Faster Shortest Path Algorithms for Planar Graphs Journal of Computer and System Sciences 55 1 3 23 doi 10 1006 jcss 1997 1493 Johnson Donald B 1977 Efficient algorithms for shortest paths in sparse networks Journal of the ACM 24 1 1 13 doi 10 1145 321992 321993 S2CID 207678246 Johnson Donald B December 1981 A priority queue in which initialization and queue operations take O log log D time Mathematical Systems Theory 15 1 295 309 doi 10 1007 BF01786986 MR 0683047 S2CID 35703411 Karlsson Rolf G Poblete Patricio V 1983 An O m log log D algorithm for shortest paths Discrete Applied Mathematics 6 1 91 93 doi 10 1016 0166 218X 83 90104 X MR 0700028 Leyzorek M Gray R S Johnson A A Ladew W C Meaker S R Jr Petry R M Seitz R N 1957 Investigation of Model Techniques First Annual Report 6 June 1956 1 July 1957 A Study of Model Techniques for Communication Systems Cleveland Ohio Case Institute of Technology Moore E F 1959 The shortest path through a maze Proceedings of an International Symposium on the Theory of Switching Cambridge Massachusetts 2 5 April 1957 Cambridge Harvard University Press pp 285 292 Pettie Seth Ramachandran Vijaya 2002 Computing shortest paths with comparisons and additions Proceedings of the Thirteenth Annual ACM SIAM Symposium on Discrete Algorithms pp 267 276 ISBN 978 0 89871 513 2 Pettie Seth 26 January 2004 A new approach to all pairs shortest paths on real weighted graphs Theoretical Computer Science 312 1 47 74 doi 10 1016 s0304 3975 03 00402 x Pollack Maurice Wiebenson Walter March April 1960 Solution of the Shortest Route Problem A Review Oper Res 8 2 224 230 doi 10 1287 opre 8 2 224 Attributes Dijkstra s algorithm to Minty private communication on p 225 Schrijver Alexander 2004 Combinatorial Optimization Polyhedra and Efficiency Algorithms and Combinatorics Vol 24 Springer vol A sect 7 5b p 103 ISBN 978 3 540 20456 5 Shimbel Alfonso 1953 Structural parameters of communication networks Bulletin of Mathematical Biophysics 15 4 501 507 doi 10 1007 BF02476438 Shimbel A 1955 Structure in communication nets Proceedings of the Symposium on Information Networks New York NY Polytechnic Press of the Polytechnic Institute of Brooklyn pp 199 203 Thorup Mikkel 1999 Undirected single source shortest paths with positive integer weights in linear time Journal of the ACM 46 3 362 394 doi 10 1145 316542 316548 S2CID 207654795 Thorup Mikkel 2004 Integer priority queues with decrease key in constant time and the single source shortest paths problem Journal of Computer and System Sciences 69 3 330 353 doi 10 1016 j jcss 2004 04 003 Whiting P D Hillier J A March June 1960 A Method for Finding the Shortest Route through a Road Network Operational Research Quarterly 11 1 2 37 40 doi 10 1057 jors 1960 32 Williams Ryan 2014 Faster all pairs shortest paths via circuit complexity Proceedings of the 46th Annual ACM Symposium on Theory of Computing STOC 14 New York ACM pp 664 673 arXiv 1312 6680 doi 10 1145 2591796 2591811 MR 3238994 Further readingAltintas Gokhan 2020 Exact Solutions of Shortest Path Problems Based on Mechanical Analogies In Connection with Labyrinths Amazon Digital Services LLC ISBN 9798655831896 Frigioni D Marchetti Spaccamela A Nanni U 1998 Fully dynamic output bounded single source shortest path problem Proc 7th Annu ACM SIAM Symp Discrete Algorithms Atlanta GA pp 212 221 CiteSeerX 10 1 1 32 9856 Dreyfus S E October 1967 An Appraisal of Some Shortest Path Algorithms PDF Report Project Rand United States Air Force RM 5433 PR Archived PDF from the original on November 17 2015 DTIC AD 661265