A generalized multi-depot vehicle routing problem with replenishment based on LocalSolver

Ying Zhang, Mingyao Qi, Lixin Miao, Guotao WuInternational Journal of Industrial Engineering Computations 2014

Abstract

In this paper, we consider the multi-depot heterogeneous vehicle routing problem with time windows in which vehicles may be replenished along their trips. Using the modeling technique in a new-generation solver, we construct a novel formulation considering a rich series of constraint conditions and objective functions. Computation results are tested on an example comes from the real-world application and some cases obtained from the benchmark problems. The results show the good performance of local search method in the efficiency of replenishment system and generalization ability. The variants can be used to almost all kinds of vehicle routing problems, without much modification, demonstrating its possibility of practical use.

Introduction

The Vehicle Routing Problem (VRP) is a fundamental challenge in logistics and operations research. While traditional models often assume a simple "depot-to-customer-to-depot" cycle, real-world logistics are significantly more complex. Modern distribution networks frequently require "rich" VRP solutions that account for multiple depots, heterogeneous fleets with varying capacities and speeds, and the necessity for mid-trip replenishment. Drivers may need to return to a warehouse to reload multiple times during a single shift to satisfy demand within strict time windows.

This paper introduces a generalized mathematical model for the Multi-Depot Heterogeneous Vehicle Routing Problem with Replenishment (MDHVRPR). By leveraging LocalSolver, a modern local-search-based optimization engine, the authors propose a flexible framework capable of handling large-scale, complex logistics scenarios that traditional exact solvers struggle to optimize efficiently.

Problem Formulation and Parameters

The complexity of the MDHVRPR arises from the integration of diverse constraints. The model must account for vehicle-specific parameters such as unload speed, travel speed, and capacity, alongside customer-specific demands and priorities. Furthermore, the inclusion of multiple warehouses introduces variables for refill speeds and depot capacities.

Table of notation and parameters for the generalized VRP model.

As shown in the parameter table above, the model incorporates temporal constraints such as time windows of service $[ET_i, LT_i]$ and driver lunch breaks $[a_i, b_i]$. The objective is not merely distance minimization but a lexicographic optimization that prioritizes customer service and fleet efficiency.

Methodology: Sequence-Based Modeling

The core innovation of this research is the transition from traditional arc-based formulations to a sequence-based modeling perspective. In an arc-based model, binary variables track movement between every pair of nodes $(i, j)$. This approach becomes computationally expensive as the number of nodes and potential replenishment stops increases.

Instead, the authors define a route as a predefined number of "sequences" or slots. A binary decision variable $x_{ink}$ is used to indicate whether node $i$ is assigned to the $n$-th position in the route of vehicle $k$.

Logic for the sequence-based decision variable $x_{ink}$.

This formulation, detailed in the logic table above, allows a vehicle to visit the same warehouse multiple times within a single continuous mathematical sequence. It naturally accommodates "multi-trip" behavior without requiring complex sub-tour elimination or additional indexing for replenishment cycles.

LocalSolver vs. Traditional Solvers

Unlike traditional solvers like CPLEX or Gurobi that rely on Branch-and-Bound tree searches, LocalSolver utilizes a local search heuristic. This choice is critical for "rich" VRPs because:

  1. Scalability: Local search can find high-quality feasible solutions for large-scale problems (e.g., 100+ customers) in seconds.
  2. Non-Linearity: It directly handles non-linear logic, such as ternary "if-then-else" operators, which are often required to model complex real-world rules like varying refill speeds or conditional lunch breaks.

Results and Discussion

The model was validated against four datasets, including real-world inspired cases and modified standard benchmarks (Solomon, Cordeau, and Crevier et al.).

In a real-life scenario involving 25 customers and 3 warehouses, the model successfully scheduled a heterogeneous fleet while identifying specific time-window violations that prevented two customers from being served. In benchmarking against the Crevier et al. (2007) instances, the LocalSolver approach achieved an average distance of 1692.10. While this was higher than the benchmark's 1456.40, the authors' model was significantly more generalized, incorporating time windows and lunch breaks that the original benchmarks omitted.

Crucially, the model demonstrated high efficiency, producing feasible solutions for complex 100-customer multi-depot problems in approximately 15 seconds per objective.

Conclusion

The proposed generalized model for MDHVRPR offers a robust and flexible solution for modern logistics. By utilizing a sequence-based formulation and a local-search-based solver, the framework can be adapted to various VRP variants with minimal modification. While there is an optimality gap compared to specialized exact algorithms, the practical advantages in speed, scalability, and the ability to handle complex real-world constraints make it a viable tool for automated Decision Support Systems in the logistics industry.

Summary updated

BibTeX
@article{zhang2014generalized,
  author = {Ying Zhang and Mingyao Qi and Lixin Miao and Guotao Wu},
  title = {{A generalized multi-depot vehicle routing problem with replenishment based on LocalSolver}},
  journal = {International Journal of Industrial Engineering Computations},
  year = {2014},
  doi = {10.5267/j.ijiec.2014.8.005},
}
Figure