Sie sind auf Seite 1von 14

This article was downloaded by: [132.236.27.

111] On: 11 May 2017, At: 17:30


Publisher: Institute for Operations Research and the Management Sciences (INFORMS)
INFORMS is located in Maryland, USA

Operations Research
Publication details, including instructions for authors and subscription information:
http://pubsonline.informs.org

Algorithms for the Vehicle Routing and Scheduling


Problems with Time Window Constraints
Marius M. Solomon,

To cite this article:


Marius M. Solomon, (1987) Algorithms for the Vehicle Routing and Scheduling Problems with Time Window Constraints.
Operations Research 35(2):254-265. http://dx.doi.org/10.1287/opre.35.2.254

Full terms and conditions of use: http://pubsonline.informs.org/page/terms-and-conditions

This article may be used only for the purposes of research, teaching, and/or private study. Commercial use
or systematic downloading (by robots or other automatic processes) is prohibited without explicit Publisher
approval, unless otherwise noted. For more information, contact permissions@informs.org.

The Publisher does not warrant or guarantee the article’s accuracy, completeness, merchantability, fitness
for a particular purpose, or non-infringement. Descriptions of, or references to, products or publications, or
inclusion of an advertisement in this article, neither constitutes nor implies a guarantee, endorsement, or
support of claims made of that product, publication, or service.

© 1987 INFORMS

Please scroll down for article—it is on subsequent pages

INFORMS is the largest professional society in the world for professionals in the fields of operations research, management
science, and analytics.
For more information on INFORMS, its publications, membership, or meetings visit http://www.informs.org
Downloaded from informs.org by [132.236.27.111] on 11 May 2017, at 17:30 . For personal use only, all rights reserved.

ALGORITHMS FOR
THE VEHICLE ROUTING AND SCHEDULING PROBLEMS
WITH TIME WINDOW CONSTRAINTS
MARIUS M. SOLOMON
Northeastern University, Boston, Massachusetts
(Received February '984; revisions received October 1984; March, October 1985; accepted December 1985)

This paper considers the design and analysis of algorithms for vehicle routing and scheduling problems with time window
constraiots. Given the intrinsic difficulty of this problem class, EV}proximation methods seem to offer the most promise
for practical size problems. After describing a variety of heuristics, we conduct an extensive computational study of their
performance. The problem set includes routing and scheduling environments that differ in terms of the type of data used
to generate the problems, the percent^e of customers with time windows, their tightness and positioning, and the
scheduling horizon. We found that several heuristics performed well in different problem environments; in particular an
insertion-type heuristic consistently gave very good results.

A key element of many distribution systems is the


routing and scheduling of vehicles through a set
of customers requiring service.
scheduling. So far, this type of constraint has been
handled in an ad hoc manner, mostly by manual
adjustments to routing-based schedules.
The vehicle routing problem (VRP) involves the While the spatial problem of routing vehicles has
design of a set of minimum-cost vehicle routes, origi- been intensively studied in the literature (Bodin et al.),
nating and terminating at a central depot, for a fleet very little work has been done on the VRSPTW, which
of vehicles that services a set of customers with known encompasses both spatial and temporal aspects of
demands. Each customer is serviced exactly once and, vehicle movements. Almost all approaches to the rout-
furthermore, all the customers must be assigned to ing problem suffer from the limitation that they do
vehicles without exceeding vehicle capacities (see not consider time window constraints. The existing
Bodin et al. 1983 for a comprehensive survey). In the literature on the problem with time windows has dealt
vehicle routing and scheduling problem with time mainly with case studies (Pullen and Webb 1967,
window constraints (VRSPTW), these issues must be Knight and Hofer 1968, and Cook and Russell 1978).
addressed under the added complexity of allowable The latter authors report computational experience
delivery times, or time windows, stemming from the with a A:-optimaI improvement heuristic, M-TOUR
fact that some customers impose delivery deadlines (Russell 1977) for an actual problem involving 163
and earliest-delivery-time constraints. customers, 4 vehicles and only 15% time-constrained
In the presence of time windows, the total routing customers. The computational requirements of Rus-
and scheduling costs include not only the total travel sell's method are, however, very large (1.27 minutes
distance and time costs considered for routing prob- oflBM 370/168 CPU time).
lems, but also the cost of waiting time incurred when The rest of the literature has been directed primarily
a vehicle arrives too early at a customer location or at special structures. Christofides, Mingozzi and Toth
when the vehicle is loaded or unloaded. (1981) discuss state space relaxations for dynamic
The VRSPTW has emerged as an important area programming approaches to the traveling salesman
for progress in handling realistic complications and problem with time windows, while Baker (1983), and
generalizations of the basic routing model (Schrage Baker and Rushinek (1982) present a branch-and-
1981, Bodin et al.). Time windows arise naturally in bound algorithm for a new, time-oriented formulation
problems faced by business organizations that work of the problem. Some progress has been made in
on fixed time schedules. Specific examples include the multiperiod routing problem (Federgmen and
bank deliveries, postal deliveries, industrial refuse col- Lagewc« 1980, Fisher et al. 1982). In this problem,
lection, dial-a-ride service, and school bus routing and the time windows are full days, and a service activity

