Learning to Handle Complex Constraints for Vehicle Routing Problems
Jieyi Bi, Yining Ma, Jianan Zhou, Wen Song, Zhiguang Cao, Yaoxin Wu, Jie Zhang
Abstract
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.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext fc36e162-36ec-4be4-b673-cc499a5d8082Cited by top-tier papers20
- CALM: Co-evolution of Algorithms and Language Model for Automatic Heuristic DesignZiyao Huang, Weiwei Wu, Kui Wu, Wei-Bin Lee et al.ICLR 2026 · 41 citations
- PARCO: Parallel AutoRegressive Models for Multi-Agent Combinatorial OptimizationFederico Berto, Chuanbo Hua, Laurin Luttmann, Jiwoo Son et al.NeurIPS 2025 · 14 citations
- Generalizable Heuristic Generation Through LLMs with Meta-OptimizationYiding Shi, Jianan Zhou, Wen Song, Jieyi Bi et al.ICLR 2026 · 14 citations
- Learning to Insert for Constructive Neural Vehicle Routing SolverFu Luo, Xi Lin, Mengyuan Zhong, Fei Liu et al.NeurIPS 2025 · 14 citations
- Rethinking Neural Combinatorial Optimization for Vehicle Routing Problems with Different Constraint Tightness DegreesFu Luo, Yaoxin Wu, Zhi Zheng, Zhenkun WangNeurIPS 2025 · 12 citations
Builds on36
- Large Language Models as OptimizersChengrun Yang, Xuezhi Wang, Yifeng Lu, Hanxiao Liu et al.ICLR 2024 · 817 citations
- POMO: Policy Optimization with Multiple Optima for Reinforcement LearningYeong-Dae Kwon, Jinho Choo, Byoungjip Kim, Iljoo Yoon et al.NeurIPS 2020 · 731 citations
- DIFUSCO: Graph-based Diffusion Solvers for Combinatorial OptimizationZhiqing Sun, Yiming YangNeurIPS 2023 · 356 citations
- A Learning-based Iterative Method for Solving Vehicle Routing ProblemsHao Lu, Xingwen Zhang, Shuang YangICLR 2020 · 270 citations
- Neural Combinatorial Optimization with Heavy Decoder: Toward Large Scale GeneralizationFu Luo, Xi Lin, Fei Liu, Qingfu Zhang et al.NeurIPS 2023 · 248 citations
Related papers
- LMask: Learn to Solve Constrained Routing Problems with Lazy MaskingTianyou Li, Haijun Zou, JIAYUAN WU, Zaiwen WenICLR 2026 · 6 citations
- Towards Efficient Constraint Handling in Neural Solvers for Routing ProblemsJieyi Bi, Zhiguang Cao, Jianan Zhou, Wen Song et al.ICLR 2026 · 5 citations
- Learning to Handle Constrained Routing Problems From a Decoupling PerspectiveRui Cao, Zhiguang Cao, Yihan Huang, Jiaqi Wang et al.KDD 2026
- Learning to Search Feasible and Infeasible Regions of Routing Problems with Flexible Neural k-OptYining Ma, Zhiguang Cao, Yeow Meng CheeNeurIPS 2023 · 129 citations
- Neural Combinatorial Optimization for Robust Routing Problem with Uncertain Travel TimesPei Xiao, Zizhen Zhang, Jinbiao Chen, Jiahai Wang et al.NeurIPS 2024 · 13 citations
