NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Multi-type ant system algorithm for the time dependent vehicle routing problem with time windows

Yuzhang Deng, Wanhong Zhu, Hongwei Li, Yonghui ZhengJournal of Systems Engineering and Electronics 2018

Abstract

This paper introduces a Multi-type Ant System (MTAS) algorithm to address the Time Dependent Vehicle Routing Problem with Time Windows (TDVRPTW). Unlike static routing models, TDVRPTW accounts for fluctuating travel times caused by traffic congestion. The MTAS framework hybridizes two ant colony strategies: ACS-VEI for minimizing fleet size and MMAS-TIME for optimizing travel time. By incorporating adaptive pheromone updates and a nearest neighbor selection heuristic, the algorithm achieves superior performance on standard benchmarks, particularly in high-congestion scenarios.

Introduction

Vehicle routing in urban environments is complicated by dynamic traffic patterns. A trip that takes 10 minutes at midnight may take 40 minutes during rush hour. This paper tackles the Time Dependent Vehicle Routing Problem with Time Windows (TDVRPTW), where the goal is to optimize delivery routes while respecting strict customer time windows and accounting for time-varying speeds.

The Challenge of Time-Dependent Routing

The primary difficulty in TDVRPTW is modeling dynamic travel times while adhering to the First-In-First-Out (FIFO) principle—ensuring that a vehicle leaving earlier always arrives no later than one leaving later. The authors utilize step functions to represent speed profiles throughout the day.

Speed and travel time functions illustrating the time-dependent nature of the problem.

As shown in the figure above, the speed function (a) directly influences the resulting travel time function (b). Algorithms must navigate these fluctuations to find valid and optimal routes.

The Multi-type Ant System (MTAS) Framework

The proposed MTAS algorithm employs two distinct "colonies" of artificial ants working in parallel to balance feasibility and optimality:

  • ACS-VEI (Ant Colony System): This colony focuses on minimizing the total number of vehicles. It uses an aggressive insertion heuristic to maximize customer density per route.
  • MMAS-TIME (Max-Min Ant System): Once a feasible vehicle count is established, this colony optimizes for total travel time and distance.

This hybrid approach prevents the algorithm from getting trapped in local optima, a common issue for single-strategy metaheuristics.

Adaptive Pheromone Updating and Search Mechanisms

To maintain a balance between exploration and exploitation, the authors implemented an adaptive pheromone update rule. Early in the search, the algorithm encourages "scouting" new paths; as iterations progress, it converges more rapidly toward the best-found solutions.

Effect of adaptive exponents on the probability of selecting the global-best tour.

The adaptive exponent (shown in the figure above) prevents premature convergence by scaling the influence of the global-best solution over time. Additionally, a Nearest Neighbor Selection (NNS) heuristic and a suite of local search moves (Exchange, Relocate, 2-opt) further refine the solutions.

Experimental Results

The MTAS algorithm was evaluated using Solomon’s VRPTW instances and Figliozzi’s TDVRPTW extensions, which simulate varying congestion levels (TD1, TD2, TD3).

  • Fleet Size Reduction: MTAS consistently matched or outperformed previous benchmarks. In high-congestion models (TD3), it significantly reduced the total fleet size compared to static baselines.
  • Efficiency Gains: The algorithm improved average travel speeds by 1.21% to 4.27% over the Iterative Route Construction and Improvement (IRCI) algorithm.
  • Robustness: The performance advantage of MTAS became more pronounced as traffic congestion increased, highlighting its suitability for complex urban logistics.

Conclusion

The Multi-type Ant System provides a robust framework for solving time-dependent routing problems. By combining specialized ant colonies with adaptive search mechanisms, it effectively manages the trade-off between fleet size and travel efficiency. Future research will explore the integration of real-time stochastic traffic data and extending the model to heterogeneous fleets.

Summary updated

BibTeX
@article{deng2018multi,
  author = {Yuzhang Deng and Wanhong Zhu and Hongwei Li and Yonghui ZHENG},
  title = {{Multi-type ant system algorithm for the time dependent vehicle routing problem with time windows}},
  journal = {Journal of Systems Engineering and Electronics},
  year = {2018},
  doi = {10.21629/jsee.2018.03.20},
}
Figure