mlsanityData to 14 Oct 2026

LMask: Learn to Solve Constrained Routing Problems with Lazy Masking

arXiv 2505.17938 ↗First posted 23 May 2025math.OC cs.AI cs.LGcited by 3

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 31 of its 51 references that are in the map. First posted on arXiv 23 May 2025.

Builds on

31 of 51 references.

References · 31

  1. 2017Attention Is All You Needcited by 60,361
  2. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
  3. 2014Sequence to Sequence Learning with Neural Networkscited by 2,986
  4. 2015Pointer Networkscited by 895
  5. 2018Attention, Learn to Solve Routing Problems!cited by 656
  6. 2016Neural Combinatorial Optimization with Reinforcement Learningcited by 608
  7. 2020POMO: Policy Optimization with Multiple Optima for Reinforcement Learningcited by 348
  8. 2018Reinforcement Learning for Solving the Vehicle Routing Problemcited by 333
  9. 2021How to Train Your Energy-Based Modelscited by 274
  10. 2019An Efficient Graph Convolutional Network Technique for the Travelling Salesman Problemcited by 269
  11. 2023Neural Combinatorial Optimization with Heavy Decoder: Toward Large Scale Generalizationcited by 142
  12. 2020Hybrid Genetic Search for the CVRP: Open-Source Implementation and SWAP* Neighborhoodcited by 125
19 more
  1. 2022Sym-NCO: Leveraging Symmetricity for Neural Combinatorial Optimizationcited by 119
  2. 2021Efficient Active Search for Combinatorial Optimization Problemscited by 100
  3. 2021Deep Policy Dynamic Programming for Vehicle Routing Problemscited by 94
  4. 2022Simulation-guided Beam Search for Neural Combinatorial Optimizationcited by 84
  5. 2023Learning to Search Feasible and Infeasible Regions of Routing Problems with Flexible Neural k-Optcited by 81
  6. 2023RL4CO: an Extensive Reinforcement Learning for Combinatorial Optimization Benchmarkcited by 71
  7. 2024MVMoE: Multi-Task Vehicle Routing Solver with Mixture-of-Expertscited by 70
  8. 2024RouteFinder: Towards Foundation Models for Vehicle Routing Problemscited by 55
  9. 2023PyVRP: a high-performance VRP solver packagecited by 52
  10. 2021Variational Neural Annealingcited by 47
  11. 2025Rethinking Light Decoder-based Solvers for Vehicle Routing Problemscited by 37
  12. 2020A Deep Reinforcement Learning Algorithm Using Dynamic Attention Model for Vehicle Routing Problemscited by 30
  13. 2024Learning to Handle Complex Constraints for Vehicle Routing Problemscited by 29
  14. 2024CaDA: Cross-Problem Routing Solver with Constraint-Aware Dual-Attentioncited by 24
  15. 2023Variational Annealing on Graphs for Combinatorial Optimizationcited by 21
  16. 2022Reinforced Lin-Kernighan-Helsgaun Algorithms for the Traveling Salesman Problemscited by 12
  17. 2024Looking Ahead to Avoid Being Late: Solving Hard-Constrained Traveling Salesman Problemcited by 8
  18. 2022Learning to Solve Soft-Constrained Vehicle Routing Problems with Lagrangian Relaxationcited by 5
  19. 2023Monte Carlo Policy Gradient Method for Binary Optimizationcited by 5

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 2.

3 papers.