Hybrid Metaheuristics for the Clustered Vehicle Routing Problem

Thibaut Vidal, Maria Battarra, Anand Subramanian, Günes Erdogan

Abstract

The Clustered Vehicle Routing Problem (CluVRP) extends the classic routing challenge by requiring that all customers within a cluster be served consecutively. This paper introduces three metaheuristic approaches—a baseline Iterated Local Search (ILS), a cluster-aware ILS (ILS-Clu), and a Unified Hybrid Genetic Search (UHGS)—to address the computational inefficiencies of standard algorithms on CluVRP. By leveraging structural decomposition and precomputed intra-cluster paths, the proposed UHGS achieves state-of-the-art accuracy, while ILS-Clu offers up to 15x speedups over traditional methods. Evaluations on a new benchmark of up to 1,200 customers demonstrate the scalability and effectiveness of these hybrid metaheuristics.

Introduction

The Capacitated Vehicle Routing Problem (CVRP) is a fundamental optimization task involving the delivery of goods to customers while minimizing total travel distance. The Clustered Vehicle Routing Problem (CluVRP) introduces a practical constraint: customers are grouped into clusters, and once a vehicle enters a cluster, it must service every customer within that cluster before exiting. This constraint reflects real-world scenarios such as gated communities, postal code zones, or shared shipping containers.

Standard VRP algorithms often fail on CluVRP because their local search operators (e.g., swapping individual customers) frequently violate cluster constraints, leading to wasted computational effort. While exact solvers can find optimal solutions, they do not scale to large-scale industrial applications. This research develops metaheuristics that explicitly model cluster structures to improve both speed and solution quality.

Methods

The authors propose three distinct metaheuristic frameworks:

  1. Baseline ILS: Adapts a standard CVRP solver by allowing cluster violations but penalizing them with a large mathematical constant ($M$).
  2. ILS-Clu: A tailored ILS that operates directly on the cluster level. Its local search moves (swap, shift) involve entire clusters, and intra-cluster routes are optimized separately to ensure feasibility.
  3. Unified Hybrid Genetic Search (UHGS): The most advanced approach, which precomputes optimal intra-cluster paths using an exact solver (Concorde). This reduces the problem complexity from individual customers to a sequence of clusters. UHGS utilizes a dynamic programming technique called "move evaluation by concatenation" to evaluate local search moves in $O(B^2)$ time, where $B$ is the maximum cluster size.
Comparison of Local Search procedures for standard ILS and the cluster-aware ILS-Clu.

The difference in search logic is illustrated in the pseudocode above. While the baseline ILS searches through a neighborhood of individual nodes, ILS-Clu incorporates specific IntraRouteClusterSearch and IntraClusterSearch steps to maintain cluster integrity while exploring improvements.

Results and Discussion

The algorithms were benchmarked against existing datasets (C, G, and Golden instances) and a new "Li" dataset containing up to 1,200 customers and 241 clusters.

Accuracy and Solution Quality

UHGS emerged as the most accurate algorithm, finding the best-known solutions for 234 out of 242 instances. It achieved an average deviation of only 0.01% from the best-known solutions and established five new records for the Golden instances.

Computational Efficiency

ILS-Clu demonstrated significant efficiency gains, running approximately 15 times faster than the baseline ILS. On the large-scale Li dataset, the baseline ILS required over 2.5 hours to converge, whereas ILS-Clu and UHGS completed the task in 535 and 345 seconds, respectively. This performance gap highlights the importance of respecting problem structure within the search operators rather than relying on penalty functions.

Conclusion

This work demonstrates that incorporating cluster-level abstraction and precomputing sub-problems can drastically improve the performance of metaheuristics for CluVRP. While UHGS provides superior accuracy, ILS-Clu offers a highly efficient alternative for time-sensitive applications. Future research may focus on using heuristic approximations for intra-cluster paths to further scale these methods to instances with very large cluster sizes.

Summary updated

BibTeX
@article{vidal2015hybrid,
  author = {Thibaut Vidal and Maria Battarra and Anand Subramanian and Günes Erdogan},
  title = {{Hybrid Metaheuristics for the Clustered Vehicle Routing Problem}},
  journal = {Comput. Oper. Res.},
  year = {2015},
  doi = {10.1016/j.cor.2014.10.019},
}
Figure