Elsevier

Expert Systems with Applications

Volume 113, 15 December 2018, Pages 66-76
Expert Systems with Applications

Variable neighborhood search for consistent vehicle routing problem

https://doi.org/10.1016/j.eswa.2018.07.007Get rights and content

Highlights

  • A new algorithm for ConVRP is proposed. It outperforms extant algorithms for ConVRP.

  • Several techniques are used to reduce computational time of iterated local search.

  • An effective shaking method is proposed.

  • Time differences of customer points are calculated using a new method.

Abstract

This article presents a variable neighborhood search (VNS) algorithm for the consistent vehicle routing problem (ConVRP). ConVRP is a variant of the vehicle routing problem (VRP). In ConVRP, vehicle routes must be designed for multiple days, and each customer must be visited by the same driver at approximately an identical time on each day. VNS is an efficient algorithmic framework and is widely used. The proposed algorithm consists of two stages. In the first stage, VNS is applied to obtain approximately optimized solutions. The solutions obtained might be infeasible. If a solution is of acceptable quality, the second stage is applied to make it feasible and optimize it further. Several techniques are employed to reduce computation time of the local search stage. A special shaking method is introduced and proofed to be more effective than ordinary methods by experiments. A new method for computing time difference excess is proposed to solve the problem that change of time difference excess caused by operations on an individual day is not obvious. The proposed algorithm is tested on the benchmark ConVRP data set and compared with extant ConVRP approaches from the literature. The results demonstrate that VNS outperforms all the extant ConVRP approaches in terms of quality of solutions obtained.

Introduction

The consistent vehicle routing problem (ConVRP) was proposed by Groër, Golden, and Wasil (2009). It is used to model delivery activities of small packages. In small package shipping industry, service consistency is important for improving customer satisfaction. ConVRP is an extension of the periodic vehicle routing problem (PVRP)(Campbell & Wilson, 2014). PVRP involves managing delivery activities over a period. In typical cases, a period consists of several days, and the routes for delivery must be designed for each day. On a particular day, a customer may or may not require service; therefore, the routes designed for different days generally vary. As there is negligible interplay between any two days, PVRP can be split into several separated capacitated vehicle routing problems (CVRPs)(Xiao, Zhao, Ikou, & Mladenovic, 2014). ConVRP takes customer satisfaction into consideration. From the perspective of a customer, if a single driver provides the service, the driver must be familiar with the situations in the vicinity, e.g., the traffic situation around the district, and thus provide efficient service. In addition, if the service is provided at an approximately similar time on each day, it will be more convenient for the customer to arrange his/her schedule for the service. Based on these factors, ConVRP adds two constraints to PVRP: first, each customer must be served by the same driver over the planning horizon; second, the difference between the earliest time and the latest time that a customer receives service on all days must not exceed a specified limit. The first constraint is called service consistency, and the second is called time consistency.

The mixed integer program of ConVRP was introduced by Groër et al. (2009). For the integrity of description, we present the program in this section. ConVRP is defined on a complete graph G=(N,A), in which N={0,1n} is the set of customers, {0} is the departure point of vehicles, and A={(i,j)|i,jN,ij} is the set of arcs. Each arc (i, j) is associated with a travel time tij. K={1,2m} is the set of vehicles; the number of vehicles is not limited. The planning horizon consists of |D| days, in which D={1,2|D|} is the set of days. On each day d, each customer i is associated with a demand qid and service time sid. qid=0 indicates that customer i has no demand and will not be served on day d. On each day, all the vehicles depart from point 0 at time 0 and return to point 0 after visiting customers they serve. Each customer that has demand on this day must be served exactly once. The demand of all the customers must be fulfilled. All the vehicles have identical capacity Q and can operate for no more than T units of time on each day. The time that a customer receives service is the time at which the vehicle arrives at this customer’s location. aid is the arrival time at customer i on day d, it equals 0 if customer i is not served on day d (i=0 is the depot). wid=1 if customer i requires service on day d and wid=0 otherwise (the depot requires service on all days). L is the time difference limit, which limits the difference between the earliest time and the latest time that a customer receives service. Decision variable xijkd equals 1 if vehicle k visits customer j immediately after customer i on day d and equals 0 otherwise. Decision variable yikd equals 1 if customer i is visited by vehicle k on day d and equals 0 otherwise. The objective function and constraints are as follows: mindDkKiNjNtijxijkd

