Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Hybrid Genetic Search for the CVRP: Open-Source Implementation and SWAP* Neighborhood

About

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.

Thibaut Vidal• 2020

Related benchmarks

TaskDatasetResultRank
Capacitated Vehicle Routing ProblemCVRP N=100
Objective Value15.563
50
Multi-Depot Vehicle Routing ProblemINCOM MDVRP SCAIL 2024
Objective Value8.54e+3
32
Capacitated Vehicle Routing ProblemCVRP N=100 (test 10k inst.)
Optimality Gap-0.51
22
Capacitated Vehicle Routing ProblemCVRP n=100 (10k instances)
Optimality Gap0.00e+0
21
Traveling Salesman ProblemTSP 10,000 randomly generated instances (test)
Cost5.692
20
Capacitated Vehicle Routing ProblemCVRP-200
Objective Value21.756
20
Capacitated Vehicle Routing Problem (CVRP)CVRP n=150 1K instances (Generalization)
Objective Value19.055
18
Capacitated Vehicle Routing ProblemCVRP n=150 1k instances
Objective Value19.05
17
Capacitated Vehicle Routing ProblemCVRP n=125 (1k instances)
Objective Value17.37
16
Capacitated Vehicle Routing Problem (CVRP)CVRP n=200 Generalization 1K instances
Objective Value21.766
12
Showing 10 of 44 rows

Other info

Follow for update