Learning to Dial-a-Ride: A Deep Graph Reinforcement Learning Approach to the Electric Dial-a-Ride Problem
Sten Elling Tingstad Jacobsen, Attila Lischka, Balázs Kulcsár, Anders Lindman
TL;DR
This work tackles the Electric Dial-a-Ride Problem (E-DARP) by introducing an edge-centric graph neural network framework, GREAT, combined with deep reinforcement learning to jointly optimize routing and charging under energy and service quality constraints. The method learns unsupervised routing policies that operate directly on edge attributes, enabling natural handling of asymmetric, non-Euclidean costs and nonlinear charging dynamics. Through two case studies, it achieves near-optimal solutions on benchmarks with substantial speedups and scales to 250-request instances via curriculum learning, outperforming ALNS in solution quality while guaranteeing 100% service completion and sub-second inference. The results demonstrate the practical potential of edge-based DRL for real-time, energy-aware fleet management in urban electric mobility, with thorough sensitivity analyses guiding fleet design and policy robustness under uncertainty.
Abstract
Urban mobility systems are transitioning toward electric, on-demand services, creating operational challenges for fleet management under energy and service-quality constraints. The Electric Dial-a-Ride Problem (E-DARP) extends the classical dial-a-ride problem by incorporating limited battery capacity and nonlinear charging dynamics, increasing computational complexity and limiting the scalability of exact methods for real-time use. This paper proposes a deep reinforcement learning approach based on a graph neural network encoder and an attention-driven route construction policy. By operating directly on edge attributes such as travel time and energy consumption, the method captures non-Euclidean, asymmetric, and energy-dependent routing costs in real road networks. The learned policy jointly optimizes routing, charging, and service quality without relying on Euclidean assumptions or handcrafted heuristics. The approach is evaluated on two case studies using ride-sharing data from San Francisco. On benchmark instances, the method achieves solutions within 0.4% of best-known results while reducing computation times by orders of magnitude. A second case study considers large-scale instances with up to 250 request pairs, realistic energy models, and nonlinear charging. On these instances, the learned policy outperforms Adaptive Large Neighborhood Search (ALNS) by 9.5% in solution quality while achieving 100% service completion, with sub-second inference times compared to hours for the metaheuristic. Finally, sensitivity analyses quantify the impact of battery capacity, fleet size, ride-sharing capacity, and reward weights, while robustness experiments show that deterministically trained policies generalize effectively under stochastic conditions.
