Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Learning to Handle Complex Constraints for Vehicle Routing Problems

About

Vehicle Routing Problems (VRPs) can model many real-world scenarios and often involve complex constraints. While recent neural methods excel in constructing solutions based on feasibility masking, they struggle with handling complex constraints, especially when obtaining the masking itself is NP-hard. In this paper, we propose a novel Proactive Infeasibility Prevention (PIP) framework to advance the capabilities of neural methods towards more complex VRPs. Our PIP integrates the Lagrangian multiplier as a basis to enhance constraint awareness and introduces preventative infeasibility masking to proactively steer the solution construction process. Moreover, we present PIP-D, which employs an auxiliary decoder and two adaptive strategies to learn and predict these tailored masks, potentially enhancing performance while significantly reducing computational costs during training. To verify our PIP designs, we conduct extensive experiments on the highly challenging Traveling Salesman Problem with Time Window (TSPTW), and TSP with Draft Limit (TSPDL) variants under different constraint hardness levels. Notably, our PIP is generic to boost many neural methods, and exhibits both a significant reduction in infeasible rate and a substantial improvement in solution quality.

Jieyi Bi, Yining Ma, Jianan Zhou, Wen Song, Zhiguang Cao, Yaoxin Wu, Jie Zhang• 2024

Related benchmarks

TaskDatasetResultRank
Traveling Salesman Problem with Time WindowTSPTW Hard n=100
Objective Value51.39
22
Traveling Salesman Problem with Time WindowTSPTW Easy n=50
Infeasible % (Instances)0.00e+0
16
Traveling Salesman Problem with Time WindowTSPTW n=100 (Easy)
Infeasible Rate (Instances)0.00e+0
13
Traveling Salesman Problem with Time WindowTSPTW Medium n=50
Infeasibility Rate (Solution)3.83
9
Traveling Salesman Problem with Time Windows (TSPTW)TSPTW-100 Hard (tight)
Gap3
3
TSP with draft limit (TSPDL)TSPDL-50 (test)
Optimality Gap (%)2.63
3
Showing 6 of 6 rows

Other info

Code

Follow for update