Share your thoughts, 1 month free Claude Pro on usSee more
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
87
Capacitated Vehicle Routing ProblemCVRP-200
Objective Value19.9455
35
Multi-Depot Vehicle Routing ProblemINCOM MDVRP SCAIL 2024
Objective Value8.54e+3
32
Capacitated Vehicle Routing ProblemCVRP 1000
Objective Value15.5632
29
Traveling Salesman ProblemTSP 10,000 randomly generated instances (test)
Cost5.692
29
Capacitated Vehicle Routing ProblemCVRP500
Objective Value36.5611
25
Capacitated Vehicle Routing ProblemCVRP N=100 (test 10k inst.)
Optimality Gap-0.51
22
Asymmetric Capacitated Vehicle Routing ProblemACVRP1000 generalization
Objective Value1.9792
21
Capacitated Vehicle Routing ProblemCVRP n=100 (10k instances)
Optimality Gap0.00e+0
21
Capacitated Vehicle Routing Problem (CVRP)CVRP n=150 1K instances (Generalization)
Objective Value19.055
18
Showing 10 of 68 rows

Other info

Follow for update