Subject classification: 632 heuristic {nngramming, 831 transportation, 483 distance algorithms.

OperatMHis Research O03O-364X/87/3502-O254 $01.25


Vol. 35, No. 2, March-April 1987 254 © 1987 Operations Research Society of America
Downloaded from informs.org by [132.236.27.111] on 11 May 2017, at 17:30 . For personal use only, all rights reserved.

The Vehicle Routing and Scheduling Problem / 255


must occtir on a specified number of days of the The service at a customer, say /, / = 1, . . . , n,
planning horizon. involving pickup and/or delivery of goods or services
Other classes of problems with time windows have for SI units of time, can begin at timeft,,within a time
received increased attention lately: the dial-a-ride window defined by the earliest time ei and the latest
problem (Psaraftis 1983, Sexton and Bodin 1985a,b) time /, that customer / will permit the start of service.
and the school-bus scheduling problem. Orlofi'(1976) Hence, if a vehicle travels directly from customer (to
presents a matching-based heuristic, while Swersey customer J and arrives too early atj, it will wait, that
and Ballard (1982) discuss an optimal approach to is, bj = maxl^j, bj + Si + tij\, where ty is the direct
this problem with the time window discretized. travel time between ; and/ Note that the times i, for
Desrosiere, Soumis and Derochers (1983a,b) develop i = 1, . . . , « , at which services begin are decision
exact methods for this problem. One algorithm uses a variables.
column generation approach in which the columns We assume that the cost of direct travel from cus-
are generated by using a shortest-path-with-time- tomer i to customer/ is given by Cij = ptd,j + p^bj -
windows algorithm (Desrosiers, Pelletier and Soumis bi), p, s 0, p2 s 0, as defined by the direct distance dij
1982). Two other branch-and-bound algorithms in- from customer i to customer/ For example, if pi = ()
volve relaxations of the time-window-related con- and /)2 = I, one seeks to minitnize total schedule time.
straints. We also assume that the number of vehicles tised is
Problems with time windows are from a computa- free, i.e., the fleet size is determined simultaneously,
tional complexity perspective quite difficult. Since the using the best set of routes and schedules. The vehicles
(VRP) is NP-hard, byrestriction,the VRSPTW is NP- leave the depot, denoted by node 0, at time eo, at the
hard. Furthermore, Savelsbergh (1984) has recently earhest and must return to the depot by time k, at the
shown that even finding a feasible solution to the latest. Note that vehicle departure times from the
VRSPTW when the number of vehicles is frxed is itself depot are decision variables.
a NP-complete problem. Therefore, the development Solomon (1983) presents an MIP formulation for
of heuristic algorithms for this problem class is of the VRSPTW. It is based on a model for the basic
primary interest. routing problem given by Fisher and Jaikumar (1981),
This paper is concerned with the design and analysis and on a generalization of the Miller, Tucker and
of tour-building algorithms for the VRSPTW. All the Zemlin (1960) subtour elimination constraints that is
algorithms presented are extensions of known VRP similar to the generalization used by Desrosiers,
heuristics. The novelty of our approach consists in Soumis and Desrochers (1983a) in the context of the
incorporating not only the distance but also the time traveling salesman problem with time windows.
dimension in the heuristic process. The extensive Of primary importance to the effectiveness and
modifications to the original algorithms have pro- efficiency of heuristics for this problem is the way in
duced more robust and fiexible methods that can which the time window constraints are incorporated
accommodate time window constraints. in the solution process. Since we will concentrate on
route-building procedures, let us first examine the
necessary and sufficient conditions for time feasibility
1. Heuristics when inserting a customer, say u, between the cus-
Tour-building algorithms for the VRSPTW can be tomers 1^1, and jp, 1 « p s m, on a partially con-
divided into sequential and parallel methods. Sequen- structed feasible route, (io, /i, ij,.. •. im\ io = im = 0,
tial procedures construct one route at a time until all for which the times to begin service, A,, for 0 « r € m,
customers are scheduled. Parallel procedures are char- are known.
acterized by the construction of a number of routes We will assume that initially each vehicle leaves the
simultaneously. The routes are either allowed to form depot at the earliest possible time, Co. After the com-
freely or their number is fixed a priori. In the light of plete vehicle schedules have been created, we can
Savelsbergh's restUts (1984), we will focus on fiee- adjtist the depot departure time separately for each
routing type of parallel procedures and on sequential vehicle to eliminate any unnecessary waiting time.
methods. Denote by Af" the new time when service at cus-
Before describing the heuristics, let us first state the tomer /„, begins, given the insertion of customer u.
assumptions and introduce the concepts that will be Also, let Wi, be the waiting time at /, for p s r « m. If
needed throughout the paper. For notational simplic- we assume that the triangle inequality holds both for
ity, we will assume a homogeneous vehicle fleet. travel distances and times, this insertion defines a
Downloaded from informs.org by [132.236.27.111] on 11 May 2017, at 17:30 . For personal use only, all rights reserved.

256 / SOLOMON

push forward in the schedule at ipi on one route as opposed to servicing them individ-
ually, directly from the depot.
PF,, = /j™™' - i>;^ > 0 Due to the existence of time windows, we now must
Furthermore, account for route orientation. Two partial routes with
end customers /' and j , respectively, have compatible
PFi^, = max{0, P F i ^ - w ^ ^ . K p ^ r ^ m - 1, orientations if/ is first (last), and 7 is last (finit), i.e.,
Similarly, one can also define a push backward in the admissible links are from the last customer (/) on
the schedule at /Vforr = 0, . . . , ; ) - 1. However, this one route to the first customer (/) on another. Fur-
concept is not appealing, since the current schedule thermore, in addition to taking into account vehicle
can be pushed backward only if there is no waiting capacity constraints, we must check time window
time in the schedule up to /p., and the vehicle leaves constraints for violation at every step in the heuristic
the depot later than eo. Note that by initially assuming process. Lemma 1.1 can be easily adapted to the case
that each vehicle leaves the depot at eo, we can take of links of the form (/,/). As in Lemma LI, we simply
advantage of the maximum possible push forward. use the push forward generated a t / t o efficiently test
If PF,p > 0, some of the customers i,, p '^ r ^ m, time feasibility.
could become infeasible. It is easy to see that we should We implemented the parallel savings method using
examine these customers sequentially for time feasi- list processing and heapsort structures, as proposed by
bility until we fmd some customer, say U with r<m, Golden, M^nanti and Nguyen (1977).
for which PFi, = 0, or i, is time infeasible, or, in the As presented, the savings heuristic could find it
worst case all the customers ir, p ^ r ^ m are exam- profitable to join two customers very close in distance
ined. We have just proved: but far apart in time. Such links introduce extended
periods of waiting time, which can have a high oppor-
Lemma 1.1. The necessary and sufficient conditions tunity cost since the vehicle could be servicing other
for time feasibility when inserting a customer, say u, customers instead of, for example, waiting for a cus-
between ip-^ and ip, 1 ^ p ^ m, on a partially con- tomer to open. To account for both the spatial and
structed feasible route (/'o, ii, /2, . • •, im), io = im = 0 temporal closeness of customers, we propose limiting
are the waiting time when joining two customers: letting
bu =s /„, and /J,, + PF,, ^ li^, p ^ r ^ m. wf^ be the resulting waiting time a t / i f / and/were
to be joined, and Wbe a parameter, i.e., if wf^ > W,
Note that if we assume non-euclidean travel dis- then we do not use the link (/,/).
tances and times, then it is possible that PF,p < 0,
which leaves all the customers time feasible. 1.2. A Time-Oriented, Nearest-Neighbor Heuristic
Note also that since /,„ = 0, the use of Lemma 1.1
will ensure that any customer that does not permit The second heuristic we consider belongs to the class
the vehicle to return to the depot within the scheduled of sequential, tour-building algorithms.
time will not be added to the partial route. The nearest-neighbor heuristic starts every route by
Let us now describe several heuristic methods for finding the unrouted customer "closest" (in terms of
the solution of VRSPTW. a measure to be described later) to the depot. At every
subsequent iteration, the heuristic searches for the
customer "closest" to the last customer added to the
1.1. Savings Heuristics route. This search is performed among all the cus-
Our initial approach to solving VRSPTW is to extend tomers who can feasibly (with respect to time win-
the savings heuristic originally proposed for the rout- dows, vehicle arrival time at the depot, and capacity
ing problem by Clarke and Wright (1964). This pro- constraints) be added to the end of the emerging route.
cedure begins with n distinct routes in which each A new route is started any time the search fails, unless
customer is served by a dedicated vehicle. The parallel there are no more customers to schedule.
version of this tour-building heuristic is characterized The metric used in this approach tries to account
by the addition at every iteration of a link of distinct, for both geographical and temporal closeness of cus-
partially formed routes between two end customers, tomers. Let the last customer on the current partial
guided by a measure of cost savings given by route be customer i, and let j denote any unrouted
customer that could be visited next. Then the metric
dio + doj - f ^ 0. used, Cij, measures the direct distance between the two
For example, when n = I, savy is the savings in customers, dy, the time difference between the com-
distance that results from servicing customers / and j pletion of service at i and the beginning of service at
Downloaded from informs.org by [132.236.27.111] on 11 May 2017, at 17:30 . For personal use only, all rights reserved.

The Vehicle Routing and Scheduling Problem / 257


j . Til, and the urgency of delivery to customer 7, u,,, as customer;, given that u is on the route;
expressed by the time remaining until the vehicle's
last possible service start.
Formally,

T,i = Aj - (A, + s,\ a, S 0, 02 =5 0;

Vii = h - (*, + s, + Uj), C2(i, u, j) = Xdo, - c,(i, «, j), A 2> 0.

and This type of insertion heuristics tries to maximize


the benefit derived from servicing a customer on the
partial route being constructed rather than on a direct
is defined by weights satisfying 6i route. For example, when /i = ai = X = 1 and 02 = 0,
J2 ^ 0, 83 s 0. CJO, U, j) is the savings in distance from servicing
customer u on the same route with customers / andy,
as opposed to individual, direct service. The best
1.3. Insertion Heuristics feasible insertion place for an unrouted customer is
This class of sequential, tour-building heuristics ini- the one that minimizes the weighted combination of
tializes every route using one of several criteria to be its distance and time insertion, i.e., the one that min-
described later (see Section 3.1). After initializing the imizes a measure of the extra distance and extra time
current route, the method uses two criteria, cAU u, j) required to visit the customer.
and C2O, H, 7), at every iteration to insert a new Clearly, different values 0(11 and X lead to different
customer u into the current partial route, between two possible criteria for selecting the customer for insertion
adjacent customers / and j on the route. and its best insertion spot. For example, if 02 = 0 and
Let {/o, i\, h, . . . , i'm) be the current route, with Co« = dou, we obtain the Mole and Jameson (1976)
'0 = u = 0, For each unrouted customer, we first approach introduced for the routing problem. There-
compute its best feasible insertion place in the emerg- fore, the class of heuristics described in this discussion,
ing route as which considers insertion costs on both distance and
time dimensions, is a generalization of Mole and
Jameson's approach.
The second type of insertion heuristics aims to select
= min[c,(;,_,, H, ;,)], ;J = 1, . . . , m. customers whose insertion costs minimize a measure
As noted previously, inserting w between /p^i and ip of total route distance and time.
could potentially alter all the times to begin service at ii) c,(i, u, j) is defined as before;
customers {ip, ..., /„). In our computational tests, (3, -I- & = 1, (S, 3. 0,
we have found our time feasibility conditions, i.e..
Lemma 1.1, to be much faster than the explicit testing
of time feasibility at each customer. Next, the best where RA") and R,(u) are the total route distance and
customer « to be inserted in the route is selected as time of the current partial route, if «is inserted.
the one for which In our third approach, the temporal aspect of the
criterion used for insertion also accounts for the ur-
= optimum[C2(((«), gency of servieing a customer.
u unrouted and feasible. iii) Cn(i, u,j) and Ci2(i, u,j) are defined as before;
Customer u* is then inserted in the route between a,Cn(i,
/(M*) and J(«*). When no more customer with feasible
insertions can be found, the method starts a new route,
where
unless it has already routed all customers.
We now eonsider three more specific approaches 0, OL2^ 0 , a-i > 0 ;
based on the general insertion criteria just described.
i) c,,(/, «, j) 0; It is easy to see that, in fact, this class of heuristies is
a generalization of the time-oriented, nearest-neighbor
heuristic, in that we allow insertion of an unrouted
where A,,, is the new time for service to begin at customer in any feasible location between a pair of
Downloaded from informs.org by [132.236.27.111] on 11 May 2017, at 17:30 . For personal use only, all rights reserved.

258 / SOLOMON

customers on the route, rather than only at the end of behavior of routing and scheduling heuristics. These
the route. faaors include: geographical data; the number of
In all the approaches presented, the insertion of customers serviced by a vehicle; and time window
uniounted customers is guided by both geographical characteristics such as percentage of time-constrained
and temporal criteria. As a consequence, we expert customers, and tightness and positioning of the time
that the waiting time in the schedules produced by windows.
these heuristics will be significantly lower than that The data used for the customer coordinates and
produced by distance-driven criteria. demands are based on the data for some of the prob-
lems from the standard set of routing test problems
1.4. A Time-Oriented Sweep Heuristic given in Christofides, Mingozzi and Toth (1979). The
geographical data are randomly generated by a ran-
This heuristic can be viewed as a member of a broad dom uniform distribution (denote the corresponding
class of approximation methods that decompose the problem sets by Rl and R2), clustered (denote the
VRSPTW into a clustering stage and a scheduling corresponding problem sets by Cl and C2), and semi-
stage. In the first phase, we assign customers to vehi- clustered (denote the corresponding problem sets by
cles as in the original sweep heuristic (Gillett and RCl and RC2). By a semiclustered problem, we mean
Miller 1974). In the second phase, we create a one- one that contains a mix of randomly generated data
vehicle schedule for the customers in this sector, using and clusters. Problem sets Rl, Cl, and RCl have a
a tour-building heuristic. The insertion heuristic of short scheduling horizon. The length of route-time
type (i) was used in our computer implementation. constraint arts as a capacity constraint which, together
Due to the time window constraints, some customers with the vehicle capacity constraints, allows only a
in this cluster could remain unscheduled. few customers to be serviced by the same vehicle. In
After eliminating scheduled customers from further contrast, the sets R2, C2 and RC2 have a long sched-
consideration, we repeat the clustering-scheduling uhng horizon; this characteristic, coupled with large
process. To preserve geographical cohesiveness, one vehicle capacities, permits many customers to be
might consider different seed selection criteria for the serviced by the same vehicle.
next cluster. We use a simple rule that bisects the
Given certain geographical and demand data, we
sector just considered and, assuming a counterclock-
created the VRSPTW test problems by generating
wise sweep in the more counterclocicwise half-sector
time windows of various widths for different percent-
lets the seed for a new cluster be the unscheduled
ages of customers. In terms of time window density,
customer with the smallest angle formed by the
that is, the percentage of customers with time win-
ray firom the depot through that customer and the
dows, we created problems with 25, 50, 75 and 100%
bisector.
time windows.
The intuition for partitioning the unscheduled cus- We now present a method we designed for the
tomers in the sertor into two subsets is that the cus- random generation of time window constraints. This
tomers in the more clockwise half-sector will be rela- method was used for the development of the problem
tively far away from the new cluster. By inserting these sets R1, R2, RCl, RC2. First, we select the percentage
customers at a later stage, we hope to generate a better of customers to receive time windows, say / 0 <
schedule. / « 1. We then generate « random numbers from
We then repeat the process until all customers have the random uniform distribution over the interval
been scheduled. (0, 1) and sort them. This approach creates a random
In order to evaluate the computational capabilities permutation of customers, (/i, . . . , /„), with ij being
of the heuristics presented, we have developed a set of the position after the sort of the 7 th random number
test problems. This approach is necessary given that generated. Finally, we assign time windows to the
no benchmark problem set is available in the literature customers !,,•••, U,, with n, chosen to be the integer
for vehicle routing and scheduling problems with time that most closely approximates^. The time windows
windows. have a randomly generated center and width. We
choose the center of the time window for customer (j
for 7 = 1, . . . , n^ as being a uniformly distributed,
2. Devetopment of the ProUein Sets
randomly generated number in the interval {eo + tojjy
We generated six sets of problems; the actual data are lo — tijfl — Si). To create the time window's width for
available from the author. The design of these test ij, we generate half the width as a normally distributed
problems highlights several factors that can affect the random number.
Downloaded from informs.org by [132.236.27.111] on 11 May 2017, at 17:30 . For personal use only, all rights reserved.

The Vehicle Routing and Scheduling Problem / 259


We used a somewhat different method for the clus- vehicles and a higher total schedule time will be better
tered problems, Cl and C2. We firet run a 3.-opt than one utilizing more vehicles but having a lower
routine (Lin 1965) on each cluster to create routes total schedule time.
and then produce schedules by selecting an orientation In the tables that follow, for each heuristic, the
for each cluster. The time window constraints are numbers on the left-hand side of the column headed
generated by choosing the center as the arrival time at "Average solution values and CPU time" are the total
each customer; the width and density are derived as schedule time, total distance and total waiting time,
before. respectively, of the best of several runs using different
Given the design method, problem sets Cl and C2 parameter values and initialization criteria, averaged
are composed of structured problems in the sense that over the respective problem set. The total schedule
the customers appear in clusters and the time windows time is the sum of the total travel time, total service
are positioned around the arrival times at customers. time, and total waiting time,respectively.The num-
This approach permits the identification of a very bers on the right-hand side of this column are the
good, possibly optimal, cluster-by-cluster solution number of routes of the best solution and the total
which, in turn, provides an additional means of eval- CPU time for the different runs, averaged over the
uating heuristic performance. respective problem set. The solution times are in
It is worth mentioning that the best solution we seconds on the DEC-10, and include the time to read
found for Cl requires 10 vehicles, for a total schedule the data and compute intercustomer distances and
of 9,829 units, a distance of 829 units and no waiting times. The column headed "Percent deviation from
time. For C2, the best schedule we found requires a the best average solution value" presents the deviation,
fleet of 3 vehicles, a total of 9,591 units of time, 591 in percentages, of each heuristic's average solution
units of distance and no waiting time. value from the best average solution value, on each
All the test problems are 100-customer euclidean solution dimension. The specific computational
problems. This problem size is not limiting for the results are available fi-om the author.
methods presented, since much larger problems could In obtaining the computational resultsreported,we
be solved. Travel times between customers are taken used the following parameters:
to equal the corresponding distances. Furthermore, a Savings. The results are the best of two runs, with
homogeneous fleet is assumed. ^ = 1,0.2.
Savings with Waiting- Time Limit. On R!, the com-
3. Computational Study putational results are the best of four runs: ii= I, 0.2,
and the waiting time limited to 30 and 60 units,
3.1. Computational Results respectively. On Cl, two additional runs were made
Earlier computational experiments for the VRP with the waiting time limited to 120 units.
(Christofides, Mingozzi and Toth 1979) indicate that Insertion-Criterion (i). The results are the best of
the sweep algorithm performed much better than eight runs. The parameters used, iji, X, ai, 02), are:
either the savings or the insertion heuristics on a (1, I, 1, 0), (1, 2, 1, 0), (1, 1, 0, 1), and (1, 2, 0, 1).
number of randomly generated problems. For several Two initiahzation criteria were tested:
structured problems, the reverse was true. Also, the (a) the farthest unrouted customer, and
insertion heuristic had a slightly better overall per- (b) the unrounted customer with the earUest dead-
formance than the savings method. All the algorithms line.
used 2-optimal refining procedures to improve the Insertion-Criterion (ii). Eight runs were performed
routes. for this heuristic. The parameters used, {ji, a,, a^, ff,,
To analyze the behavior of the VRSPTW heuristics ft), are (1, 0.5, 0.5, 0.5, 0.5), (1, 1, 0, 0.5, 0.5), and
described in Section 1, we programmed them in (1,0, 1, 1, 0). Three initiahzation criteria were used
FORTRAN and performed computational tests on the in conjunction with the first two sets of parameters:
problem classes described in the last section. In ob- criteria (a) and (b), and
taining the computational results, we did not use any (c) the unrouted customer with the minimum
^-optimal improvement procedures. equally weighted combination of direct route-time and
Solution quality is measured in terms of the mini- distance.
mum number of vehicles, minimum schedule time, Only criteria (a) and (b) were used with the third
minimum distance, and minimum waiting time in set of parameters.
that order, i.e., we use a lexicographic ordering of the Insertion-Criterion (Hi). Theresultshere are the best
solutions. Hence, a schedule with, for example, fewer of ten runs with (»i, a,, 02, a,) = (1, 0.5, 0.5, 0),
Downloaded from informs.org by [132.236.27.111] on 11 May 2017, at 17:30 . For personal use only, all rights reserved.

260 / SOLOMON

(1, 0.4, 0.4, 0.2), and (1, 0, 1, 0). The initialization results is provided by further comparing, on Cl and
criteria (a), (b), and (c) were used with the first set of on C2, this heuristic's values with the best known
parameters. In addition to the previous three criteria, solution (see Section 2). II was consistently close to
we used the actn^ heuristic criterion for initialization the best known total schedule time on both problem
in conjunction with the second set of parameters. For sets; on Cl, its smallest deviation was 0.3%, its largest
the third set of parameters, criteria (a), (b) and the deviation was 8.3%, with an average of 2.8%, while
actual heuristic criterion were used for initialization. on C2, its deviation was within 5% in seven out of the
Sweep. The results for this heuristic are the best of eight problems tested.
eight runs with the parameters used for the insertion The insertion-based sweep strategy was found to be
heuristic with criterion (i). The first seed was always very good for problems with many customers per
chosen as the first customer encountered in the first vehicle. This heuristic obtained the best solution in 13
quadrant in a counterclockwise sweep. out of the 27 cases. This method performed very well
Nearest Neighbor. The parameters used for this on the clustered problem sets C i and C2, where it was
heuristic, (5,, 62, 53), are: (0.4, 0.4, 0.2), (0, 1, 0), superior to the other heuristics in 4 and 7 cases,
{0.5, 0.5, 0), and (0.3, 0.3, 0.4). respectively. When compared to the best known so-
Tables I-VI compare the methods on each problem lution for these problem sets, its largest total schedule
set, for solution quality and running time. time deviation was only 9.7% on Cl, and 3.8% on
With respect to solution quality, heuristic II per- C2. While it did not behave well on Rl and RCl, we
formed the best. Its behavior was very stable across all believe its behavior on these problems could be im-
problem environments, obtaining the best solution for proved by the consideration of each of the customers
27 out of the 56 problems tested; even when it did not as initial seeds.
beat the other methods, its deviation from the best The insertion heuristics 12 and 13 dominated the
solution was quite small. Additional support for these waiting time dimension for problems with a short

Table I
Comparison of the Algorithms on Rl
Average Solution Values^ Percent Deviation No. of Problems on
Algorithm and CPU Time' from Best Average Which Method Found
Solution Value Best Solution
Savings (SAV) 3116.3 16.6 15.6% 22% 0
1498.9 4.3%
617.4 2.4 138.6%
Savings, waiting time limit 2925.2 15.1 8.5% 11% 0
(SWT) 1517.2 5.6%
408.1 4.7 57.7%
Insertion criterion i (11) 2695.5 13.6 0.0% 0% 11
1436.7 0.0%
258.8 24.7 0.0%
Insertion criterion ii (12) 2888.1 14.5 7.1% 6.6% 0
1638.7 14.1%
249.4 25.5 -3.6%
Insertion criterion iii (13) 2855.1 14.1 5.9% 3.7% 1
1651.7 15.0%
203.3 31.7 -21.4%
Nearest Neighbor (NN) 2968.7 14.5 10.1% 6.6% 0
1600.1 11.4%
368.0 8.9 42.2%
Sweep (S) 2817.4 14.6 4.5% 7.3% 0
1499.7 4.4%
317.7 18.2 22.8%
•' Schedule time Number of routes
Distance
Waiting time CPU time.
*CPU time in seconds on the DEC-10.
Downloaded from informs.org by [132.236.27.111] on 11 May 2017, at 17:30 . For personal use only, all rights reserved.

The Vehicle Routing and Scheduling Problem / 261


Table 11
Comparison of the Algorithms on Cl
Average Solution Values" Percent Deviation No. of Problems on
Algorithm and CPU time* from Best Average Which Method Found
Solution Value Best Solution
SAV 11125.7 11.7 10.1%
976.2 2.5%
1149.4 2.3 654.7%
SWT 10469.1 10.7 3.6%
987.4 3.7%
481.7 6.9 216.2%
11 10104.2 10.0 0.0%
951.9 0.0%
152.3 25.3 0.0%
12 10174.3 10.1 .7%
1049.8 10.3%
124.5 25.3 -18.2%
13 10174.9 10.0 0.7%
1103.3 15.9%
71.5 31.1 -53.0%
NN 10472.5 10.2 3.6%
1171.2 23.0%
301.3 8.4 97.8%
S 10133.8 10.0 0.3%
940.8 -1.2%
193.0 13.5 26.7%
" Schedule time Number of routes
Distance
Waiting time CPU time.
' CPU time in seconds on the DEC-10.

Table III
Comparison of the Algorithms on RCl
Average Solution Values" Percent Deviation No. of Problems on
Algorithm and CPU Time" from Best Average Which Method Found
Solution Value the Best Solution
II 2775.0 13.5 0.0% 0.0%
1596.5 0.0%
178.5 23.8 0.0%
12 3029.5 14.2 9.2% 5.2%
1874.4 17.4%
155.1 24.4 -13.1%
13 3014.0 14.0 8.6% 3.7%
1849.7 15.8%
164.2 30.3 -8.0%
NN 3057.2 14.2 10.2% 5.2%
1800.0 . 12.7%
257.2 8.9 44.1
S 3094.5 14.9 11.5% 10.4%
1804.5 13.0%
290.0 18.4 62.5%
Schedule time Number of routes
Distance
Waiting time CPU time.
CPU time in seconds on the DEC-10.
Downloaded from informs.org by [132.236.27.111] on 11 May 2017, at 17:30 . For personal use only, all rights reserved.

262 / SOLOMON

Table r v
Comparison of the Algorithms on R2
Percent Deviation No. of Problems on
Average Solution Values" from Best Average Whicb Method Found
Algorithm and CPU Time* Solution Value Best Solution
II 2578.1 3.3 -0.5%
1402.4 -3.2%
175.6 62.6 24.2%
12 2645.8 3.3 2.1%
1470.7 1.5%
175.1 71.1 23.8%
13 2676.4 3.4 3.3%
1474.6 1.8%
201.7 81.7 42.6%
NN 2719.6 3.4 5.0%
1472.3 1.6%
247.4 7.7 75.0%
S 2590.1 3.2 0.0%
1448.6 0.0%
141.4 40.5 0.0%
Schedule time Number of routes
Distance
Waiting time CPU time
CPU time in seconds on the DEC-10.

Table V
Comparison of the Algorithms on C2

olution Values" Percent Deviation No. of Problems on


Algorithm from Best Averse Which Method Found
and CPU Time* Solution Value Best Solution
11 9921.4 3.1 1.7%
692.7 -2.7%
228.6 43.0 426.7%
12 10151.4 3.4 4.1%
921.5 29.4%
229.9 44.5 429.7%
13 10118.5 3.5 3.7%
1072.7 50.7%
45.7 52.9 5.3%
NN 10785.9 3.5 10.6%
963.1 35.3%
822.7 7.7 1795.6%
S 9755.2 3.0 0.0%
711.9 0.0%
43.4 18.5 0.0%
" Schedule time Number of routes
Distance
Waiting time CPU time
* CPU time in seconds on the DEC-10.

scheduling horizon. Otherwise, they were rarely able The time-oriented, nearest-neighbor method also
to obtain the best solution. It seems that these heuris- had limited success; this occurred in the long sched-
tics will be successful for problems with idle time as uling horizon problems that permit many customers
the primary objective. to be serviced by the same vehicle.
Downloaded from informs.org by [132.236.27.111] on 11 May 2017, at 17:30 . For personal use only, all rights reserved.

The Vehicle Routing and Scheduling Problem / 263


Table VI
Comparison of the Algorithms on RC2
Algorithtn Average Solution Values a Percent Deviation
from Best Average
No. of Problems on
and CPU Time' Which Method Found
Solution Value Best Solution
11 2955.4 3.9 0.0% 0.05S 4
1682.1 0.0%
273.2 51.7 0.0%
12 3128.4 4.1 5.8% 5.1% 0
1797.6 6.9%
330.7 54.0 21.0%
13 3149.1 4.0 6.5% 2.6% 1
1816.4 S.0%
332.7 63.4
NN 3120.0 3.9 5.6% 0.0% 1
1754.7 4.3%
365.2 1.1 33.7%
S 3007.9 4.0 1.8% 2.6% 2
1735.7 3.2%
272.1 31.6 -0.4%
" Schedule time Number of routes
Distance
Waiting time CPU time
•CPU time in seconds on the DEC-10.

The savings heuristic with waiting-time limit, while We begin by examining the effect of distance inser-
a considerable improvement over the original savings tion (ai = 1, a2 = 0) versus time insertion (ai = 0 ,
method, did not perform well in general. After we a2~ I). For the problem sets involving long scheduling
examined its behavior on Rl and Cl, preliminary horizons, time insertion proved clearly superior to
computational experiments on the rest of the problem distance insertion. It was used in obtaining the best
sets indicated that this heuristic will, in general, re- solution to 21 out of 27 problems. The few exceptions,
quire more vehicles than the number utilized by the two for each problem set, where distance insertion
other heuristics. Therefore, we did not examine its performed best, were problems with less than 100%
behavior any further. Nevertheless, given that it found time window density, or the least tight problems.
the best solutions to 5 problems of Cl, it might For the problem sets with a short scheduling hori-
conceivably be used with success in a sweep-type zon, time insertion proved useful for most of the tight
heuristic. and high density problems of R! and RCl. It was
In terms of computation time, all the heuristics used for 5 problems of RCl, and 4 problems of Ri.
seem to be very efficient. Algorithms SWT and SAV Not surprisingly, time insertion was used for the
were the fastest. Our results indicate that the efficiency less constrained problems of Cl, 4 problems, since it
of the insertion methods incre^ed with the increase was able to provide more intelligence than distance
in the percentage of time window constraints and their insertion in directing the heuristic toward the optimal
tightness. This result is due to a lower number of solution.
feasible insertions possible in such problems. In conclusion, time insertion proved superior to
distance insertion, especially in problems involving
3.2. Parametric Analysis many customers per vehicle, and/or high density and
tight time windows. Distance insertion, by emphasiz-
Most of the heuristics presented are parameterized. It ing the geographical component, can lead to higher
is thus of interest to know whether there are any total schedule time from accumulated waiting time
relationships between the parameter values and the and, possibly, ^ditional vehicles. We should note that
initialization criteria that produced the best solution we observed the same pattern for the insertion-based-
values, and the corresponding problem structures. sweep strategy.
Given our computational results, we will focus on the Examining now the choice of parameters X, we find
heuristic II. that X = 2 was used in obtaining the best solution to
Downloaded from informs.org by [132.236.27.111] on 11 May 2017, at 17:30 . For personal use only, all rights reserved.

264 / SOLOMON

35 problems, while X = 1 was used in only 21 cases. tiveness of the various tour-building VRSPTW heu-
On Rl, X = 2 was utilized for 9 out of 12 problems, ristics suggested. Furthermore, given the wide variety
while on RC2, it was used for 7 out of 8. Five out of of routing and scheduling environments used in our
9 Cl problems used X = 2. This parameter value was study, we consider the relative performance of these
also used for 5 out of 8 RCl problems, 5 out of 11 heuristics on the test problems indicative of their
R2 problems, and 4 out of 8 C2 problems. relative performance in general.
The initialization criterion used for a heuristic can Based on our study, we recommend the use of the
have a significant impact on its behavior. We used insertion heuristic 11, possibly embedded in a hybrid
two initialization criteria for II: the farthest unrouted sweep-insertion approach, to obtain excellent initial
customer and the unrouted customer with the earliest VRSPTW solutions in a reasonable amount of com-
deadline. The former criterion proved successful for puting time. Given its very stable behavior, we believe
the problem sets with short scheduling horizons. It that this heuristic will perform very well on practical
was used in obtaining 23 out of the 29 best solutions problems. Further support for this conclusion is pro-
to these problems: all Rl problems except one, all vided by the recent work of Jaw et al. (1984) that
RCl problems, and 4 Cl problems. In contrast, the showed the effectiveness of an insertion-based proce-
latter criterion was better on the long scheduling ho- dure in a time-window constrained real dial-a-ride
rizon problems in which, given that only a few vehicles environment.
were used, it was of primary importance to service
customers with early due dates at the beginning of the
scheduling horizon so no additional vehicles would be
Acknowledgment
necessary. In these experiments, the earliest deadline
criterion was used in 16 out of the 27 best solutions:
6 problems of R2, 6 problems of C2, and 4 problems The author has benefited from fruitfiil discussions
ofRC2. with Marshall Fisher, Ramchandran Jaikumar,
Note that most of these problems are characterized Monique Guignard-Spielberg, Pradeep Kedia and
by 100% density and/or tight time windows. This Anand Desai. He also wishes to thank the three anon-
initialization method was quite successful on the struc- ymous referees for their useful comments. The
tured problems since it was able to guide the heuristic computer time for this project was provided by the
search toward the optimal solution. Wharton Computer Center of the University of
Pennsylvania.

4. Conclusions
References
We have presented the development of heuristics and
test problem sets and have reported our computational
experiments for VRSPTW. Our results indicate that BAKER, E . 1983. An Exact Algorithm for the Time-
Constrained Traveling Salesman Problem. Opns.
the insertion heuristic I! proved to be very successful. Res. 31, 938-945.
A parametric analysis of this heuristic revealed the BAKER, E., AND S. RUSHINEK. 1982. Large Scale Imple-
importance of time driven insertions for heavily time- mentation of a Time Oriented Vehicle Scheduling
constrained problems, particularly when many cus- Model. U.S. Department of Transportation, Urban
tomers are to be scheduled for each vehicle. In the Mass Transit Administration.
latter case, it seems that a very effective strategy is to BoDiN, L., B. GOLDEN, A. ASSAD AND M . BALL. 1983.
embed this heuristic in a sweep-type approach. Routing and Scheduling of Vehicles and Crews: The
The excellent performance of the insertion heuristic State of the Art. Compul. Opns. Res. 10, 62-212.
II can be explained if we realize that, while routing CHRISTOFIDES, N . , A. MINQOZZI AND P. TOTH. 1979. The
problems seems to be driven by the assignment-of- Vehicle Routing Problem. In Combinatorial Opti-
mizations, N. Christofides, R. Mingozzi, P. Toth,
customers-to-vehides component—as indicated by
and C. Sandi (eds.). John WUey & Sons, New York.
the success of the Fisher and Jaikumar generalized
CHRISTOFIDES, N . , A. MINGOZZI AND P. TOTH. 1981.
asngnment heuristic—the sequencing aspect of the State Space Relaxation Procedures for the Compu-
problem seems to drive routing problems dominated tation of Bounds to Routing Problems. Networks 11,
by time windows. It is this aspect of the problem that 145-164.
the insertion heuristic II captures so well. CLARKE, G . , AND W . WRIGHT. 1964. Scheduling of
We believe that our computational study provides Vehicles from a Central Depot to A Number of
some definite guidelines concerning the relative effec- Delivery Points. Opns. Res. 12, 568-581.
Downloaded from informs.org by [132.236.27.111] on 11 May 2017, at 17:30 . For personal use only, all rights reserved.

The Vehicle Routing and Scheduling Problem / 265

COOK T . , AND R . RUSSELL. 1978. A Simulation and LIN, S. 1965. Computer Solutions of the Travehng Sales-
Statistical Analysis of Stochastic Vehicle Routing man Problem. Belt System Tech. J. 44, 2245-2269.
with Timing Constraints. Decision Sci. 9, 673-687. MILLER, C , A. TUCKER AND R . ZEMLIN. 1960. Integer
DESKOSIERS, J . , P . PELLETIER, AND F . SOUMIS. 1982. Programming Formulations and Traveling Sales-
Shortest Path with Time Windows. Working Paper man Problems. J. Assoc. Comput. Mach. 7,
81-21, Ecole des Hautes Etudes Commerciales, 326-329.
Montreal. MOLE, R . , AND S. JAMESON. 1976. A Sequential Route-
DESROSIERS, i., F. SOUMIS AND M . DESROCHERS. 1983a. Building Algorithm Employing a Generalized Sav-
Routing With Time Windows by Column Genera- ings Criterion. Opnl. Res. Quart. 27, 503-511.
tion. Working Paper 277, Centre de Reserche sur les ORLOFF, C . 1976. Route Constrained Fleet Scheduling.
Transports, University of Montreal. Trans. Sci. 10, 149-168.
DESROSIERS, J . , F . SOUMIS AND M . DESROCHERS. 1983b. PSARAFTIS, H . 1983. An Exact Algorithm for the Single
Routing with Time Windows: Synthesis. Working Vehicle Many-to-Many Dial-A-Ride Problem with
Paper G-83-05, Ecole des Hautes Etudes Commer- Time Windows. Trans. Sci. 17, 351-358.
ciales, Montreal. PULLEN, H., AND M. WEBB. 1967. A Computer Ap-
FEDERGRUEN, A . , AND B . J . LAGEWEG. 1980. Hierarchi- plication to a Transport Scheduling Problem.
cal Distribution Modelling with Routing Costs. Comput. J. 10, 10-13.
Mathematical Centre, Amsterdam. RUSSELL, R . 1977. An Effective Heuristic for the M-Tour
FISHER, M . , AND R . JAIKUMAR. 1981. A Generalized Traveling Salesman Problem with Some Side Con-
Assignment Heuristic for Vehicle Routing. Networks ditions. Opns. Res. 25, 517-524.
11, 109-124. SAVELSBERGH, M . 1984. Private Communication by
FISHER, M . , A. GREENEIELD, R . JAIKUMAR AND P. KEDIA. Alexander Rinnooy Kan.
1982. Real-Time Scheduling of a Bulk Delivery SCHRAGF, L. 1981. Formulation and Structure of More
Fleet: Practical Application of Lagrangian Relaxa- Complex/Realistic Routing and Scheduhng Prob-
tion. Working Paper 82-10-11, Department of lems. Networks 11, 229-232.
Decision Sciences, University of Pennsylvania. SEXTON, T . , AND L . BODIN. 1985a. Optimizing Single
GiLLET, B., AND L. MILLER. 1974. A Heuristic Algorithm Vehicle Many-to-Many Operations with Desired
For the Vehicle Dispatching Problem. Opns. Res. Dehvery Times: I. Scheduling. Trans. Sci. 19,
22, 340-349. 378-410.
GOLDEN, B., T . MAGNANTI AND H . NGUYEN. 1977. SEXTON, T., AND L . BODIN. 1985b. Optimizing Single
Implementing Vehicle Routing Algorithms. Net- Vehicle Many-to-Many Operations with Desired De-
works!, 113-148. livery Times: II. Routing. Trans. Sci. 19, 411-435.
JAW, J . , A . ODONI, H . PSARAFTIS AND N . WILSON. 1984. SOLOMON, M . 1983. Vehicle Routing and Scheduling
A Heuristic Algorithm for the Multi-Vehicle with Time Window Constraints: Models and Algo-
Advance Request Diai-A-Ride Problem with Time rithms. Ph.D. Dissertation, Dept. of Decision Sci-
Windows. Working Paper MIT-UMTA-83-L. ences, University of Pennsylvania.
KNIGHT, K . , AND J. HOFER. 1968. Vehicle Scheduling SwERSEY, A., AND W. BALLARD. 1982. Scheduhng School
with Timed and Connected Calls: A Case Study. Buses. Working Paper, Yale School of Organization
Opnl. Res. Quart. 19, 299-310. and Management.
Downloaded from informs.org by [132.236.27.111] on 11 May 2017, at 17:30 . For personal use only, all rights reserved.

Das könnte Ihnen auch gefallen