OCAILGMay 23, 2025

LMask: Learn to Solve Constrained Routing Problems with Lazy Masking

arXiv:2505.17938v13 citationsh-index: 4
Originality Incremental advance
AI Analysis

This addresses complex constraints in routing for logistics and transportation, representing an incremental improvement over existing neural methods.

The paper tackled constrained routing problems by proposing LMask, a learning framework with dynamic masking and backtracking, which achieved state-of-the-art feasibility rates and solution quality in experiments on TSPTW and TSPDL.

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.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes