Learning 2-opt Heuristics for the Traveling Salesman Problem via Deep Reinforcement Learning
Not on the map. Why?
Abstract (arXiv)
Recent works using deep learning to solve the Traveling Salesman Problem (TSP) have focused on learning construction heuristics. Such approaches find TSP solutions of good quality but require additional procedures such as beam search and sampling to improve solutions and achieve state-of-the-art performance. However, few studies have focused on improvement heuristics, where a given solution is improved until reaching a near-optimal one. In this work, we propose to learn a local search heuristic based on 2-opt operators via deep reinforcement learning. We propose a policy gradient algorithm to learn a stochastic policy that selects 2-opt operations given a current solution. Moreover, we introduce a policy neural network that leverages a pointing attention mechanism, which unlike previous works, can be easily extended to more general k-opt moves. Our results show that the learned policies can improve even over random initial solutions and approach near-optimal solutions at a faster rate than previous state-of-the-art deep learning methods.
Key facts. Cited by 100 papers in the map (data through 7 Oct 2026). First posted on arXiv 3 Apr 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 17; 2022: 12; 2023: 16; 2024: 22; 2025: 24; 2026: 9.
100 papers.
Sort:
By area:
- 2023DIFUSCO: Graph-based Diffusion Solvers for Combinatorial Optimizationcited by 216
- 2023Neural Combinatorial Optimization with Heavy Decoder: Toward Large Scale Generalizationcited by 140
- 2022DIMES: A Differentiable Meta Solver for Combinatorial Optimization Problemscited by 127
- 2022Sym-NCO: Leveraging Symmetricity for Neural Combinatorial Optimizationcited by 118
- 2021Learning to Iteratively Solve Routing Problems with Dual-Aspect Collaborative Transformercited by 108
- 2021NeuroLKH: Combining Deep Learning Model with Lin-Kernighan-Helsgaun Heuristic for Solving the Traveling Salesman Problemcited by 102
- 2021Efficient Active Search for Combinatorial Optimization Problemscited by 99
- 2021Deep Policy Dynamic Programming for Vehicle Routing Problemscited by 94
- 2021Matrix Encoding Networks for Neural Combinatorial Optimizationcited by 89
- 2021Learning Collaborative Policies to Solve NP-hard Routing Problemscited by 86
- 2022Simulation-guided Beam Search for Neural Combinatorial Optimizationcited by 84
- 2023GLOP: Learning Global Partition and Local Construction for Solving Large-scale Routing Problems in Real-timecited by 82
38 more
- 2023Learning to Search Feasible and Infeasible Regions of Routing Problems with Flexible Neural k-Optcited by 81
- 2023DeepACO: Neural-enhanced Ant Systems for Combinatorial Optimizationcited by 77
- 2021Graph Neural Network Guided Local Search for the Traveling Salesperson Problemcited by 70
- 2023RL4CO: an Extensive Reinforcement Learning for Combinatorial Optimization Benchmarkcited by 70
- 2024MVMoE: Multi-Task Vehicle Routing Solver with Mixture-of-Expertscited by 69
- 2023Towards Omni-generalizable Neural Methods for Vehicle Routing Problemscited by 68
- 2022Learning Generalizable Models for Vehicle Routing Problems via Knowledge Distillationcited by 61
- 2022Winner Takes It All: Training Performant RL Populations for Combinatorial Optimizationcited by 57
- 2024Ant Colony Sampling with GFlowNets for Combinatorial Optimizationcited by 53
- 2023Pointerformer: Deep Reinforced Multi-Pointer Transformer for the Traveling Salesman Problemcited by 49
- 2023H-TSP: Hierarchically Solving the Large-Scale Travelling Salesman Problemcited by 43
- 2025Fast T2T: Optimization Consistency Speeds Up Diffusion-Based Training-to-Testing Solving for Combinatorial Optimizationcited by 43
- 2023Combinatorial Optimization with Policy Adaptation using Latent Space Searchcited by 41
- 2025Rethinking Light Decoder-based Solvers for Vehicle Routing Problemscited by 36
- 2024PolyNet: Learning Diverse Solution Strategies for Neural Combinatorial Optimizationcited by 35
- 2024Self-Improvement for Neural Combinatorial Optimization: Sample without Replacement, but Improvementcited by 32
- 2021ScheduleNet: Learn to solve multi-agent scheduling problems with reinforcement learningcited by 31
- 2024Learning to Handle Complex Constraints for Vehicle Routing Problemscited by 29
- 2024Position: Rethinking Post-Hoc Search-Based Neural Approaches for Solving Large-Scale Traveling Salesman Problemscited by 24
- 2023Meta-SAGE: Scale Meta-Learning Scheduled Adaptation with Guided Exploration for Mitigating Scale Shift on Combinatorial Optimizationcited by 23
- 2024Neural Combinatorial Optimization Algorithms for Solving Vehicle Routing Problems: A Comprehensive Survey with Perspectivescited by 23
- 2021Analytics and Machine Learning in Vehicle Routing Researchcited by 22
- 2021An Overview and Experimental Study of Learning-based Optimization Algorithms for Vehicle Routing Problemcited by 22
- 2021Meta-Learning-Based Deep Reinforcement Learning for Multiobjective Optimization Problemscited by 20
- 2022Learning to Control Local Search for Combinatorial Optimizationcited by 18
- 2022Learning to Solve Vehicle Routing Problems: A Surveycited by 16
- 2023Equity-Transformer: Solving NP-hard Min-Max Routing Problems as Sequential Generation with Equity Contextcited by 16
- 2024Imperative Learning: A Self-supervised Neuro-Symbolic Learning Framework for Robot Autonomycited by 16
- 2025Neural Deconstruction Search for Vehicle Routing Problemscited by 15
- 2022Reinforced Lin-Kernighan-Helsgaun Algorithms for the Traveling Salesman Problemscited by 12
- 2023Continuation Path Learning for Homotopy Optimizationcited by 12
- 2025Improving Generalization of Neural Combinatorial Optimization for Vehicle Routing Problems via Test-Time Projection Learningcited by 12
- 2025Preference Optimization for Combinatorial Optimization Problemscited by 11
- 2024DISCO: Efficient Diffusion Solver for Large-Scale Combinatorial Optimization Problemscited by 10
- 2025Learning to Insert for Constructive Neural Vehicle Routing Solvercited by 10
- 2024Hierarchical Neural Constructive Solver for Real-world TSP Scenarioscited by 9
- 2024Collaboration! Towards Robust Neural Methods for Routing Problemscited by 9
- 2021Improving Generalization of Deep Reinforcement Learning-based TSP Solverscited by 8
50 most cited of 100 All 100 (JSON)
- 2026On the Effectiveness of Pretraining for Graph Combinatorial Optimization21 Jul 2026
- 2026Towards Generalization-Oriented Models for Vehicle Routing Problems with Mixture-of-Experts26 May 2026
- 2026A Unified Knowledge Embedded Reinforcement Learning-based Framework for Generalized Capacitated Vehicle Routing Problems14 May 2026
- 2026FiLMMeD: Feature-wise Linear Modulation for Cross-Problem Multi-Depot Vehicle Routing30 Apr 2026
- 2026A First Guess is Rarely the Final Answer: Learning to Search in the Traveling Salesperson Problem8 Apr 2026
- 2026Constraints Matrix Diffusion based Generative Neural Solver for Vehicle Routing Problems8 Mar 2026
- 2026Efficient Decoder Scaling Strategy for Neural Routing Solvers28 Feb 2026
- 2026Towards Efficient Constraint Handling in Neural Solvers for Routing Problems17 Feb 2026
- 2026CADO: From Imitation to Cost Minimization for Heatmap-based Solvers in Combinatorial Optimization9 Feb 2026
- 2025Edge-wise Topological Divergence Gaps: Guiding Search in Combinatorial Optimization16 Dec 2025
- 2025End-to-end Deep Reinforcement Learning for Stochastic Multi-objective Optimization in C-VRPTW1 Dec 2025
- 2025Mechanistic Interpretability for Neural TSP Solvers24 Oct 2025
38 more
- 2025VRPAgent: LLM-Driven Discovery of Heuristic Operators for Vehicle Routing Problems8 Oct 2025
- 2025A Unified Deep Reinforcement Learning Approach for Close Enough Traveling Salesman Problem3 Oct 2025
- 2025Test-Time Search in Neural Graph Coarsening Procedures for the Capacitated Vehicle Routing Problem1 Oct 2025
- 2025Edge-Selector Model Applied for Local Search Neighborhood for Solving Vehicle Routing Problems12 Aug 2025
- 2025Lifelong Learner: Discovering Versatile Neural Solvers for Vehicle Routing Problems8 Aug 2025
- 2025VAGPO: Vision-augmented Asymmetric Group Preference Optimization for Graph Routing Problems3 Aug 2025
- 2025Parametrized Multi-Agent Routing via Deep Attention Models30 Jul 2025
- 2025Learning for routing: A guided review of recent developments and future directions30 Jun 2025
- 2025Synergizing Reinforcement Learning and Genetic Algorithms for Neural Combinatorial Optimization11 Jun 2025
- 2025Improving Generalization of Neural Combinatorial Optimization for Vehicle Routing Problems via Test-Time Projection Learning3 Jun 2025
- 2025Bandit based Dynamic Candidate Edge Selection in Solving Traveling Salesman Problems21 May 2025
- 2025Learning to Insert for Constructive Neural Vehicle Routing Solver20 May 2025
- 2025Preference Optimization for Combinatorial Optimization Problems13 May 2025
- 2025Reinforcement Learning for Solving the Pricing Problem in Column Generation: Applications to Vehicle Routing3 Apr 2025
- 2025TuneNSearch: a hybrid transfer learning and local search approach for solving vehicle routing problems16 Mar 2025
- 2025Learning Constraints-Based Adaptive Hypergraph Neural Networks for Solving Vehicle Routing Problems13 Mar 2025
- 2025Rethinking Light Decoder-based Solvers for Vehicle Routing Problems2 Mar 2025
- 2025Blackout DIFUSCO5 Feb 2025
- 2025Unrealized Expectations: Comparing AI Methods vs Classical Algorithms for Maximum Independent Set5 Feb 2025
- 2025Fast T2T: Optimization Consistency Speeds Up Diffusion-Based Training-to-Testing Solving for Combinatorial Optimization5 Feb 2025
- 2025Neural Deconstruction Search for Vehicle Routing Problems7 Jan 2025
- 2024Enhancing Large-scale UAV Route Planing with Global and Local Features via Reinforcement Graph Fusion20 Dec 2024
- 2024Scaling Combinatorial Optimization Neural Improvement Heuristics with Online Search and Adaptation13 Dec 2024
- 2024Beyond the Heatmap: A Rigorous Evaluation of Component Impact in MCTS-Based TSP Solvers14 Nov 2024
- 2024Learn to Solve Vehicle Routing Problems ASAP: A Neural Optimization Approach for Time-Constrained Vehicle Routing Problems with Finite Vehicle Fleet7 Nov 2024
- 2024Learning to Handle Complex Constraints for Vehicle Routing Problems28 Oct 2024
- 2024Collaboration! Towards Robust Neural Methods for Routing Problems7 Oct 2024
- 2024Hierarchical Neural Constructive Solver for Real-world TSP Scenarios7 Aug 2024
- 2024DISCO: Efficient Diffusion Solver for Large-Scale Combinatorial Optimization Problems28 Jun 2024
- 2024Imperative Learning: A Self-supervised Neuro-Symbolic Learning Framework for Robot Autonomy23 Jun 2024
- 2024Learning Solution-Aware Transformers for Efficiently Solving Quadratic Assignment Problem14 Jun 2024
- 2024Position: Rethinking Post-Hoc Search-Based Neural Approaches for Solving Large-Scale Traveling Salesman Problems2 Jun 2024
- 2024Neural Combinatorial Optimization Algorithms for Solving Vehicle Routing Problems: A Comprehensive Survey with Perspectives1 Jun 2024
- 2024MVMoE: Multi-Task Vehicle Routing Solver with Mixture-of-Experts2 May 2024
- 2024Learn to Tour: Operator Design For Solution Feasibility Mapping in Pickup-and-delivery Traveling Salesman Problem17 Apr 2024
- 2024Learning Heuristics for Transit Network Design and Improvement with Deep Reinforcement Learning8 Apr 2024
- 2024Less Is More -- On the Importance of Sparsification for Transformers and Graph Neural Networks for TSP25 Mar 2024
- 2024Self-Improvement for Neural Combinatorial Optimization: Sample without Replacement, but Improvement22 Mar 2024
50 newest of 100 All 100 (JSON)
- 2023DIFUSCO: Graph-based Diffusion Solvers for Combinatorial Optimizationcited by 216
- 2025Fast T2T: Optimization Consistency Speeds Up Diffusion-Based Training-to-Testing Solving for Combinatorial Optimizationcited by 43
- 2026Constraints Matrix Diffusion based Generative Neural Solver for Vehicle Routing Problemscited by 0
- 2026Constraints Matrix Diffusion based Generative Neural Solver for Vehicle Routing Problems8 Mar 2026
- 2025Fast T2T: Optimization Consistency Speeds Up Diffusion-Based Training-to-Testing Solving for Combinatorial Optimization5 Feb 2025
- 2023DIFUSCO: Graph-based Diffusion Solvers for Combinatorial Optimization16 Feb 2023
- 2023Neural Combinatorial Optimization with Heavy Decoder: Toward Large Scale Generalizationcited by 140
- 2022DIMES: A Differentiable Meta Solver for Combinatorial Optimization Problemscited by 127
- 2022Sym-NCO: Leveraging Symmetricity for Neural Combinatorial Optimizationcited by 118
- 2021Learning to Iteratively Solve Routing Problems with Dual-Aspect Collaborative Transformercited by 108
- 2021NeuroLKH: Combining Deep Learning Model with Lin-Kernighan-Helsgaun Heuristic for Solving the Traveling Salesman Problemcited by 102
- 2021Efficient Active Search for Combinatorial Optimization Problemscited by 99
- 2021Deep Policy Dynamic Programming for Vehicle Routing Problemscited by 94
- 2021Matrix Encoding Networks for Neural Combinatorial Optimizationcited by 89
- 2021Learning Collaborative Policies to Solve NP-hard Routing Problemscited by 86
- 2022Simulation-guided Beam Search for Neural Combinatorial Optimizationcited by 84
- 2023GLOP: Learning Global Partition and Local Construction for Solving Large-scale Routing Problems in Real-timecited by 82
- 2023Learning to Search Feasible and Infeasible Regions of Routing Problems with Flexible Neural k-Optcited by 81
12 most cited of 93 All 93 (JSON)
- 2026On the Effectiveness of Pretraining for Graph Combinatorial Optimization21 Jul 2026
- 2026A Unified Knowledge Embedded Reinforcement Learning-based Framework for Generalized Capacitated Vehicle Routing Problems14 May 2026
- 2026FiLMMeD: Feature-wise Linear Modulation for Cross-Problem Multi-Depot Vehicle Routing30 Apr 2026
- 2026A First Guess is Rarely the Final Answer: Learning to Search in the Traveling Salesperson Problem8 Apr 2026
- 2026Efficient Decoder Scaling Strategy for Neural Routing Solvers28 Feb 2026
- 2026Towards Efficient Constraint Handling in Neural Solvers for Routing Problems17 Feb 2026
- 2026CADO: From Imitation to Cost Minimization for Heatmap-based Solvers in Combinatorial Optimization9 Feb 2026
- 2025Edge-wise Topological Divergence Gaps: Guiding Search in Combinatorial Optimization16 Dec 2025
- 2025End-to-end Deep Reinforcement Learning for Stochastic Multi-objective Optimization in C-VRPTW1 Dec 2025
- 2025Mechanistic Interpretability for Neural TSP Solvers24 Oct 2025
- 2025VRPAgent: LLM-Driven Discovery of Heuristic Operators for Vehicle Routing Problems8 Oct 2025
- 2025A Unified Deep Reinforcement Learning Approach for Close Enough Traveling Salesman Problem3 Oct 2025
12 newest of 93 All 93 (JSON)