VFF - The signal in the noise
Research

Dijkstra Beats RAPTOR for Transit Routing with Buffer Times

Denys Katkalo, Andrii Rohovyi, Toby WalshRead original
Share
Dijkstra Beats RAPTOR for Transit Routing with Buffer Times

Researchers revisit classical Dijkstra-based algorithms for public transit routing and demonstrate that Time-Dependent Dijkstra (TD-Dijkstra) outperforms the state-of-the-art RAPTOR-based approach (MR) for unlimited transfers without preprocessing. They identify a critical flaw in existing TD-Dijkstra implementations: preprocessing that filters dominated connections is unsound when stops have buffer times, since it cannot distinguish between seated passengers continuing without delay and transferring passengers who must wait. The authors introduce Transfer Aware Dijkstra (TAD), which scans entire trip sequences rather than individual edges to correctly handle buffer times while maintaining over 2x speed improvements on London and Switzerland networks.

  • TD-Dijkstra outperforms RAPTOR-based MR algorithm for public transit routing with unlimited transfers, contrary to recent algorithmic evolution in the field
  • Existing TD-Dijkstra preprocessing filters are mathematically unsound for networks with buffer times at stops, creating correctness issues
  • Transfer Aware Dijkstra (TAD) fixes the buffer time problem by processing full trip sequences instead of individual edges while preserving performance gains
  • Experiments show greater than 2x speedup over MR with optimal results on real networks both with and without buffer constraints

This work challenges the assumption that newer RAPTOR-based algorithms are categorically superior to classical approaches for transit routing, revealing that systematic re-examination of foundational algorithms can yield both correctness improvements and performance gains. For the broader AI and optimization community, it demonstrates the importance of rigorous algorithmic analysis when assumptions about real-world constraints like buffer times are embedded in preprocessing steps.

Transit routing powers navigation apps, trip planning services, and logistics optimization for millions of users daily. A 2x speedup with correct handling of real-world buffer constraints directly improves user experience and reduces infrastructure costs for mapping platforms, transit agencies, and mobility services that rely on fast, accurate routing.

  • Classical algorithms deserve systematic re-evaluation against newer approaches rather than assumption-based dismissal, potentially unlocking performance and correctness gains in other domains
  • Real-world constraints like buffer times must be explicitly modeled in algorithm design and preprocessing, not assumed away, to avoid subtle correctness bugs in production systems
  • RAPTOR-based methods may not be optimal for all transit routing scenarios, particularly those with complex transfer rules or buffer requirements common in European networks

Monitor adoption of TAD in commercial routing engines and whether other transit networks with buffer constraints report similar speedups and correctness improvements. Watch for whether this work prompts broader re-examination of preprocessing assumptions in other graph algorithms used in logistics, navigation, and network optimization.

Share

Our Briefing

Weekly signal. No noise. Built for founders, operators, and AI-curious professionals.

No spam. Unsubscribe any time.

Related stories

AdventHealth deploys ChatGPT to cut administrative burden
News

AdventHealth deploys ChatGPT to cut administrative burden

AdventHealth is deploying ChatGPT for Healthcare to streamline clinical and administrative workflows, with the goal of reducing administrative burden on staff and freeing up time for direct patient care. The health system is using OpenAI's healthcare-specific model to handle workflow optimization tasks. This represents a practical application of generative AI in healthcare operations rather than clinical decision-making.

16 days ago· OpenAI
AI Discovers Security Flaws Faster Than Humans Can Patch Them

AI Discovers Security Flaws Faster Than Humans Can Patch Them

Recent high-profile breaches at startups like Mercor and Vercel, combined with Anthropic's disclosure that its Mythos AI model identified thousands of previously unknown cybersecurity vulnerabilities, underscore growing demand for AI-powered security solutions. The article argues that cybersecurity vendors CrowdStrike and Palo Alto Networks, which are integrating AI into their threat detection and response capabilities, represent undervalued investment opportunities as enterprises face mounting pressure to defend against both conventional and AI-discovered attack vectors.

by Anita Ramaswamyabout 1 month ago· The Information
AWS Launches G7e GPU Instances for Cheaper Large Model Inference
TrendingModel Release

AWS Launches G7e GPU Instances for Cheaper Large Model Inference

AWS has launched G7e instances on Amazon SageMaker AI, powered by NVIDIA RTX PRO 6000 Blackwell GPUs with 96 GB of GDDR7 memory per GPU. The instances deliver up to 2.3x inference performance compared to previous-generation G6e instances and support configurations from 1 to 8 GPUs, enabling deployment of large language models up to 300B parameters on the largest 8-GPU node. This represents a significant upgrade in memory bandwidth, networking throughput, and model capacity for generative AI inference workloads.

by Hazim Qudahabout 2 months ago· AWS Machine Learning Blog
Anthropic Launches Claude Design for Non-Designers
Model Release

Anthropic Launches Claude Design for Non-Designers

Anthropic has launched Claude Design, a new product aimed at helping non-designers like founders and product managers create visuals quickly to communicate their ideas. The tool addresses a gap for early-stage teams and individuals who need to share concepts visually but lack design expertise or resources. Claude Design integrates with Anthropic's Claude AI platform, leveraging its capabilities to streamline the visual creation process. The launch reflects growing demand for AI-powered design tools that lower barriers to entry for non-technical users.

by Aisha Malikabout 2 months ago· TechCrunch AI