Two-Stage Attention-Based Insertion Policy for the Dynamic Vehicle Routing Problem
Souleymane Balde, Oussama Dribel, Fouad Riane
Key points
From the paper's conclusion- When most customers are dynamic on instances with up to 35 customers, the single-stage policy outperforms cheapest insertion by up to 3.1% and the two-stage policy matches it; otherwise, cheapest insertion remains better.
Abstract
This paper addresses dynamic vehicle routing with online requests, where insertion heuristics follow fixed rules ignoring the effect of each insertion on later requests. It proposes a two-stage attention-based insertion policy: a first stage selects a vehicle, and a second stage an insertion position within its route. Routes and fleet are encoded by attention, and the policy is trained with REINFORCE and a greedy rollout baseline on the final episode cost instead of immediate insertion costs. It is compared with cheapest, nearest and random insertion and with a single-stage policy over all vehicle–position pairs, on instances with 10 to 120 customers and degrees of dynamism from 10% to 90%. Both learned policies outperform nearest and random insertion and generalize to unseen sizes and degrees of dynamism. When most customers are dynamic on instances with up to 35 customers, the single-stage policy outperforms cheapest insertion by up to 3.1% and the two-stage policy matches it; otherwise, cheapest insertion remains better. The single-stage policy is cheaper in most settings, but the two-stage policy decides up to 2.7 and trains up to 5.7 times faster, for a cost at most 3.6% higher, and becomes cheaper on large, highly dynamic instances.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Dynamic Multi-Depot Vehicle Routing with Online Requests: Event-Driven Transformer--DRL and Rolling-Horizon BenchmarkingarXiv · 2026
- A reinforcement learning approach for the dynamic vehicle routing and scheduling problem with stochastic request times and time-dependent, stochastic travel timesTransportation Research Part C Emerging Technologies · 2025
- Learning Improvement Heuristic via Spatio-Temporal Encoder for Pickup and Delivery Problem with Time WindowsACM Transactions on Intelligent Systems and Technology · 2026
- Optimizing urban last mile delivery efficiency through dynamic vehicle routing heuristics and traffic flow analysisScientific Reports · 2025
- Reinforcement Learning for Sequential Truck–Drone Routing with Fixed Vehicle Assignments: A Comparative Evaluation of Heuristic, Metaheuristic, and Learning-Based ApproachesDrones · 2026
- ETHC-VRC: Explicit Time-State Representation and Hybrid Constraint Handling for Time-Windowed Vehicle Routing ConstructionAlgorithms · 2026