[Paper Review] Learning to Search Feasible and Infeasible Regions of Routing Problems with Flexible Neural k-Opt
NeuOpt is a learning-to-search solver that performs flexible k-opt exchanges for VRPs and introduces GIRE to explore both feasible and infeasible regions, improving over prior L2S, L2C, and L2P methods on TSP and CVRP.
In this paper, we present Neural k-Opt (NeuOpt), a novel learning-to-search (L2S) solver for routing problems. It learns to perform flexible k-opt exchanges based on a tailored action factorization method and a customized recurrent dual-stream decoder. As a pioneering work to circumvent the pure feasibility masking scheme and enable the autonomous exploration of both feasible and infeasible regions, we then propose the Guided Infeasible Region Exploration (GIRE) scheme, which supplements the NeuOpt policy network with feasibility-related features and leverages reward shaping to steer reinforcement learning more effectively. Additionally, we equip NeuOpt with Dynamic Data Augmentation (D2A) for more diverse searches during inference. Extensive experiments on the Traveling Salesman Problem (TSP) and Capacitated Vehicle Routing Problem (CVRP) demonstrate that our NeuOpt not only significantly outstrips existing (masking-based) L2S solvers, but also showcases superiority over the learning-to-construct (L2C) and learning-to-predict (L2P) solvers. Notably, we offer fresh perspectives on how neural solvers can handle VRP constraints. Our code is available: https://github.com/yining043/NeuOpt.
Motivation & Objective
- Motivate and address limitations of existing learning-to-search (L2S) solvers for VRPs.
- Develop a flexible neural k-opt framework (NeuOpt) that can handle any k ≥ 2.
- Introduce GIRE to explore both feasible and infeasible regions and guide RL with reward shaping.
- Propose Dynamic Data Augmentation (D2A) to increase search diversity during inference.
- Demonstrate NeuOpt and GIRE superiority over L2C, L2P, and strong baselines on TSP and CVRP.
Proposed method
- Propose Neural k-Opt (NeuOpt) with action factorization into S-move, I-move, and E-move to realize k-opt exchanges for any k≥2.
- Use a Recurrent Dual-Stream (RDS) decoder to model the sequential basis moves and capture dependencies between removed and added edges.
- Augment the policy with Guided Infeasible Region Exploration (GIRE) to enable exploration beyond feasible regions and apply reward shaping to encourage boundary exploration.
- Employ Dynamic Data Augmentation (D2A) during inference to diversify searches and escape local optima.
- Train NeuOpt via reinforcement learning using a tailored objective and reward structure, building on prior L2S RL methods.
Experimental results
Research questions
- RQ1How can a neural solver flexibly perform k-opt exchanges for any k≥2 in VRPs?
- RQ2Can exploring infeasible regions during search improve solution quality for VRPs compared to feasibility masking alone?
- RQ3Does the combination of D2A and GIRE improve search diversity and convergence to better solutions for TSP and CVRP?
- RQ4How does NeuOpt compare to existing L2S, L2C, L2P methods and traditional solvers on standard VRP benchmarks?
Key findings
- NeuOpt significantly outperforms existing (masking-based) L2S solvers on TSP and CVRP in the reported experiments.
- GIRE enables exploration beyond strictly feasible regions and uses reward shaping to steer RL toward feasible/infeasible boundaries, improving search effectiveness.
- D2A inference increases search diversity and helps escape local optima, yielding better solutions with various k-opt configurations.
- NeuOpt achieves competitive or superior performance compared to strong L2C and L2P methods and to the LKH-3 solver on CVRP in the reported setups.
- Experiments demonstrate NeuOpt’s ability to handle VRP constraints and show fresh perspectives on neural solvers for constrained routing problems.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.