Skip to content
Opt Dir

Glossary ยท approach

Shortest Path Problem

Foundational graph-OR problem of finding the minimum total weighted path between two nodes on a weighted graph (single-source single-destination, single-source all-destinations, or all-pairs); polynomial-time algorithms Dijkstra (1959), Bellman-Ford (1958), Floyd-Warshall (1962).

Shortest PathSPPMinimum PathLeast-Cost Path
Shortest Path Problem (SPP) is the problem of finding the path of minimum total edge weight between two nodes on a weighted graph (directed or undirected), in one of three core variants: single-source single-destination (one point-to-point), single-source all-destinations (one source to all targets), or all-pairs (every pair). It is the foundational graph-OR problem; for non-negative edges the canonical solution is the polynomial-time algorithm defined by Dijkstra (1959) in a two-page *Numerische Mathematik* paper (binary heap implementation O((V+E)logV)). For negative edges, Bellman-Ford (Bellman 1958) solves in O(VE) and detects negative cycles. For all-pairs, Floyd-Warshall (Floyd 1962) solves by dynamic programming in O(Vยณ). Ahuja-Magnanti-Orlin (1993) *Network Flows* is the canonical textbook. The most frequently invoked OR algorithm in modern industry โ€” it runs underneath navigation services, mapping services, packet-routing protocols (OSPF), parcel-delivery sequencing, highway route planning; on country-scale road networks, modern preprocessing-based approaches (contraction hierarchies โ€” Geisberger 2008) deliver sub-millisecond query time. TSP (#068) and VRP (#002) call shortest path as a subroutine but are different problems: shortest path is polynomial-time, TSP/VRP are NP-hard.
ร–rnek

A domestic parcel operator computes shortest-time routes from a central depot to customer addresses for 50,000 parcels/day using a heap-based Dijkstra implementation; switching to a traffic-aware (time-dependent) variant cuts daily fuel by 15-25%.

Where this term appears

Esc Close