A Particle Swarm Optimization hyper-heuristic for the Dynamic Vehicle Routing Problem

Michal Okulewicz, Jacek MandziukarXiv 2016 · DOI

Abstract

This paper presents a method for choosing a Particle Swarm Optimization (PSO) based optimizer for the Dynamic Vehicle Routing Problem (DVRP) based on the initially available data of a given problem instance. The optimization algorithm is selected using a prediction from a linear model trained on initial request features and historical performance data. Results indicate that this hyper-heuristic approach improves average routing efficiency by selecting the most appropriate algorithm in 82% of significant cases. The study compares two leading multi-swarm PSO algorithms: the Multi-Environmental Multi-Swarm Optimizer (MEMSO) and the 2-Phase Multiswarm Particle Swarm Optimization (2MPSO).

Introduction

The Dynamic Vehicle Routing Problem (DVRP) is a critical logistics challenge where a fleet of vehicles must deliver goods to various locations while new requests arrive throughout the day. Unlike static routing, the optimal path changes dynamically. While numerous meta-heuristic algorithms exist, no single algorithm dominates all scenarios. Performance often depends on the spatial and volume characteristics of the delivery requests. This paper addresses the algorithm selection problem by proposing a hyper-heuristic that automatically selects the best optimizer for a specific task based on initial data.

The Hyper-Heuristic Framework

The proposed hyper-heuristic acts as an "algorithm that chooses algorithms." It evaluates the initial state of the problem at the start of the day to predict which of two high-performing PSO variants will be more effective.

Flowchart of the hyper-heuristic selection and training process.

The two candidate algorithms are:

  1. MEMSO (Multi-Environmental Multi-Swarm Optimizer): Uses discrete encoding to assign requests to vehicles and a greedy approach for routing.
  2. 2MPSO (2-Phase Multiswarm Particle Swarm Optimization): Employs a continuous, clustering-based approach to divide requests, followed by a separate PSO phase to optimize visit sequences.

A linear regression model predicts the performance ratio between these two. If MEMSO is predicted to be more efficient, it is selected; otherwise, 2MPSO is used.

Feature Extraction and Datasets

To inform the selection model, the system extracts 10 statistical features from the initial requests. These include spatial features (mean, standard deviation, and skewness of coordinates, and a gap statistic for clustering) and volume features (cargo amount statistics and minimum vehicle requirements).

Statistical features extracted from standard DVRP benchmark instances.

The study utilizes 21 standard benchmark instances (from Kilby and Montemanni), ranging from 50 to 199 requests with varying distributions (clustered vs. random).

Key Results and Insights

The hyper-heuristic achieved 82% accuracy in choosing the superior algorithm for instances with statistically significant performance differences. This selection led to a 0.6% improvement over always using the generally stronger 2MPSO and a 2.8% improvement over always using MEMSO.

A key insight is that the initial state of the system—the requests known at the start of the day—is a powerful predictor of performance for the entire day. While 2MPSO is often superior, its clustering logic has "blind spots" where MEMSO’s discrete approach performs better. The hyper-heuristic successfully identifies these scenarios with negligible computational overhead during the working day.

Conclusion

The proposed model offers a computationally efficient way to improve DVRP outcomes. Future work may involve dynamic re-evaluation as new requests arrive and expanding the algorithm pool to include other meta-heuristics like Ant Colony Optimization or Tabu Search.

Summary updated

BibTeX
@misc{okulewicz2016particle,
  author = {Michal Okulewicz and Jacek Mandziuk},
  title = {{A Particle Swarm Optimization hyper-heuristic for the Dynamic Vehicle Routing Problem}},
  year = {2016},
  eprint = {2006.08809},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2006.08809},
}
Figure