GREAT: A graph edge attention network for the electric vehicle routing problem with asymmetric costs
Journal article, 2027
Due to the ongoing electrification of transportation systems, energy-based routing problems such as the Electric Vehicle Routing Problem (EVRP) are becoming increasingly important. Compared to traditional routing problems based on Euclidean distances, the EVRP involves inherently asymmetric energy costs caused by road topology, including elevation changes and one-way streets. Due to regenerative braking, energy costs may even become negative on downhill segments. Existing learning-based routing approaches are typically based on graph neural networks (GNNs) or transformer architectures operating on Euclidean node coordinates, making them poorly suited for asymmetric, non-Euclidean edge-based metrics such as energy consumption. To address this limitation, we propose the Graph Edge Attention Network (GREAT), a novel GNN-related architecture that operates purely in edge space rather than on node coordinates, making it naturally compatible with asymmetric routing costs. Integrated into an end-to-end reinforcement learning framework, GREAT jointly optimizes routing and charging decisions for the EVRP. We train the model using real-world energy consumption data from San Francisco which is derived from physical road networks enriched with topological features, and evaluate generalization capabilities on datasets from San Francisco, Vienna, and Gothenburg. Across diverse battery sizes (15−40 kWh) and customer demand distributions, GREAT outperforms a strong HGS-based EVRP heuristic in most tested settings, achieving energy reductions of up to 8.78% while reducing runtime by a factor of 60. Moreover, we benchmark against a custom adaptive large neighborhood search (ALNS) that jointly optimizes routing and charging. While GREAT achieves competitive performance and a much faster runtime, we show that the ALNS can profit from a warm initialization by the GREAT solution and additionally improve performance. We further evaluate GREAT on standard (asymmetric) routing problems, including Traveling Salesman Problem, Capacitated Vehicle Routing Problem, and Orienteering Problem, where it achieves state-of-the-art performance among neural methods for non-Euclidean settings
Sustainable transportation
Electric vehicle routing
Reinforcement learning
Asymmetric vehicle routing
Graph neural networks
Deep learning