Towards Efficient Constraint Handling in Neural Solvers for Routing Problems
About
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.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Capacitated Vehicle Routing Problem | CVRPLib Set X | Average Optimality Gap5 | 111 | |
| Capacitated Vehicle Routing Problem | CVRP N=100 | Objective Value15.527 | 50 | |
| Traveling Salesman Problem with Time Window | TSPTW Hard n=100 | Objective Value46.923 | 22 | |
| Traveling Salesman Problem with Time Windows | TSPTW hard variant (n=50) | Infeasibility Rate0.00e+0 | 20 | |
| Capacitated Vehicle Routing Problem with Backhauls and Time Windows | CVRPBLTW n=100 v1 | Objective Value24.4 | 18 | |
| Capacitated Vehicle Routing Problem with Backhauls and Time Windows | CVRPBLTW n=50 v1 | Objective Value14.601 | 18 | |
| Traveling Salesman Problem with Time Windows (TSPTW) | TSPTW-100 Hard (tight) | Gap2 | 3 | |
| TSP with draft limit (TSPDL) | TSPDL-50 (test) | Optimality Gap (%)2.19 | 3 | |
| Vehicle Routing Problem with Backhauls and Time Windows | CVRPBLTW 200 | Optimality Gap2.09 | 3 | |
| Sequential Ordering Problem | SOP Variant 1 50 nodes (test) | Objective Value14.831 | 3 |