|国家预印本平台
首页|LMask: Learn to Solve Constrained Routing Problems with Lazy Masking

LMask: Learn to Solve Constrained Routing Problems with Lazy Masking

LMask: Learn to Solve Constrained Routing Problems with Lazy Masking

来源:Arxiv_logoArxiv
英文摘要

Routing problems are canonical combinatorial optimization tasks with wide-ranging applications in logistics, transportation, and supply chain management. However, solving these problems becomes significantly more challenging when complex constraints are involved. In this paper, we propose LMask, a novel learning framework that utilizes dynamic masking to generate high-quality feasible solutions for constrained routing problems. LMask introduces the LazyMask decoding method, which lazily refines feasibility masks with the backtracking mechanism. In addition, it employs the refinement intensity embedding to encode the search trace into the model, mitigating representation ambiguities induced by backtracking. To further reduce sampling cost, LMask sets a backtracking budget during decoding, while constraint violations are penalized in the loss function during training to counteract infeasibility caused by this budget. We provide theoretical guarantees for the validity and probabilistic optimality of our approach. Extensive experiments on the traveling salesman problem with time windows (TSPTW) and TSP with draft limits (TSPDL) demonstrate that LMask achieves state-of-the-art feasibility rates and solution quality, outperforming existing neural methods.

Tianyou Li、Haijun Zou、Jiayuan Wu、Zaiwen Wen

综合运输计算技术、计算机技术

Tianyou Li,Haijun Zou,Jiayuan Wu,Zaiwen Wen.LMask: Learn to Solve Constrained Routing Problems with Lazy Masking[EB/OL].(2025-05-23)[2025-06-28].https://arxiv.org/abs/2505.17938.点此复制

评论