Subject to: y0kd=1kK,dDa0d=0dDkKyikd=widiN{0},dDiN{0}qidyikdQkK,dDiNxijkd=iNxjikd=yjkdi,jN,kK,dDwia+wib2yikayikb(wia+wib2)iN,kK,a,bD,abaid+xijkd(sid+tij)(1xijkd)TaidiN,jN{0},kK,dDaid+xijkd(sid+tij)+T(1xijkd)aidiN,jN{0},kK,dDi,jSxijkd|S|1SN,2|S|n,kK,dD0aid+wid(sid+ti0)TwidiN{0},dDL+T(wia+wib2)aiaaibLT(wia+wib2)iN,a,bD,abxijkd{0,1};yijkd{0,1};aid0i,jN,kK,dD

The objective function (1) minimizes the total travel time of all vehicles over all days. By constraints (2) and (3), the depot is visited at time 0 by all vehicles on all days. Constraint (4) ensures that customers are visited exactly once when they require service. Constraint (5) guarantees that each vehicle carries no more than Q units on any day. By constraint (6), each customer has only one predecessor and one successor. Constraint (7) ensures that each customer is served by one driver. Constraints (8) and (9) determine the arrival times at customers. Constraint (10) eliminates subtours. Travel time limit is defined in constraint (11). Constraint (12) ensures that the difference between arrival times at each customer on any two days is no more than L, if this customer requires service on both two days.

The structure of this paper is as follows. In Section 2, we give a relevant literature review. In Section 3, we describe our VNS algorithm. In Section 4, we present experiments that proof the efficiency of VNS and the other conclusions. In Section 5, the conclusions are summarized.

Section snippets

Literature review

To solve ConVRP, Groër et al. (2009) proposed the template concept, which is also used by Tarantilis, Stavropoulou, and Repoussis (2012) and Kovacs, Parragh, and Hartl (2014). In their approaches, a template is a set of routes consisting of customers served on multiple days. To obtain the route for a particular day, first, the customers not served on that day are removed; then, the customers served on a single day and only on that day are inserted. Groër et al. (2009) also introduced an

General structure

We introduce a VNS algorithm for ConVRP. Below is the pseudo code of the general structure.

This is a two-stage algorithm. In the beginning, we generate an initial template solution T. The template concept was introduced by Groër et al. (2009). Fig. 1(a) shows a route in template form. It consists of five customer points and a departure point 0. The demands of the customer points are presented in Table 2. The planning horizon consists of three days. On each day, the points that do not require

Computational experiments

All the experiments are conducted on an Intel Core i5-6500 3.4 GHz CPU. The memory is 8GB. The operating system is Windows 7, 64 bit. All the algorithms are implemented in C++ in Visual Studio 2010.

Conclusions

We introduce a VNS algorithm for ConVRP. The computational results compared with those of algorithms from the literature demonstrate that VNS outperforms all the existing algorithms for ConVRP. VNS involves iterated local search to shift the current template solution to a local optimum. While this procedure is effective for improving intensification, it is time consuming. We introduce the “near” concept, calculate cost change without resolving the template solution, and save the optimum

Acknowledgments

This work is partially supported by the National Natural Science Foundation of China under grant no. 61074147, the Natural Science Foundation of Guangdong Province under grant no. S2011010005059, the Foundation of Enterprise-University-Research Institute Cooperation from Guangdong Province and Ministry of Education of China under grant nos. 2012B091000171 and 2011B090400460, the Science and Technology Program of Guangdong Province under grant nos. 2012B050600028, 2014B010118004, and

References (27)

Cited by (45)

  • Traffic emergency vehicle deployment and dispatch under uncertainty

    2024, Transportation Research Part E: Logistics and Transportation Review
  • Repositioning shared bikes under low-carbon policies

    2023, Computers and Industrial Engineering
  • A multi-stage heuristic algorithm based on task grouping for vehicle routing problem with energy constraint in disasters

    2023, Expert Systems with Applications
    Citation Excerpt :

    The findings obtained from the literatures are presented. As shown in Table 2, many excellent optimization algorithms and their combinations are used to address CVRP and its variants, such as genetic optimization (Karakatič, 2021; Shahab et al., 2016; Shao et al., 2018), ant colony optimization (Jia et al., 2021, 2022), particle swarm optimization (Islam et al., 2021), neighborhood search based algorithms (Akpinar, 2016; Lu et al., 2020; Xu & Cai, 2018), firefly algorithms (Altabeeb et al., 2021, 2019), and so on. Kancharla and Ramadurai (2018) presented an adaptive large neighborhood search (ALNS) with special operators to deal with the electric vehicle routing problem.

View all citing articles on Scopus
View full text