Towards Efficient Constraint Handling in Neural Solvers for Routing Problems

Jieyi Bi, Zhiguang Cao, Jianan Zhou, Wen Song, Yaoxin Wu +3 more
2/17/2026
cs.AIcs.LGmath.OC

No official code found. Best implementation: jieyibi/CaR-constraint (15 stars, MIT, last commit 2026-02-20).

Abstract

Neural solvers have achieved impressive progress in addressing simple routing problems, particularly excelling in computational efficiency. However, their advantages under complex constraints remain nascent, for which current constraint-handling schemes via feasibility masking or implicit feasibility awareness can be inefficient or inapplicable for hard constraints. In this paper, we present Construct-and-Refine (CaR), the first general and efficient constraint-handling framework for neural routing solvers based on explicit learning-based feasibility refinement. Unlike prior construction-search hybrids that target reducing optimality gaps through heavy improvements yet still struggle with hard constraints, CaR achieves efficient constraint handling by designing a joint training framework that guides the construction module to generate diverse and high-quality solutions well-suited for a lightweight improvement process, e.g., 10 steps versus 5k steps in prior work. Moreover, CaR presents the first use of construction-improvement-shared representation, enabling potential knowledge sharing across paradigms by unifying the encoder, especially in more complex constrained scenarios. We evaluate CaR on typical hard routing constraints to showcase its broader applicability. Results demonstrate that CaR achieves superior feasibility, solution quality, and efficiency compared to both classical and neural state-of-the-art solvers.

View on arXivView PDF

Code Implementations(1)

MIT

[ICLR 2026] Towards Efficient Constraint Handling in Neural Solvers for Routing Problems

150PythonOct 31, 20248 months agoMIT
combinatorial-optimizationconstraint-handlingconstruction-and-refinementcvrpcvrpbltw+5 more

Similar Papers

Cite this paper

@article{bi2026towards,
  title  = {Towards Efficient Constraint Handling in Neural Solvers for Routing Problems},
  author = {Jieyi Bi and Zhiguang Cao and Jianan Zhou and Wen Song and Yaoxin Wu and Jie Zhang and Yining Ma and Cathy Wu},
  year   = {2026},
  eprint = {2602.16012},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.16012v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2602.16012.svg)](https://codeofpaper.com/paper/2602.16012)

Discussion