[133]Algorithms for the vehicle-routing and scheduling problems
[133]Algorithms for the vehicle-routing and scheduling problems
Constraints
Marius M. Solomon
Operations Research, Vol. 35, No. 2. (Mar. - Apr., 1987), pp. 254-265.
Stable URL:
http://links.jstor.org/sici?sici=0030-364X%28198703%2F04%2935%3A2%3C254%3AAFTVRA%3E2.0.CO%3B2-E
Your use of the JSTOR archive indicates your acceptance of JSTOR's Terms and Conditions of Use, available at
http://www.jstor.org/about/terms.html. JSTOR's Terms and Conditions of Use provides, in part, that unless you have obtained
prior permission, you may not download an entire issue of a journal or multiple copies of articles, and you may use content in
the JSTOR archive only for your personal, non-commercial use.
Please contact the publisher regarding any further use of this work. Publisher contact information may be obtained at
http://www.jstor.org/journals/informs.html.
Each copy of any part of a JSTOR transmission must contain the same copyright notice that appears on the screen or printed
page of such transmission.
The JSTOR Archive is a trusted digital repository providing for long-term preservation and access to leading academic
journals and scholarly literature from around the world. The Archive is supported by libraries, scholarly societies, publishers,
and foundations. It is an initiative of JSTOR, a not-for-profit organization with a mission to help the scholarly community take
advantage of advances in technology. For more information regarding JSTOR, please contact [email protected].
http://www.jstor.org
Fri Jan 25 09:47:51 2008
ALGORITHMS FOR
THE VEHICLE ROUTING AND SCHEDULING PROBLEMS
WITH TIME WINDOW CONSTRAINTS
MARIUS M. SOLOMON
Northeastern University, Boston, Massachusetts
(Received February 1984; 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
constraints. Given the intrinsic difficulty of this problem class, approximation 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 percentage 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.
Table I
Comparison of the Algorithms on R1
Percent Deviation No. of Problems on
Average Solution Valuesn
Algorithm from Best Average Which Method Found
and CPU Timeb
Solution Value Best Solution
Savings (SAV)
Sweep (S)
SWT
I1
I2
13
NN
Table I11
Comparison of the Algorithms on RC1
Average Solution Valuesa Percent Deviation No. of Problems on
Algorithm and CPU Timeb from Best Average Which Method Found
Solution Value the Best Solution
Table V
Comparison of the Algorithms on C2
Percent Deviation No. of Problems on
Average Solution Valuesa
Algorithm and CPU Timeb from Best Average Which Method Found
Solution Value Best Solution
- - - -
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.
The Vehicle Routing and Scheduling Problem / 263
Table VI
Comparison of the Algorithms on RC2
Percent Deviation No. of Problems on
Average Solution Valuesa from Best Average Which Method Found
Algorithm and CPU Timeh
Solution Value Best Solution
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 ( a , = 1, a2 = 0) versus time insertion ( a , = 0,
method, did not perform well in general. After we a2= I). For the problem sets involving long scheduling
examined its behavior on R1 and C1, 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 2 1 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 C1, 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 l and RC1. It was
In terms of computation time, all the heuristics used for 5 problems of RC1, and 4 problems of R1.
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 C 1, 4 problems, since it
of the insertion methods increased 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, additional 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 A, we find
heuristic 11. that X = 2 was used in obtaining the best solution to
35 problems, while h = 1 was used in only 21 cases. tiveness of the various tour-building VRSPTW heu-
On R1, 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 C1 problems used X = 2. This parameter value was study, we consider the relative performance of these
also used for 5 out of 8 RCI 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 I1 : 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 R l problems except one, all vided by the recent work of Jaw et al. (1984) that
RCl problems, and 4 C l 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 fruitful discussions
of RC2. 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
We have presented the development of heuristics and References
test problem sets and have reported our computational
experiments for VRSPTW. Our results indicate that BAKER,E. 1983. An Exact Algorithm for the Time-
the insertion heuristic I1 proved to be very successful. Constrained Traveling Salesman Problem. Opns.
Res. 31, 938-945.
A parametric analysis of this heuristic revealed the BAKER, E., A N D 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. ASSADAND 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. Comput. Opns. Res. 10, 62-212.
I1 can be explained if we realize that, while routing CHRISTOFIDES, N., A. MINGOZZI AND P. TOTH.1979. The
problems seems to be driven by the assignment-of- Vehicle Routing Problem. In Combinatorial Opti-
customers-to-vehicles component-as indicated by mizations, N . Christofides, R. Mingozzi, P. Toth,
the success of the Fisher and Jaikumar generalized and C. Sandi (eds.). John Wiley & Sons, New York.
CHRISTOFIDES, N., A. MINGOZZI A N D P. TOTH. 1981.
assignment 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 I1 captures so well. CLARKE, G., A N D 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-58 1.
The Vehicle Routing and Scheduling Problem / 265
COOK T., A N D R. RUSSELL.1978. A Simulation and LIN,S. 1965. Computer Solutions of the Traveling Sales-
Statistical Analysis of Stochastic Vehicle Routing man Problem. Bell System Tech. 5.44, 2245-2269.
with Timing Constraints. Decision Sci. 9, 673-687. MILLER,C., A. TUCKER AND R. ZEMLIN. 1960. Integer
DESROSIERS, 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 ,
8 1-21, Ecole des Hautes Etudes Commerciales, 326-329.
Montreal. MOLE,R., AND S. JAMESON. 1976. A Sequential Route-
DESROSIERS, J., F. SOUMIS A N D M. DESROCHERS. 1983a. Building Algorithm Employing a Generalized Sav-
Routing With Time Windows by Column Genera- ings Criterion. Opnl. Res. Quart. 27, 503-5 1 1.
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 A N D 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,35 1-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-1 3.
Mathematical Centre, Amsterdam. RUSSELL, R. 1977. An Effective Heuristic for the M-Tour
FISHER,M., A N D R. JAIKUMAR. 1981. A Generalized Traveling Salesman Problem with Some Side Con-
Assignment Heuristic for Vehicle Routing. Networks ditions. Opns. Res. 25, 5 17-524.
11, 109-124. SAVELSBERGH, M. 1984. Private Communication by
FISHER, M., A. GREENFIELD, R. JAIKUMAR AND P. KEDIA. Alexander Rinnooy Kan.
1982. Real-Time Scheduling of a Bulk Delivery SCHRAGE, L. 198 1. Formulation and Structure of More
Fleet: Practical Application of Lagrangian Relaxa- Complex/Realistic Routing and Scheduling Prob-
tion. Working Paper 82- 10-1 1, 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. Delivery Times: I. Scheduling. Trans. Sci. 19,
22, 340-349. 378-410.
GOLDEN,B., T. MAGNANTI A N D H. NGUYEN.1977. SEXTON, T., A N D L. BODIN.1985b. Optimizing Single
Implementing Vehicle Routing Algorithms. Net- Vehicle Many-to-Many Operations with Desired De-
works7, 113-148. livery Times: 11. Routing. Trans. Sci. 19, 4 1 1-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 Dial-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. Scheduling School
with Timed and Connected Calls: A Case Study. Buses. Working Paper, Yale School of Organization
Opnl. Res. Quart. 19, 299-3 10. and Management.