Memetic Search for Vehicle Routing with Simultaneous Pickup-Delivery and Time Windows

Shengcai Liu, Ke Tang, Xin Yao

Introduction

Modern logistics operations, such as those managed by JD Logistics or Amazon, increasingly face the challenge of the Vehicle Routing Problem with Simultaneous Pickup and Delivery and Time Windows (VRPSPDTW). Unlike traditional routing, vehicles must manage fluctuating loads as they simultaneously drop off and pick up items at customer locations, all while adhering to strict time windows.

This problem is notoriously NP-hard; exact mathematical solvers struggle with instances beyond 50 customers, and existing meta-heuristics often suffer from slow evaluation times or premature convergence to local optima. To address these challenges, this research introduces MATE (Memetic Algorithm with efficienT local search and Extended neighborhood).

The MATE Framework

MATE is a memetic algorithm that synergizes an evolutionary search strategy with a high-performance local search phase. The algorithm follows a structured pipeline designed for both diversity and intensity.

The MATE framework: A flowchart showing the memetic algorithm's structure, including initialization, crossover, and the local search process.

Key components of the framework include:

  1. Grid-Based Initialization: Instead of random starts, MATE uses a grid-based approach to vary the parameters of the RCRS construction heuristic, ensuring a diverse and high-quality initial population.
  2. RARI Crossover: The Route-Assembly-Regret-Insertion (RARI) operator preserves high-quality routes from parents and uses a regret-based mechanism to insert remaining customers, prioritizing those with the most constrained placement options.
  3. Variable-Step Local Search: To escape local optima, MATE employs a dual-stage local search. It first reaches a local optimum using standard moves—such as swapping nodes between routes—and then applies large-scale "removal-and-reinsertion" (disrupting 20-40% of the route) to explore new regions of the search space.
A swap move within the local search neighborhood, exchanging nodes between two routes to optimize the configuration.

Algorithmic Innovations: $O(1)$ Evaluation

The most significant technical contribution of MATE is the constant-time $O(1)$ move evaluation. In traditional VRP solvers, checking the feasibility of a route change (e.g., a node swap) requires $O(n)$ time to re-verify capacity and time window constraints. MATE precomputes attributes for route subsequences. By concatenating these precomputed blocks, the algorithm can evaluate the cost and feasibility of any neighborhood move in $O(1)$ time. This efficiency allows MATE to explore significantly more solutions within the same computational budget.

Experimental Evaluation

The performance of MATE was validated against two major datasets:

  • The wc set: A standard benchmark of 65 instances (10–100 customers). MATE outperformed leading algorithms like Co-GA and ALNS-PR, discovering new best-known solutions for 12 instances.
  • The jd set: A new large-scale dataset from JD Logistics featuring up to 1,000 customers. MATE demonstrated superior scalability, achieving up to 13% better results than baselines on the largest instances.

The $O(1)$ evaluation mechanism provided a 3.3x average speedup, proving that algorithmic efficiency is as critical as search strategy in solving complex routing problems.

Conclusion and Future Work

MATE represents a state-of-the-art approach to VRPSPDTW, combining robust evolutionary search with highly optimized local search. Future research will focus on dynamically adapting subsequence lengths for even longer routes and using machine learning to prune unpromising search paths, further enhancing the algorithm's efficiency and generalizability to other VRP variants.

Summary updated

BibTeX
@article{liu2021memetic,
  author = {Shengcai Liu and Ke Tang and Xin Yao},
  title = {{Memetic Search for Vehicle Routing with Simultaneous Pickup-Delivery and Time Windows}},
  journal = {Swarm Evol. Comput.},
  year = {2021},
  doi = {10.1016/j.swevo.2021.100927},
}
Figure