Skip to main content
QUICK REVIEW

[Paper Review] Bounded Dijkstra (BD): Search Space Reduction for Expediting Shortest Path Subroutines

Amaury Van Bemten, Jochen Guck|arXiv (Cornell University)|Mar 1, 2019
Complexity and Algorithms in GraphsComputer Science50 references3 citations
TL;DR

This paper introduces Bounded Dijkstra (BD), an optimized variant of Dijkstra's algorithm that terminates early when path costs exceed a given bound, significantly reducing search space and runtime. By leveraging the fact that Dijkstra processes paths in increasing cost order, BD avoids exploring paths that would be discarded by higher-level algorithms, reducing runtime by up to 75% on average in constrained shortest path (CSP) algorithms without affecting correctness.

ABSTRACT

The shortest path (SP) and shortest paths tree (SPT) problems arise both as direct applications and as subroutines of overlay algorithms solving more complex problems such as the constrained shortest path (CSP) or the constrained minimum Steiner tree (CMST) problems. Often, such algorithms do not use the result of an SP subroutine if its total cost is greater than a given bound. For example, for delay-constrained problems, paths resulting from a least-delay SP run and whose delay is greater than the delay constraint of the original problem are not used by the overlay algorithm to construct its solution. As a result of the existence of these bounds, and because the Dijkstra SP algorithm discovers paths in increasing order of cost, we can terminate the SP search earlier, i.e., once it is known that paths with a greater total cost will not be considered by the overlay algorithm. This early termination allows to reduce the runtime of the SP subroutine, thereby reducing the runtime of the overlay algorithm without impacting its final result. We refer to this adaptation of Dijkstra for centralized implementations as bounded Dijkstra (BD). On the example of CSP algorithms, we confirm the usefulness of BD by showing that it can reduce the runtime of some algorithms by 75% on average.

Motivation & Objective

  • To reduce the runtime of shortest path (SP) and shortest paths tree (SPT) subroutines used in complex overlay algorithms such as constrained shortest path (CSP) and constrained minimum Steiner tree (CMST).
  • To exploit the fact that many SP subroutines are discarded if their total cost exceeds a known bound, allowing early termination of Dijkstra’s algorithm without compromising correctness.
  • To present a general-purpose optimization—Bounded Dijkstra (BD)—that can be applied to any algorithm using SP/SPT subroutines with a known cost bound.
  • To empirically validate BD’s performance gains across a wide range of CSP algorithms, demonstrating consistent and substantial speedups.

Proposed method

  • Adapt Dijkstra’s algorithm to terminate early once the smallest path cost exceeding a given bound is encountered, since all subsequent paths will also exceed the bound.
  • Integrate the bound directly into the SP/SPT subroutine, ensuring that only relevant paths are explored, thereby reducing the search space.
  • Use the bound as a pruning condition during the priority queue processing phase of Dijkstra’s algorithm, without modifying the core algorithm logic.
  • Apply BD to both single-path (SP) and tree-based (SPT) searches, with greater performance gains observed in SPT runs due to broader exploration.
  • Ensure compatibility with existing data structures and algorithmic extensions (e.g., hierarchical routing, optimized heaps) by making BD orthogonal to such optimizations.
  • Evaluate BD across 26 surveyed CSP algorithms, demonstrating its broad applicability and performance impact under varying constraints and topologies.

Experimental results

Research questions

  • RQ1Can early termination of Dijkstra’s algorithm based on a known cost bound significantly reduce runtime without affecting solution correctness?
  • RQ2How does the performance gain of Bounded Dijkstra (BD) vary across different types of SP/SPT subroutines (e.g., SP vs. SPT) and algorithmic designs?
  • RQ3What is the impact of bound tightness and source-destination distance on the effectiveness of BD in reducing search space and execution time?
  • RQ4Which classes of CSP algorithms benefit most from BD, and can BD be universally applied to existing routing algorithms with minimal modification?
  • RQ5Does BD maintain solution fidelity while enabling substantial performance improvements in real-world network topologies and QoS-constrained routing scenarios?

Key findings

  • BD reduces the average runtime of CSP algorithms by up to 75%, with significant gains observed across a broad range of implementations.
  • For favorable cases—tight delay constraints and short source-destination distances—BD can accelerate algorithms by more than 25 times (i.e., 96% runtime reduction on average).
  • The performance gain is greater for SPT-based searches than for SP-based searches, as SPTs explore more paths and thus benefit more from pruning.
  • Even in feasible delay scenarios, BD provides substantial speedups, with some algorithms running up to 3 times faster (66% reduction) when the delay bound is tight.
  • BD remains effective as long as the source and destination are within 40–50% of the topology size, beyond which the graph boundary naturally limits expansion and reduces BD’s relative impact.
  • All evaluated algorithms maintain identical outputs with and without BD, confirming that the optimization does not compromise correctness.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.