Learning Improvement Heuristic via Spatio-Temporal Encoder for Pickup and Delivery Problem with Time Windows
Zhanhong Fang, Jinbiao Chen, Jiahai Wang, Zizhen Zhang
Key points
From the paper's conclusion- We propose an improvement heuristic, termed “Attention Model with Spatio-Temporal Encoder” (AMSTE).
Abstract
The Pickup-and-Delivery Problem with Time Windows (PDPTW) underpins emerging logistics applications such as ride-hailing and meal-delivery services. Hard time-window constraints make the PDPTW substantially more challenging than routing variants without temporal feasibility requirements. We propose an improvement heuristic, termed “Attention Model with Spatio-Temporal Encoder” (AMSTE). Starting from an initial feasible solution, AMSTE repeatedly applies a learned remove-and-reinsert move. Its encoder processes spatial and temporal information through separate pathways and concatenates the resulting embeddings for the removal and reinsertion decoders. The decoder mask rejects moves that violate precedence, capacity, same-vehicle, or time-window constraints. We evaluate AMSTE on synthetic instances of multiple scales and conduct a zero-shot distribution-shift evaluation on the R1, C1, and RC1 benchmark subsets. The transferred policy remains feasible on all tested instances, while the larger distance gap on C1 indicates that clustered geometry constitutes a stronger shift from the R1 training distribution. On the reported synthetic PDPTW-101 setting, AMSTE obtains an objective value 4.17% below LKH3 (10k) with substantially lower measured inference-time computation; the runtime comparison is qualified because AMSTE uses GPU batch inference whereas LKH3 runs on CPU.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A Decision-Focused End-to-End Learning Framework for Scalable Vehicle Dispatching in Ride-Hailing ServicesApplied Sciences · 2026
- Narrowing-Down of Vehicles by Transformer-based Surrogate Model for Assignment Process in AI On-demand Transportation ServiceTransactions of the Japanese Society for Artificial Intelligence · 2026
- ETHC-VRC: Explicit Time-State Representation and Hybrid Constraint Handling for Time-Windowed Vehicle Routing ConstructionAlgorithms · 2026
- Dynamic Multi-Depot Vehicle Routing with Online Requests: Event-Driven Transformer--DRL and Rolling-Horizon BenchmarkingarXiv · 2026
- AI-Driven Orchestration of AutoML-Based Demand Forecasting, Fleet Allocation, and Route Optimization in Last-Mile Delivery: A Single-Instance Case Comparison of Metaheuristic and Agentic AI RoutingLogistics · 2026
- Multistage Contextual Optimization for Vehicle RepositioningarXiv · 2026