P E R G A M O N C o m p u t e r s & Industrial E n g i n e e r i n g 37 (1999) 3 3 1 - 3 3 4
oornl:ut:or,o iraduoa=r, iiil oraglrmoi'qrag
An overview of a heuristic for vehicle routing problem with time windows
Fuh-hwa Franklin Liu* and Sheng-yuan Shen
Department of Industrial Engineering and Management, National Chiao Tung University, Hsinchu, Taiwan, Republic of China
*Addressee for all correspondence. Email:[email protected].
ABSTRACT
In this paper, a two-stage metaheuristic based on a new neighborhood structure is proposed to solve the vehicle routing problem with time windows. Our neighborhood construction focuses on the relationship between route(s) and node(s). Unlike the conventional methods for parallel route construction, we con- struct mutes in a nested parallel manner to obtain higher solution quality. Computational results for 60 benchmark problems are reported. The results indicate that our approach is highly competitive with all existing heuristics, in particular very promising for solving problems with large size. © 1999 Elsevier Science Ltd. All rights reserved.
Keywords: Routing; Time Windows; Neighborhood; Heuristics INTRODUCTION
Routing and scheduling problems have been an intensive research for example surveys in (Bodin et al., 1983; Fisher, 1995). The purpose of this paper is to develop a method in solving the vehicle routing prob- lem with time windows (VRPTW) so that either the obtainment of high quality fast-solution or an attempt in finding the best solution can be achieved.
The VRPTW can be formally stated as follows. Let G = (V, ,4) be a graph with node set V = N u {0} and arc set.4 = { (i,J)l i~ V , j ~ V, i ¢ j } , where N = { 1, 2,..., n} represents the customer set, and node 0 refers to the central depot. Each node i~ V is associated with a customer demand qi (q0 = 0), a service time si (So = 0), and a service-time window
[ei, li].
For every arc (i, j) ~ `4, a non-negative distance d/j and a non- negative travel time t O are known. Moreover, vehicles housed at the central depot are identical. Without loss of generality, each customer demand is assumed to be less than the vehicle capacity Q. In addition, the demand of each customer can not be split. The VRPTW is to find an optimal set of routes in such a way that:(i) all routes start and end at the depot;(ii) each customer in N is visited exactly once within its time window;(iii) the total of customer demands for each route can not exceed the vehicle capacity Q. Our pri- mary objective is to minimize the number of vehicles used, and our secondary objective is to minimize the total distance traveled.It is obvious that the VRPTW is NP-hard due to the NP-hardness of VRP. The exact algorithms recently developed for solving the VRPTW can be found in (Kolen et al., 1987; Desrochers et al., 1992; Fisher et al., 1997; Kohl and Madsen, 1997). However, on the fifty-six 100-customer benchmark problems by Solomon (1987), only a total of 11 problems were solved to optimality. Optimization approach can refer to the surveys by Desrochers et al. (1988) and Desrosiers et al. (1995).
Solomon (1987) was among the first to generalize VRP heuristics for solving the VRPTW. A parallel route building algorithm was contributed by Potvin et al. (1993). Kontoravdis and Bard (1995). Russell (1995) embedded a local improvement procedure into the route construction phase. Literature focusing on the investigation of improvement procedures based on the node-exchange and edge-exchange can be found in (Savelsbergh, 1985, 1992; Thompson and Psaraftis, 1993; Potvin and Rousseau, 1995).
0360-8352/99 - see front matter © 1999 Elsevier Science Ltd. All rights reserved. PII: S 0 3 6 0 - 8 3 5 2 ( 9 9 ) 0 0 0 8 6 - 8
332 Proceedings of the 24th International Conference on Computers and Industrial Engineering In this paper, we propose a Route-NEighborhood-based Two-Stage methaheuristic (RNETS). In consid- eration of the geographical characteristics for VRPs, an appropriate solving approach is to spend time on efficient local operations than on inefficient global operations. Our RNETS provides the flexibility by ranging from a very small search domain to the entire domain.
The main contribution of this paper is the development of a new neighborhood structure based on a rela- tionship between routes and nodes. Moreover, two new concepts, nested parallel route construction and end-effect handling, are presented in order to enhance solution quality.
AN OVERVIEW OF RNETS
A typical approach in solving VRPs consists of the following two phases: route construction phase and route improvement phase. Thus, in addition to an improvement procedure designed for the route im- provement phase, a local improvement procedure is also considered during our route construction phase. Moreover, previous results have shown that the parallel route construction method is in general superior to the sequential one. RNETS considers a mixed strategy consisting of the following two stages. In the first stage, we construct routes in a nested parallel manner from the lower bound direction. With a solution ob- tained in stage L stage II is then to construct routes in parallel from an upper bound direction.
Route Construction
Phase
Improvement P~ase
Initialization LIR: EET: End-Effect Threshold Local Improvement Rule
~[ Parallel Route L. v I Construction
F
n o Parallel Route 1 Reinitialization Embedded Local Improvement End-EffectHandling
RouteL
Improvement ]~Figure 1. The core framwork for each stage of RNETS
Proceedings of the 24th International Conference on Computers and Industrial Engineering 333
the construction of an initial set of mute neighborhoods. The parallel route construction block is responsi- ble for selecting a candidate and inserting it into a specific mute. The parallel route reinitialization block is to eliminate a number of constructed mutes and reconstruct an appropriate set of partial mutes. What we called the nested parallel mute construction is accomplished through the parallel route construction block
and the parallel route reinitialization block. The purpose of end-effect handling block is to apply a spe- cially designed procedure on "a few" unmuted customers who are left with no feasible vehicles with re- spect to the current set of routes during the route construction phase. Reasons in addressing the concepts of mute neighborhoods, nested parallel route construction, and end-effect handling are now described as fol- lows.
Route Neighborhoods
To efficiently deal with large scale VRPs, an intuitive idea is to decompose the original hard problem into several easier subproblems or to divide the original domain into several smaller subdomains.
For VRPs, the term "neighborhood" usually refers to a set of nodes. To be clear, we discuss the neighbor- hood in the following two cases. Case 1: Before the start of route construction, we may divide the cus- tomer set into several smaller subsets or neighborhoods. Usually, these neighborhoods are disjoint parti- tions. Case 2: Having finished mute construction, we can apply local search techniques on the current so- lution. In both the cases, the construction of neighborhoods primarily focused on the relationship between node(s) and node(s). The relationship between mute(s) and node(s) is almost ignored.
Consequently, from a different point of view, we introduce the concept of route neighborhood. It is a rea- sonable conjecture that a customer holds higher probability of being served by near-by routes than by far- ther mutes. Under this observation, we attempt to construct a route neighborhood containing a set of "routes" for each node. In terms of the timing in constructing neighborhoods, our mute neighborhood con- stmction has higher similarities to the neighborhoods described in Case 1. However, our mute neighbor- hoods also play a role like the neighborhoods in Case 2. There are at least two benefits resulting from the construction of route neighborhoods. The first is that the weakness in handling time window constraints faced by the methods like "cluster-first and route-second" can be easily improved; this is indeed why we can generate high quality fast-solution by focusing on a smaller search domain. The second is that to thor- oughly explore solutions on the search space can be easily designed by adjusting the number of mutes to be contained in a mute neighborhood from one to a large enough number.
Nested Parallel Route Construction
Because of the presence of time window constraints, it seems hard to estimate a lower bound tight enough to the number of vehicles actually required. We otien encounter that many customers can not be feasibly served by using only those vehicles. Therefore, we perhaps need to generate more new mutes to accom- modate the remaining unrouted customers. Seeing that the parallel construction method had better per- formance in average, however, we introduce the concept of nested parallel route construction to obtain better solution quality for VRPTW. The nested parallel mute construction repeats the following two steps until all customers are muted or a stopping rule is satisfied. At the first step, we estimate a lower bound to the number of vehicles required for the unrouted customers, and construct a corresponding set of partial mutes. For the mutes just generated, the second step is using these mutes to service the unrouted custom- ers until no feasible insertion locations can be found. We will describe the stopping rules in a later.
End-Effect Handling
In the presence of time window constraints, to eliminate a scheduled route entirely might not be an easy thing if we only rely on a refinement procedure in the route improvement phase. When there are only "a few" unmuted customers left after a number of parallel construction runs, we do not immediately create a new mute or a new set of mutes for them. Since our primary objective is to minimize the number of mutes, we design a special procedure to handle the remaining "a few" unrouted customers. We will say
334 Proceedings of the 24th International Conference on Computers and Industrial Engineering
that there are only "a few" unrouted customers if the total of unmuted demands is smaller than a specified
threshold value. Three measurement criteria, called end-effect thresholds, are suggested for the threshold
value: vehicle capacity, maximal utilization rate x vehicle capacity, and average utilization rate x vehicle capacity. Here, the maximal and average utilization rates are computed with respect to the mutes con- stmcted in all previous parallel construction runs. These thresholds are the stopping rules mentioned ear- lier.
COMPUTATIONAL STUDIES
To assess the performance of RNETS, we first solved four real world problems obtained from George Kontoravids. Among them, two 249-customer problems, D249 and E249, were generated from a 249- customer data set reported in Baker and Schaffer (1988) and two 417-customer problems, D417 and E417, were reported in Russell (1995). In addition, RNETS was tested on fifty-six benchmark problems by Solomon (1987); each is 100-customer Euclidean problem.
REFERENCE
Baker, E.K., and J.R. SchaffeR (1988). Solution improvement heuristics for the vehicle routing
problem with time window constraints. American Journal of Mathematical and Manage. Sci.,
6, 261-300.
Bodin, L., B.L. Golden, A. Assad, and M. Ball (1983). Routing and scheduling of vehicles and
crews: The state of the art. Comput. Oper. Res., 10, 62-212.
Desrochers, M., J. Desrosiers and M. Solomon (1992). A new optimization algorithm for the ve-
hicle routing problem with time windows. Oper. Res., 40, 342-354.
Desrochers, M., J.K. Lenstra, M.W.P. Savelsbergh, and F. Soumis (1988). Vehicle routing with
time windows: optimization and approximation. In: Vehicle Routing: Methods and Studies,
(B.L. Golden and A.A. Assad, eds.), pp. 65-84. North-Holland, Amsterdam.
Desrosiers, J., Y. Dumas, M. Solomon and E Soumis (1995). Time constrained routing and
scheduling. In: Handbooks in Operations Research and Management Science (M. Ball, T.
Magnanti, M. Monma and G. Nemhauser, eds.), Vol. 8: Network Routing, pp. 35-139. North-
Holland, Amsterdam.
Fisher, M. (1995). Vehicle routing. In: Handbooks in Operations Research and Management
Science (M. Ball, T. Magnanti, M. Monma and G Nernhauser, eds.), Vol. 8: Network Routing,
pp. 1-33. North-Holland, Amsterdam.
Fisher, M., K.O. Jornsten and O.B.(2 Madsen (1997). Vehicle routing with time windows: two
optimization algorithms. Oper. Res., 45488-492.
Kohl, N. and O.B.(2 Madsen (1997). An optimization algorithm for the vehicle routing problem
with time windows based on lagrangian relaxation. Oper. Res., 45 395-406.
Kolen, A.W.J., A.H.G. Rinnooy Kan, and H.W.J.M. Trienkens (1987). Vehicle routing with time
windows. Oper. Res., 35,266-273.
Kontoravdis, G and J.F. Bard (1995). A GRASP for the vehicle routing problem with time win-
dows. ORSA J. on Computing, 7, 10-23.
Potvin, J., and J. Rousseau (1993). A parallel route building algorithms for the vehicle routing
and scheduling problem with time windows. Eur. J. Oper. Res., 66, 331-340.
Rochat, ¥., and E.D. Taillard (1995). Probabilistic diversification and intensification in local
search for vehicle routing. J. Heuristics, 1,147-167.
Russell, R.A. (1995). Hybrid heuristics for the vehicle routing problem with time windows.
Transport. Sci., 29, 156-166.
Savelsbergh, M.W.P. (1985). Local search in routing problems with time windows. Annals of
Oper. Res., 4, 285-305.
Savelsbergh, M.W.P. (1992). The vehicle routing problems with time windows: minimizing route
duration. ORSA J. on Computing, 4, 146-154.
Solomon, M. (1987). Algorithms for the vehicle routing and scheduling with time window con-
straints. Oper. Res., 15,254-265.
Thompson, P.M. and H.N. Psaraftis (1993). Cyclic transfer algorithms for multivehicle routing