Hybrid Genetic Search for the CVRP: Open-Source Implementation and SWAP* Neighborhood
Not on the map. Why?
Abstract (arXiv)
The vehicle routing problem is one of the most studied combinatorial optimization topics, due to its practical importance and methodological interest. Yet, despite extensive methodological progress, many recent studies are hampered by the limited access to simple and efficient open-source solution methods. Given the sophistication of current algorithms, reimplementation is becoming a difficult and time-consuming exercise that requires extensive care for details to be truly successful. Against this background, we use the opportunity of this short paper to introduce a simple -- open-source -- implementation of the hybrid genetic search (HGS) specialized to the capacitated vehicle routing problem (CVRP). This state-of-the-art algorithm uses the same general methodology as Vidal et al. (2012) but also includes additional methodological improvements and lessons learned over the past decade of research. In particular, it includes an additional neighborhood called SWAP* which consists in exchanging two customers between different routes without an insertion in place. As highlighted in our study, an efficient exploration of SWAP* moves significantly contributes to the performance of local searches. Moreover, as observed in experimental comparisons with other recent approaches on the classical instances of Uchoa et al. (2017), HGS still stands as a leading metaheuristic regarding solution quality, convergence speed, and conceptual simplicity.
Key facts. Cited by 122 papers in the map (data through 7 Oct 2026). First posted on arXiv 23 Nov 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 3; 2022: 4; 2023: 16; 2024: 20; 2025: 45; 2026: 34.
122 papers.
Sort:
By area:
- 2023Neural Combinatorial Optimization with Heavy Decoder: Toward Large Scale Generalizationcited by 140
- 2021Learning to Delegate for Large-scale Vehicle Routingcited by 108
- 2021Deep Policy Dynamic Programming for Vehicle Routing Problemscited by 94
- 2022Simulation-guided Beam Search for Neural Combinatorial Optimizationcited by 84
- 2023Learning to Search Feasible and Infeasible Regions of Routing Problems with Flexible Neural k-Optcited by 81
- 2023BQ-NCO: Bisimulation Quotienting for Efficient Neural Combinatorial Optimizationcited by 80
- 2023DeepACO: Neural-enhanced Ant Systems for Combinatorial Optimizationcited by 77
- 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
- 2023Towards Generalizable Neural Solvers for Vehicle Routing Problems via Ensemble with Transferrable Local Policycited by 61
- 2022Winner Takes It All: Training Performant RL Populations for Combinatorial Optimizationcited by 57
38 more
- 2024RouteFinder: Towards Foundation Models for Vehicle Routing Problemscited by 54
- 2024Ant Colony Sampling with GFlowNets for Combinatorial Optimizationcited by 53
- 2023PyVRP: a high-performance VRP solver packagecited by 50
- 2024INViT: A Generalizable Routing Problem Solver with Invariant Nested View Transformercited by 43
- 2024GOAL: A Generalist Combinatorial Optimization Agent Learnercited by 39
- 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
- 2024Self-Improved Learning for Scalable Neural Combinatorial Optimizationcited by 29
- 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
- 2021Guidelines for the Computational Testing of Machine Learning approaches to Vehicle Routing Problemscited by 16
- 2024Distance-aware Attention Reshaping: Enhance Generalization of Neural Solver for Large-scale Vehicle Routing Problemscited by 15
- 2025Neural Deconstruction Search for Vehicle Routing Problemscited by 15
- 2025Destroy and Repair Using Hyper Graphs for Routingcited by 14
- 2025Learning to Reduce Search Space for Generalizable Neural Routing Solvercited by 14
- 2025ARS: Automatic Routing Solver with Large Language Modelscited by 13
- 2025MTL-KD: Multi-Task Learning Via Knowledge Distillation for Generalizable Neural Vehicle Routing Solvercited by 13
- 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
- 2023Combinatorial Optimization enriched Machine Learning to solve the Dynamic Vehicle Routing Problem with Time Windowscited by 10
- 2025Adversarial Generative Flow Network for Solving Vehicle Routing Problemscited by 10
- 2025RRNCO: Towards Real-World Routing with Neural Combinatorial Optimizationcited by 10
- 2025Learning to Insert for Constructive Neural Vehicle Routing Solvercited by 10
- 2024Instance-Conditioned Adaptation for Large-scale Generalization of Neural Routing Solvercited by 9
- 2024Collaboration! Towards Robust Neural Methods for Routing Problemscited by 9
- 2023Heuristics for Vehicle Routing Problem: A Survey and Recent Advancescited by 7
- 2025Learning-Guided Rolling Horizon Optimization for Long-Horizon Flexible Job-Shop Schedulingcited by 7
- 2025Rethinking Neural Combinatorial Optimization for Vehicle Routing Problems with Different Constraint Tightness Degreescited by 7
- 2025URS: A Unified Neural Routing Solver for Cross-Problem Zero-Shot Generalizationcited by 7
- 2025Hybrid-Balance GFlowNet for Solving Vehicle Routing Problemscited by 7
- 2025Multi-Task Vehicle Routing Solver via Mixture of Specialized Experts under State-Decomposable MDPcited by 7
- 2026RADAR: Learning to Route with Asymmetry-aware DistAnce Representationscited by 7
- 2022Neural Networks for Local Search and Crossover in Vehicle Routing: A Possible Overkill?cited by 6
- 2025VRPAgent: LLM-Driven Discovery of Heuristic Operators for Vehicle Routing Problemscited by 6
- 2023Routing Arena: A Benchmark Suite for Neural Routing Solverscited by 5
- 2024Leader Reward for POMO-Based Neural Combinatorial Optimizationcited by 5
- 2024Neural Solver Selection for Combinatorial Optimizationcited by 5
50 most cited of 122 All 122 (JSON)
- 2026MiLoop: Selective Memory Propagation for Neural Combinatorial Optimization1 Oct 2026
- 2026Context-Aware Error Mitigation Orchestration for Hybrid Quantum Reinforcement Learning on NISQ Systems1 Oct 2026
- 2026Just Initialize: A Training-Free Initialization Component for Large-Scale Routing Optimization28 Sep 2026
- 2026Depot-Closed Multi-Component Construction for Neural Vehicle Routing28 Sep 2026
- 2026APGEM: Adaptive Policy-Guided Error Mitigation for Quantum Reinforcement Learning on a Real-World CVRP Case Study16 Sep 2026
- 2026Improving Cross-Problem Vehicle Routing with Locally Augmented Preferences and Representation Disentanglement25 Aug 2026
- 2026Task Specialization Fine-Tuning for Contextual Reinforcement Learning17 Aug 2026
- 2026JAMPR+/L2D: scalable neural heuristic for constrained vehicle routing problems in dynamic environment14 Aug 2026
- 2026Deep Reinforcement Learning solution for pickup and delivery routing problems with time window and capacity constraints14 Aug 2026
- 2026SCOPE: Supply-Chain Operations through Coupled Policies for End-to-End Coordination30 Jul 2026
- 2026AutoPref: Automatic Discovery of Task-Specific Preference Objectives for Neural Combinatorial Optimization30 Jul 2026
- 2026LaT: LLM-as-Trainer for Multi-Task Vehicle Routing Solvers20 Jul 2026
38 more
- 2026Robust Feasible Route Construction through Collaborative Partition Optimization4 Jul 2026
- 2026Adaptive Cluster-First Route-Second Decomposition for Industrial-Scale Vehicle Routing30 Jun 2026
- 2026Beyond Static Priors: Dynamic Neural Guidance for Large-Scale Ant Colony Optimization2 Jun 2026
- 2026SPACE: Unifying Symmetric and Asymmetric Routing Problems for Generalist Neural Solver23 May 2026
- 2026COAgents: Multi-Agent Framework to Learn and Navigate Routing Problems Search Space20 May 2026
- 2026Learning with Foresight: Enhancing Neural Routing Policy via Multi-Node Lookahead Prediction19 May 2026
- 2026Latent Heuristic Search: Continuous Optimization for Automated Algorithm Design16 May 2026
- 2026An Amortized Efficiency Threshold for Comparing Neural and Heuristic Solvers in Combinatorial Optimization14 May 2026
- 2026Rethinking Positional Encoding for Neural Vehicle Routing12 May 2026
- 2026Rethinking Constraint Awareness for Efficient State Embedding of Neural Routing Solver11 May 2026
- 2026Neural Cluster First, Route Second: Capacitated Vehicle Routing via Differentiable Optimal Transport10 May 2026
- 2026LINC: Decoupling Local Consequence Scoring from Hidden Matching in Constructive Neural Routing7 May 2026
- 2026Automated Large-scale CVRP Solver Design via LLM-assisted Flexible MCTS5 May 2026
- 2026NCO4CVRP: Neural Combinatorial Optimization for the Capacitated Vehicle Routing Problem17 Apr 2026
- 2026Enhancing Cross-Problem Vehicle Routing via Federated Learning12 Apr 2026
- 2026Vehicle-as-Prompt: A Unified Deep Reinforcement Learning Framework for Heterogeneous Fleet Vehicle Routing Problem6 Apr 2026
- 2026Constraints Matrix Diffusion based Generative Neural Solver for Vehicle Routing Problems8 Mar 2026
- 2026RADAR: Learning to Route with Asymmetry-aware DistAnce Representations3 Mar 2026
- 2026Enhancing CVRP Solver through LLM-driven Automatic Heuristic Design26 Feb 2026
- 2026Survey on Neural Routing Solvers25 Feb 2026
- 2026OD-Gear: Online Decomposition and Group Sampling for Expert-Guided Adversarial Routing in Scalable Capacitated Vehicle Routing31 Jan 2026
- 2026SEAFormer: A Spatial Proximity and Edge-Aware Transformer for Real-World Vehicle Routing Problems27 Jan 2026
- 2025Bridging Synthetic and Real Routing Problems via LLM-Guided Instance Generation and Progressive Adaptation13 Nov 2025
- 2025GAMA: A Neural Neighborhood Search Method with Graph-aware Multi-modal Attention for Vehicle Routing Problem11 Nov 2025
- 2025Probing Neural Combinatorial Optimization Models25 Oct 2025
- 2025Multi-Task Vehicle Routing Solver via Mixture of Specialized Experts under State-Decomposable MDP24 Oct 2025
- 2025An Agentic Framework with LLMs for Solving Complex Vehicle Routing Problems19 Oct 2025
- 2025Refining Hybrid Genetic Search for CVRP via Reinforcement Learning-Finetuned LLM13 Oct 2025
- 2025Enhancing the Cross-Size Generalization for Solving Vehicle Routing Problems via Continual Learning11 Oct 2025
- 2025VRPAgent: LLM-Driven Discovery of Heuristic Operators for Vehicle Routing Problems8 Oct 2025
- 2025Hybrid-Balance GFlowNet for Solving Vehicle Routing Problems6 Oct 2025
- 2025Test-Time Search in Neural Graph Coarsening Procedures for the Capacitated Vehicle Routing Problem1 Oct 2025
- 2025Graph Optimization Foundation Model: Tokenizing Graph via A Language-Model Paradigm29 Sep 2025
- 2025URS: A Unified Neural Routing Solver for Cross-Problem Zero-Shot Generalization27 Sep 2025
- 2025Recurrent State Encoders for Efficient Neural Combinatorial Optimization5 Sep 2025
- 2025Edge-Selector Model Applied for Local Search Neighborhood for Solving Vehicle Routing Problems12 Aug 2025
- 2025Hybrid Node-Destroyer Model with Large Neighborhood Search for Solving the Capacitated Vehicle Routing Problem12 Aug 2025
- 2025Lifelong Learner: Discovering Versatile Neural Solvers for Vehicle Routing Problems8 Aug 2025
50 newest of 122 All 122 (JSON)
- 2023Neural Combinatorial Optimization with Heavy Decoder: Toward Large Scale Generalizationcited by 140
- 2021Learning to Delegate for Large-scale Vehicle Routingcited by 108
- 2021Deep Policy Dynamic Programming for Vehicle Routing Problemscited by 94
- 2022Simulation-guided Beam Search for Neural Combinatorial Optimizationcited by 84
- 2023Learning to Search Feasible and Infeasible Regions of Routing Problems with Flexible Neural k-Optcited by 81
- 2023BQ-NCO: Bisimulation Quotienting for Efficient Neural Combinatorial Optimizationcited by 80
- 2023DeepACO: Neural-enhanced Ant Systems for Combinatorial Optimizationcited by 77
- 2023RL4CO: an Extensive Reinforcement Learning for Combinatorial Optimization Benchmarkcited by 70
- 2023Towards Omni-generalizable Neural Methods for Vehicle Routing Problemscited by 68
- 2023Towards Generalizable Neural Solvers for Vehicle Routing Problems via Ensemble with Transferrable Local Policycited by 61
- 2022Winner Takes It All: Training Performant RL Populations for Combinatorial Optimizationcited by 57
- 2024RouteFinder: Towards Foundation Models for Vehicle Routing Problemscited by 54
12 most cited of 118 All 118 (JSON)
- 2026MiLoop: Selective Memory Propagation for Neural Combinatorial Optimization1 Oct 2026
- 2026Context-Aware Error Mitigation Orchestration for Hybrid Quantum Reinforcement Learning on NISQ Systems1 Oct 2026
- 2026Just Initialize: A Training-Free Initialization Component for Large-Scale Routing Optimization28 Sep 2026
- 2026Depot-Closed Multi-Component Construction for Neural Vehicle Routing28 Sep 2026
- 2026APGEM: Adaptive Policy-Guided Error Mitigation for Quantum Reinforcement Learning on a Real-World CVRP Case Study16 Sep 2026
- 2026Improving Cross-Problem Vehicle Routing with Locally Augmented Preferences and Representation Disentanglement25 Aug 2026
- 2026Task Specialization Fine-Tuning for Contextual Reinforcement Learning17 Aug 2026
- 2026JAMPR+/L2D: scalable neural heuristic for constrained vehicle routing problems in dynamic environment14 Aug 2026
- 2026Deep Reinforcement Learning solution for pickup and delivery routing problems with time window and capacity constraints14 Aug 2026
- 2026SCOPE: Supply-Chain Operations through Coupled Policies for End-to-End Coordination30 Jul 2026
- 2026AutoPref: Automatic Discovery of Task-Specific Preference Objectives for Neural Combinatorial Optimization30 Jul 2026
- 2026LaT: LLM-as-Trainer for Multi-Task Vehicle Routing Solvers20 Jul 2026
12 newest of 118 All 118 (JSON)