Memorandum COSOR 95-19, 1995, Eindhoven University of Technology

Similar documents
Reformulation of capacitated facility location problems: How redundant information can help. Karen Aardal. Utrecht University. P.O.

A Mixed-Integer Linear Program for the Traveling Salesman Problem with Structured Time Windows

Chapter 3: Discrete Optimization Integer Programming

Chapter 3: Discrete Optimization Integer Programming

An Optimization-Based Heuristic for the Split Delivery Vehicle Routing Problem

A maritime version of the Travelling Salesman Problem

The Traveling Salesman Problem with Pickup and Delivery. A polyhedral approach. IBM Research - Australia. Irina Dumitrescu

On the Polyhedral Structure of a Multi Item Production Planning Model with Setup Times

Solving a Production Scheduling Problem as a Time-Dependent Traveling Salesman Problem

The Multiple Traveling Salesman Problem with Time Windows: Bounds for the Minimum Number of Vehicles

The traveling salesman problem

A Time Bucket Formulation for the TSP with Time Windows

Part III: Traveling salesman problems

Introduction to Mathematical Programming IE406. Lecture 21. Dr. Ted Ralphs

Separating Simple Domino Parity Inequalities

Travelling Salesman Problem

EXACT ALGORITHMS FOR THE ATSP

New Integer Programming Formulations of the Generalized Travelling Salesman Problem

An Exact Algorithm for the Steiner Tree Problem with Delays

A Polyhedral Study of the Asymmetric Traveling Salesman Problem with Time Windows

Complexity analysis of job-shop scheduling with deteriorating jobs

Part III: Traveling salesman problems

Optimal on-line algorithms for single-machine scheduling

Teaching Integer Programming Formulations Using the Traveling Salesman Problem

Approximation Algorithms for Maximum. Coverage and Max Cut with Given Sizes of. Parts? A. A. Ageev and M. I. Sviridenko

Integer Programming ISE 418. Lecture 8. Dr. Ted Ralphs

A Branch-and-Cut Algorithm for the Dial-a-Ride Problem

An Exact Algorithm for the Traveling Salesman Problem with Deliveries and Collections

3.4 Relaxations and bounds

Konrad-Zuse-Zentrum für Informationstechnik Berlin Takustraße 7, D Berlin

Asymmetric Traveling Salesman Problem (ATSP): Models

An exact approach to early/tardy scheduling with release dates

Totally unimodular matrices. Introduction to integer programming III: Network Flow, Interval Scheduling, and Vehicle Routing Problems

Solving Time Dependent Traveling Salesman Problems with Time Windows

On the Chvatál-Complexity of Binary Knapsack Problems. Gergely Kovács 1 Béla Vizvári College for Modern Business Studies, Hungary

Compact vs. exponential-size LP relaxations

3.7 Cutting plane methods

Partial Path Column Generation for the Vehicle Routing Problem with Time Windows

Vehicle Routing and MIP

on a Single Machine Stephane Dauzere-Peres a Marc Sevaux b Helleveien 30 N-5035 Bergen-Sandviken, Norway Ecole des Mines de Nantes

Models and Cuts for the Two-Echelon Vehicle Routing Problem

Bounds on the Traveling Salesman Problem

Revisiting the Hamiltonian p-median problem: a new formulation on directed graphs and a branch-and-cut algorithm

Compact Formulations of the Steiner Traveling Salesman Problem and Related Problems

Low-Complexity Algorithms for Sequencing Jobs with a Fixed Number of Job-Classes

Introduction to integer programming III:

Notes on Dantzig-Wolfe decomposition and column generation

Time Dependent Traveling Salesman Problem with Time Windows: Properties and an Exact Algorithm

Improved Bounds for Flow Shop Scheduling

TRAVELING SALESMAN PROBLEM WITH TIME WINDOWS (TSPTW)

Solving Parallel Machine Scheduling Problems by. University ofpennsylvania. Warren B. Powell. Department of Civil Engineering & Operations Research

MVE165/MMG630, Applied Optimization Lecture 6 Integer linear programming: models and applications; complexity. Ann-Brith Strömberg

M 2 M 3. Robot M (O)

Branch-and-Price-and-Cut for the Split Delivery Vehicle Routing Problem with Time Windows

Algorithms. Outline! Approximation Algorithms. The class APX. The intelligence behind the hardware. ! Based on

Introduction into Vehicle Routing Problems and other basic mixed-integer problems

3.10 Lagrangian relaxation

The Multiple Checkpoint Ordering Problem

Stronger Multi-Commodity Flow Formulations of the (Capacitated) Sequential Ordering Problem

MINIMUM DIAMETER COVERING PROBLEMS. May 20, 1997

Applied Integer Programming: Modeling and Solution

- Well-characterized problems, min-max relations, approximate certificates. - LP problems in the standard form, primal and dual linear programs

Section Notes 8. Integer Programming II. Applied Math 121. Week of April 5, expand your knowledge of big M s and logical constraints.

How to Relax. CP 2008 Slide 1. John Hooker Carnegie Mellon University September 2008

Solving the Asymmetric Travelling Salesman Problem with time windows by branch-and-cut

On the separation of split cuts and related inequalities

Valid Inequalities and Separation for the Symmetric Sequential Ordering Problem

be assigned to one facility, thereby incurring a cost of c ij, the distance between locations i and j; the objective isto nd a solution of minimum tot

Combinatorial Algorithms for Minimizing the Weighted Sum of Completion Times on a Single Machine

Week Cuts, Branch & Bound, and Lagrangean Relaxation

2 Notation and Preliminaries

Exact and Heuristic Algorithms for the Symmetric and Asymmetric Vehicle Routing Problem with Backhauls

The 2-valued case of makespan minimization with assignment constraints

3.7 Strong valid inequalities for structured ILP problems

Integer programming: an introduction. Alessandro Astolfi

Extended Formulations, Lagrangian Relaxation, & Column Generation: tackling large scale applications

A big bucket time indexed formulation for nonpreemptive single machine scheduling problems

Formulations and Valid Inequalities for the Heterogeneous Vehicle Routing Problem

Integer Programming ISE 418. Lecture 12. Dr. Ted Ralphs

Integer Equal Flows. 1 Introduction. Carol A. Meyers Andreas S. Schulz

1 Ordinary Load Balancing

SEQUENTIAL AND SIMULTANEOUS LIFTING IN THE NODE PACKING POLYHEDRON JEFFREY WILLIAM PAVELKA. B.S., Kansas State University, 2011

Polyhedral Approach to Integer Linear Programming. Tepper School of Business Carnegie Mellon University, Pittsburgh

On the matrix-cut rank of polyhedra

Linear Programming. Scheduling problems

Branching Rules for Minimum Congestion Multi- Commodity Flow Problems

9. Submodular function optimization

Combinatorial optimization problems

Decision Diagrams for Sequencing and Scheduling

Discrete (and Continuous) Optimization WI4 131

On Disjunctive Cuts for Combinatorial Optimization

Decomposition-based Methods for Large-scale Discrete Optimization p.1

[4] T. I. Seidman, \\First Come First Serve" is Unstable!," tech. rep., University of Maryland Baltimore County, 1993.

A simple LP relaxation for the Asymmetric Traveling Salesman Problem

Formulas to Estimate the VRP Average Distance Traveled in Elliptic Zones

Outline. Relaxation. Outline DMP204 SCHEDULING, TIMETABLING AND ROUTING. 1. Lagrangian Relaxation. Lecture 12 Single Machine Models, Column Generation

Scheduling and Optimization Course (MPRI)

2 Martin Skutella modeled by machine-dependent release dates r i 0 which denote the earliest point in time when ob may be processed on machine i. Toge

Lifting theorems and facet characterization for a class of clique partitioning inequalities

Minimizing Average Completion Time in the. Presence of Release Dates. September 4, Abstract

Transcription:

Memorandum COSOR 95-19, 1995, Eindhoven University of Technology A polyhedral approach to the delivery man problem C.A. van Eijl Abstract We propose a mixed integer programming formulation for the delivery man problem and derive additional classes of valid inequalities. Computational results are presented for instances of the delivery man problem with time windows. In particular, the quality of the lower bounds obtained from the linear programming relaxation and the eectiveness of the additional inequalities in improving these bounds are studied. 1 Introduction In this paper we study the delivery man problem (DMP) from a polyhedral point of view. This problem is a variant of the well-known traveling salesman problem (TSP) in which the objective is to nd a tour starting from a given depot that minimizes the sum of the waiting times of the customers. The DMP can also be interpreted as a single-machine scheduling problem with sequence-dependent processing times in which the total ow time of the jobs has to be minimized. Polyhedral methods have been proven to be very successful for the TSP and many of its extensions. Most of these extensions deal with extra conditions on the graph structure, e.g. precedence constraints, such that the problem can still be formulated as a {1 model. However, we will formulate the DMP as a mixed integer programming problem by introducing time variables. This formulation can easily be adapted to the problem with time windows, i.e., when each customer has to be visited within a specied interval. Only a few papers deal with this kind of extension. Ascheuer [1] has developed a branch-and-cut code for the TSP with time windows. Escudero and Sciomachen [3] and Escudero, Guignard, and Malik [4] study the sequential ordering problem with time windows, where the sequential ordering problem is the problem of nding a minimum weight Hamiltonian path subject to precedence constraints. For this problem Maoli and Sciomachen [8] propose a formulation that is similar to our formulation of the DMP. In order to strengthen the linear programming relaxation we will derive additional classes of valid inequalities. These can be considered as a generalization of the inequalities derived by Queyranne [11] for the single-machine scheduling problem with sequence-independent processing times. The latter were proven to form a complete description of the polyhedron associated with this problem. For a comprehensive survey on polyhedral results for machine scheduling problems we refer to [1]. Optimization algorithms for the DMP are provided by Simchi-Levi and Berman [13], Lucena [7], and Fischetti, Laporte and Martello [5]. The rst describe a branch-and-bound Eindhoven University of Technology, Department of Mathematics and Computing Science, P.O. Box 513, 56 MB Eindhoven, The Netherlands, e-mail: cleola@win.tue.nl 1

scheme based on a shortest spanning tree relaxation. Lucena proposes an enumerative algorithm based on a nonlinear integer programming formulation in which lower bounds are obtained from a Lagrangean relaxation. Computational results are reported for problems with up to 3 nodes. Fischetti et al. provide a branch-and-bound algorithm based on an integer programming formulation. The paper contains results on the cumulative matroid problem which are used to derive lower bounds. Problems with up to 6 nodes are solved to optimality. The outline of this paper is as follows. In Section we formally introduce the problem and present a mixed integer programming formulation. In Section 3 additional classes of valid inequalities are derived. A cutting plane procedure is described in Section 4. In Section 5 we report computational results. Problem formulation The DMP is formally stated as follows. We consider the complete directed graph G = (V [ fg; A), where V = f1; : : :; ng. With each arc (i; j) we associate a travel time p ij ZZ +. It is assumed that visiting time is included in the travel time, hence, the arrival time at node i equals the departure time at node i. Node is the depot, i.e., every tour starts and nishes in node. Furthermore, we assume that every tour starts at time. Then the waiting time of the customer located at node i is equal to the departure time at node i. Now the problem is to nd a tour that minimizes the sum of the departure times at the nodes. The DMP can be modeled using the following two types of variables. For every arc (i; j) there is a binary variable x ij that indicates whether the arc (i; j) is included in the tour or not, and a time variable t ij dened as follows: t ij = ( departure time at node i; if xij = 1; ; otherwise. Since we assumed that every tour starts at time, the variables t j can be omitted from the model. This gives rise to the following formulation, in which C denotes a large constant: (DMP) minimize n ;i6=j s.t. n n n j=;j6=i t ij + n t ij j=;j6=i n i=;i6=j i=;i6=j x ij = 1; i = ; : : :; n; (1) x ij = 1; j = ; : : :; n; () = n k=;k6=j t jk ; j = 1; : : :; n; (3) t ij Cx ij ; i; j = ; : : :; n; i 6= j; i 6= ; (4) x ij f; 1g; i; j = ; : : :; n; i 6= j: (5) Constraints (1) and () ensure that every node, including the depot, is visited exactly once. Constraints (3) guarantee that if x ij = 1, then the departure time at node j equals the departure time at node i plus the travel time p ij. It is readily checked that these constraints also prevent subtours. If C is an upper bound on the departure time at node i, e.g.

C = n max i;j p ij, then (4) is valid when x ij = 1. Furthermore, these constraints force that t ij = if x ij =. This model can easily be adapted to the problem with time windows (DMPTW), i.e., when each node i has to be visited within a specied interval [e i ; l i ]. The delivery man may arrive at node i before e i, but cannot deliver before the opening of the time window. In this case, the departure time at node i is strictly larger than the arrival time at node i. To model this, equalities (3) must be replaced by n ;i6=j Furthermore, substituting t ij + n i=;i6=j n k=;k6=j t jk ; j = 1; : : :; n: (6) e i x ij t ij l i x ij ; i; j = ; : : :; n; i 6= j; i 6= : (7) for (4) yields that t ij = if x ij = and that the departure time at node i is in the time window [e i ; l i ] otherwise. The sum of the waiting times is now P i (P j t ij? e i ). It is evident that, apart from the objective function, the formulation for the DMPTW models the TSP with time windows as well. Compared to the well-known model with variables x ij and t i (cf. []), an important feature of the formulation presented here is that it does not involve big-m coecients in the constraints. As mentioned before, the DMP can also be considered as a model for the single-machine scheduling problem with sequence-dependent processing times. In this case we have n jobs, a dummy job that is scheduled twice, once at the beginning and once at the end of the schedule, and sequence-dependent processing times p ij. Furthermore, in the presence of time windows, every job i is released at time e i and has to be started not later than l i. A frequently used objective in scheduling problems is minimizing the completion time of the last job in the schedule. In our formulation this can easily be expressed as P i(t i +p i x i ). For this problem Maoli and Sciomachen [8] have proposed a similar formulation in which, in addition to the t ij, time variables y ij and u ij are introduced to denote the departure time at node j and the time the delivery man has to wait at node j, respectively, when i is visited before j. Thus, P i y ij = P k t jk for every j 6= and u ij = y ij?? t ij. The latter can be xed to zero when time windows are not involved. We will also consider this model and the one with variables x ij and t i in our computational experiments. 3 Valid inequalities In this section we derive valid inequalities for both the DMP and the DMPTW. These inequalities contain both x- and t-variables which may lead to a stronger connection between the two types of variables. 3.1 Inequalities for the delivery man problem The inequalities presented in this section can be considered as a generalization of the inequalities derived by Queyranne [11] for the single-machine scheduling problem with sequenceindependent processing times. We will briey discuss the latter, using the terminology of the 3

DMP. Recall that for every solution to this problem the departure time equals the arrival time at any node but the depot. Sequence-independent processing times correspond to travel times p ij that only depend on node i, i.e., p ij = p i. Furthermore, p =. For the model that only involves departure times t i for i V, Queyranne derived the following inequalities: is p i t i ;i6=j p i p j ; (8) where S is a nonempty subset of V. He proves that the set of all inequalities of the form (8) denes the convex hull of the set of all feasible tours. The validity of (8) is easily shown. Let S = f(1); : : :; (s)g and suppose without loss of generality that the nodes in S appear in the order (1); : : :; (s) in the tour, thus t (i) t (i+1) for 1 i < s. Then t (i) P i?1 j=1 p (j), hence is p i t i = s p (i) t (i) s i?1 j=1 p (i) p (j) = ;i6=j Thus, (8) is valid and equality holds if and only if every node in S is visited before any node in V ns. Let us rst indicate how the above inequalities can be transformed into valid inequalities for our model. The terms p i t i in (8) will be split into terms p ij t ij. At the righthand side p i will be replaced by P j p ijx ij, since a travel time p ij occurs only if x ij = 1. Unfortunately, this yields quadratic terms at the righthand side. These have to be linearized, as we can only deal with linear inequalities. However, we will rst present the quadratic inequalities obtained in this way and show their validity. In the sequel, a tour is identied with a solution (x; t) to the DMP, i.e., (x; t) satises the constraints (1)?(5). Furthermore, the following notation is used. As usual, x(s) = P x ij and x(s 1 ; S ) = P is 1 ;js x ij. If S is a subset of V, then S = S[fg. We abbreviate P j6=i t ij by t i. Proposition 1 For all S V, S 6= ;, p ij t ij 1 is a valid (quadratic) inequality. @ 1 A? 1 p i p j : p ijx ij (9) Proof. Let S = f(1); (); : : :; (s)g V and dene S = V ns. The validity of (9) is rst established for tours for which every node in S is visited before any node in S, i.e., ti t j for all i S; j S. Let (x; t) be a tour satisfying this restriction and assume that the elements of S are visited in the order (1); (); : : :; (s). Thus x (i);(i+1) = 1; i < s, where () =. Since we assumed that (x; t) satises (3), we have t (1);() = p ();(1) ; t (i);(i+1) = t (i?1);(i) + p (i?1);(i) = 4 i?1 j= p (j);(j+1) ; i < s:

Obviously, t (i);j = x (i);j = for j 6= (i + 1); i < s, and t (s);j = x (s);j = for j S. Hence, p ij t ij = = 1 p (i);(i+1) t (i);(i+1) = i= p (i);(i+1)!? 1 i= p (i);(i+1) p (i);(i+1) = 1 @ 1 i?1 p (j);(j+1) A j= @ 1 A? 1 Thus (9) is satised at equality by all tours for which t i t j for all i S; j S holds. p ijx ij : To establish the validity of (9) for all tours, we introduce the notion of a block S, which is dened as a maximal set of nodes of S that are visited successively in the tour, i.e., if js j > 1; then x(s ) = js j? 1; and x(sns ; S ) = x(s ; SnS ) = : Obviously, if x(s) = jsj? k for some k 1, then the set S is partitioned into k blocks S k of size s k 1; k = 1; : : :; k. Denote the elements of S k by k (1); : : :; k (s k ), and assume that t k (j) t k (j+1); 1 j s k? 1; 1 k k ; and t k (s k ) t k+1 (1); 1 k k? 1: Since (x; t) satises (3), we have t k (i); k (i+1) = t k (i?1); k (i) + p k (i?1); k (i); i s k? 1; 1 k k : Furthermore, if node 1 (1) is visited rst in the tour, then x ;1 (1) = 1 and t 1 (1) = p ;1 (1). Otherwise, P is p ix i =. Also notice that if i is the last node of a block, then the terms t ij and x ij in (9) are all equal to zero. Combining the above observations yields t k (i); k (i+1) p ;1 (1)x ;1 (1) + for 1 i s k? 1; 1 k k, and p ij t ij = (1) = 1 = 1 k k=1 k?1 s k?1 p k (i); k (i+1)t k (i); k (i+1) k s k?1 @ k k=1 @ k=1 s l?1 l=1 j=1 p k (i); k (i+1) @ p;1 (1)x ;1 (1) + s k?1 p k (i); k (i+1) 1 A 1? 1 A? 1 k k=1 p l (j); l (j+1) + k?1 s l?1 l=1 j=1 s k?1 p k (i); k (i+1) i?1 j=1 p l (j); l (j+1) + p k (j); k (j+1) (1) i?1 p k (j); k (j+1) j=1 1 A p ijx ij : (11) This concludes the proof of the validity of inequality (9) for all tours. 5

If all travel times are strictly positive, then (9) is satised at equality by all tours (x; t) for which x(; S) = 1; x(s) = jsj? k for some k 1, and js k j = 1 for 1 < k k. This can be seen P as follows. If p ij > for all i; j, then t k (1) > t k?1 (s k?1 ) for 1 < k k and t 1 (1) i p i x i. Hence, equality holds in (1), and, consequently, in (11), if and only if x(; S) = 1; k = 1, and 1 i s 1?1. These restrictions are equivalent to the ones mentioned before. Observe that when we set p ij = p i in the above inequality, we do not get inequality (8), unless S = V. In order to obtain (8), we would need for every i S the terms p ij t ij and for every j V. However, these terms appear in (9) only for j S. As mentioned before, we can only deal with linear inequalities. In the sequel, we discuss a linearization of the righthand side of (9) that yields valid linear inequalities. Let S V P P and dene?(s) to be the set of all values that can attain, thus,?(s) = f p ijx ij j (x; t) is a tourg. Note that the assumption that the travel times are integral implies that all elements of?(s) are integral. Let 1 and, 1 <, be two consecutive elements of?(s), i.e., every?(s) satises 1 or. Then (? 1 )(? ) @ 1 A and, hence, = ( ( 1 + )? 1 )(? 1? ) + ( 1 + )? 1 P for every tour (x; t). This is represented in Figure 1, in which the term p ijx ij is considered as one variable y. Hence, replacing the quadratic term in the righthand side of (9) denotes an element of?(s) y ( 1 + )y? 1 1 y Figure 1: Linearization of y by ( 1 + ) P? 1 yields a valid linear inequality. This proves the following statement. 6

Lemma Let S V; S 6= ;. Then for every pair ( 1 ; ) of consecutive elements of?(s) is a valid inequality. p ij t ij 1 p ij ( 1 +? p ij )x ij? 1 1 (1) In this way we obtain for every S a set of valid linear inequalities. However, in a separation algorithm for (1) we only have to check violation for at most one inequality for every subset S. Notice that these inequalities dier in the coecients of the x-variables and the constant term, but not in the coecients of the t-variables. For every triple ( 1 ; ; 3 ) of consecutive elements of?(s), where 1 < < 3, and y IR, we have ( + 3 )y? 3? [( 1 + )y? 1 ] = ( 3? 1 )(y? ) > if and only if y > : P Let (^x; ^t) be a solution to the LP-relaxation of (M1) and let S V. Dene ^y = p ij ^x ij. Then it is easily seen from the above observation that ( 1 + )^y? 1 is maximal for 1 = maxf?(s) j ^yg and = minf?(s) j > ^yg. From this it follows that when for a given subset S some inequalities of the form (1) are violated by (^x; ^t), the inequality with 1 and as dened above is the most violated one. Thus, in a separation routine it suces to consider at most one inequality for every subset S. However, we expect the inequalities (1) to be rather weak in general. Let us therefore consider the tours that satisfy (1) at equality. Clearly, such a tour also satises (9) at equality. If we restrict ourselves to the case that all travel times are strictly positive, then it was observed before that for every tour (x; t) satisfying (9) at equality there is a subset S S such that x(s ) = x(s) = js j? P 1 and x(; S ) = 1. In general, we cannot say much about the number of such tours for which has a particular value, but we expect it to be small. Notice that even if there would exist a linear inequality that is satised at equality by all tours that satisfy (9) at equality, then this would not dene a facet. This follows from the observation that every tour (x; t) satisfying (9) at equality also satises x(; S) = 1, hence x i = for every i 6 S. Furthermore, there will not be an ecient way in general to determine?(s). In a separation routine that uses the ideas described previously, it will usually be too time-consuming to determine 1 = maxf?(s) j ^yg and = minf?(s) j > ^yg. Hence, checking violation will have to be restricted to the inequality with 1 = b^yc and = b^y + 1c. From the assumption that all travel times are integral, it is easily seen that these inequalities are always valid. However, if neither nor + 1 is an element of?(s), then there is no feasible solution that satises such an inequality at equality. A second class of valid linear inequalities can be derived in a similar way. In this case we start from the following class of quadratic inequalities. For S V, dene T S = f(i; j) V V j if i S; then j 6 Sg; where S = V ns. Thus, the set TS consists of all pairs (i; j) for which at most one of i and j is in S. Proposition 3 Let S V, S 6= ;, and let T S be as dened above. Then (i;j)t S p ij t ij 1 @ jv p j x j + (i;j)t S 1 A? 1 7 jv p jx j? 1 p ijx ij (13) (i;j)t S

is a valid (quadratic) inequality. Proof. We rst restrict ourselves to tours for which the following holds: if j S and x(s ; j) = 1; then x(j; S) = 1 or t i t j for all i S: (14) Thus, no two nodes in S are visited successively before the last node of S in the tour. Now consider a tour (x; t) that satises the above restriction. Dene S = fj S j x(s [ fg; j) = 1g. Furthermore, let S = S [ S = f(1); : : :; (s )g and suppose x (i);(i+1) = 1; 1 j s? 1. Note that (s ) S when S 6= V. By denition of S, we have Hence, i;j S p ij t ij = is;j Sn S p ij t ij = i Sn S ;js p ij t ij = : (15) p ij t ij = p ij t ij + p ij t ij + p ij t ij + p ij t ij is;js = p ij t ij + p ij t ij + p ij t ij = p ij t ij : (i;j)t S is;j S i S;jS Clearly, (15) and P the above equality P also hold when the t-variables are replaced by x-variables. Furthermore, js p jx j = p jv jx j. Combining these results with the observation that (9) is satised at equality for the subset S, we get p ij t ij = p ij t ij = 1 B@ 1 p ijx ij CA? 1 p ijx ij (i;j)t S is ;js is ;js @ = 1 = 1 @ jv js p j x j + 1 A p j x j + i;jt S 1 A? 1? 1 p jx j? 1 js jv p ijx ij p jx j? 1 p ijx ij : i;jt S From the proof it immediately follows that (13) is satised at equality by all tours for which restriction (14) holds. Hence, unlike in the case of (9), there exist tours (x; t) such that x(; S) = 1 which satisfy (13) at equality. The proof that (13) is also valid for all other tours is analogous to the corresponding proof in Proposition 1 and is therefore omitted. To these quadratic inequalities we can apply a linearization that is similar to the one described for (9). Therefore, we will not discuss it in detail. Dene?(T S ) = f P jv p jx j + P(i;j)T S j (x; t) is a tourg. Lemma 4 Let S V, S 6= ;. Then for every pair ( 1 ; ) of consecutive elements of?(t S ) (i;j)t S p ij t ij 1 is a valid inequality. jv p j ( 1 +? p j )x j + 1 p ij ( 1 +? p ij )x ij? 1 1 (16) (i;j)t S 8

3. Inequalities for the delivery man problem with time windows Let us now consider tours (x; t) that satisfy constraints (1), (), (5) - (7). Constraint (6) yields that the departure time at node i may be strictly larger than the arrival time. In this case we say that waiting time occurs at node i. Note that waiting aects the lefthand side of the inequalities derived previously, but not the righthand side. Hence, inequalities (1) and (16) are also valid for the problem with time windows. In the remainder of this section we show how time windows can be incorporated in the inequalities derived previously. We rst present two classes of valid quadratic inequalities that involve earliest and latest departure times, respectively. Detailed proofs of their validity are omitted, since these are similar to the proof of Proposition 1. They will be linearized in the same way as the quadratic inequalities derived for the problem without time windows. The rst class of inequalities can be considered as a generalization of (9). Let S be a set of nodes and let e S = min is e i. Introduce an extra node that has to be left at time e S and for which p i = p i = for every i V. This extra node can be considered as a depot for the set S. Let (x; t) be a tour satisfying x(s) = s? 1. Subtracting e S from all departure times yields a vector for which (9) holds, if is replaced by. Recalling that p i = for all i V, this shows the validity of the following inequality for tours satisfying x(s) = s? 1. Proposition 5 Let S V, S 6= ;, and dene e S = min is e i. Then p ij t ij 1 is a valid (quadratic) inequality. @ 1 A? 1 p ijx ij + e S (17) The validity of the above inequality for all other tours can be easily proven, using similar arguments as in Proposition 1. From the above interpretation it immediately follows that (17) is satised at equality by all tours for which the departure time at the rst node of S equals e S, x(s) = s? 1, and no waiting time occurs at any P node of S, except possibly at the one i?1 visited rst. Thus, in this case, t (i);(i+1) = e S + p j=1 (j);(j+1) holds for i = 1; : : :; s? 1, where it is assumed that S = f(1); : : :; (s)g and the nodes are visited in this order. Note that such a tour might not exist. Until now, we discussed inequalities that involved a certain moment from which the tours were considered. For the second class of quadratic inequalities, tours will be considered until a moment l S, dened as the maximum latest departure time of the nodes in a set S. Proposition 6 Let S V, S 6= ;, and dene l S = max is l i. Then p ij t ij l S? 1 @ 1 A? 1 is a valid (quadratic) inequality. p ijx ij (18) We show that equality holds for all tours for which the departure time at the last node of S equals l S, x(s) = s? 1, and no waiting time occurs at any node in S, except possibly in the one visited rst. As in the previous case, such a tour might not exist. Let 9

S = f(1); (); : : :; (s)g V and suppose (x; t) satises x (i);(i+1) = 1; 1 j s? 1. Furthermore, let t (s) = l S and for i = 1; : : :; s? 1. Then p ij t ij = t (i?1);(i) = t (i);(i+1)? p (i?1);(i) = l S? p (i);(i+1) t (i);(i+1) = = l S p (i);(i+1)? 1 = l S? 1 @ j=i p @ls (i);(i+1)?! p (i);(i+1)? 1? 1 p ij x ij: 1 A p (j);(j+1) (19) 1 p (j);(j+1) A j=i p (i);(i+1) Notice that for a tour (x; t) such that x (i);(i+1) = 1; 1 i < s, (19) is the latest possible departure time for every i S. Hence, if t (i?1);(i) + x (i?1);(i) < t (i);(i+1) for some i; < i < s, then the lefthand side of (18) is less than when equality holds. As the righthand side is the same in both cases, this shows the validity of (18) for all tours (x; t) with x(s) = s? 1. For tours (x; t) satisfying x(s) < s? 1 validity can be proven in a similar way as in Proposition 1. To (17) and (18) almost the same linearization as the one described for (9) can be applied. Dene?(S) = f P j (x; t) is a tourg. Lemma 7 Let S V; S 6= ;, and let e S and l S be as dened before. Then for every pair ( 1 ; ) of consecutive elements of?(s) p ij t ij 1 p ij ( 1 +? p ij )x ij? e S? 1 1 () and p ij t ij l S? 1 p ij ( 1 + + p ij )x ij + 1 1 (1) are valid inequalities. It was already noticed that when time windows are involved, the number of tours satisfying the quadratic inequalities (17) and (18) at equality is expected to be small in general, especially if there is only one element of S with earliest departure time e S or latest departure time l S. We expect inequalities () and (1) to be of more help in obtaining better lower bounds for the DMPTW when subsets of nodes have the same time window. In our computational experiments we will therefore consider, among other things, instances for which the nodes are partitioned into clusters such that nodes in the same cluster have the same time window. 1

4 A cutting plane procedure The main purpose of our computational experiments is to study the quality of the lower bounds for the DMP and DMPTW given by the LP-relaxation and the improvement of these lower bounds by adding cuts from some specic classes. We compare these bounds for the three models discussed in Section, i.e., the model introduced in this paper with variables x ij and t ij (model 1), the model proposed in [8] with variables x ij ; t ij ; y ij, and u ij (model ), and the model with variables x ij and t i (model 3). In this section we briey describe the steps of our cutting plane procedure. All experiments have been performed using MINTO (version 1.6), which is a linear programming based branch-and-bound software system that can be provided with problem specic functions such as cut generation ([9]). Before solving the initial LP one usually tries to reduce the size of the problem or improve the formulation by preprocessing techniques such as xing variables and improving bounds. We restrict ourselves to xing variables x ij in the presence of time windows. Since for all our instances the travel times p ij will satisfy the triangle inequality, variable xing can be done in the following way: if e i + p ij > l j (e i > min j l j ; l i < max j e j ), then x ij (x i ; x i ) is set to zero. After a variable has been xed, it is eliminated from the formulation. Observe that x ij = implies t ij = (model 1, ) and y ij = ; u ij = (model ). Therefore, preprocessing may considerably reduce the large number of variables in our models (e.g., n + n in model 1), especially when the time windows are tight. It is a trivial observation that all inequalities derived for the TSP, such as subtour elimination constraints (SEC's), -matching constraints, comb inequalities, etc. (cf. [6]), are also valid for the three models considered here and, hence, can be used to strengthen these formulations. We will restrict ourselves to the addition of SEC's, which have the following form: x(s) jsj? 1; S f; : : :; ng; jsj n: The exact separation algorithm described in [1] is applied to check whether an LP-solution satises all SEC's. Violated SEC's found in this way are added to the formulation and the LP is solved again. This step is repeated until the LP-solution satises all SEC's. Next, we check whether violated inequalities of the form (1) or (16) can be identied. Notice that this step can only be applied to the formulations with variables t ij, i.e., to model 1 and. Our (not very sophisticated) separation algorithms are inspired by the O(nlogn) exact algorithm for inequalities (8), i.e., P is p i t i P ;i<j p i p j for S V. Given an LP-solution ^t, the separation problem for these inequalities amounts to checking whether (8) is violated for S = f(1); : : :; (i)g; 1 i n, where the permutation : V! V satises ^t (i) ^t (i+1) (cf. [11]). Let us now give an outline of the separation algorithm for inequalities (1). Let (^x; ^t) be the LP-solution and let the permutation : V! V be such that ^t (i) ^t (i+1). We check whether (^x; P ^t) violates (1) for S = f(1); : : :; (i)g; 1 i n, 1 = b^yc and = b^y + 1c, where ^y = p ij ^x ij (cf. Section 3.). This procedure is repeated a xed number of times with a permutation that is obtained from the permutation in the previous iteration by putting (i) = (i + 1) and (i + 1) = (i) for i V, where V is a randomly chosen subset of V of size at most jv j=. A similar separation heuristic is used to identify violated inequalities (16). The heuristics for () and (1) dier slightly from the one described above, but we will not discuss them 11

since we never found violated inequalities of these types. This is possibly due to the fact that these separation algorithms were only called when neither violated SEC's nor violated inequalities of type (1) or (16) were identied. 5 Computational results We report results for twelve sets of ve randomly generated instances with n = 15. These sets were constructed from two sets of ve matrices (p ij ), which are denoted by grid and sched, respectively. For grid the 15 nodes and the depot are randomly generated lattice points of a grid. The travel time p ij equals the Manhattan distance between i and j, i.e., p ij = ja i? a j j + jb i? b j j, where (a i ; b i ) denotes the pair of coordinates of node i. The second set of matrices, sched, results from the interpretation of the DMP as a machine scheduling problem with sequence-dependent processing times. Here p ij can be considered as the sum of a xed processing time p i for job i and a changeover time s ij. The (integer) processing times p i ; i 6=, and changeover times s ij ; j 6=, are randomly chosen from the interval [5; 15] and [; 4], respectively. Furthermore, p = and s i =. Observe that only in grid the matrices are symmetric. However, in both sets the travel times p ij satisfy the triangle inequality. Furthermore, for xed i the value of p ij in the rst set is in the interval [1; 38], whereas in the second set this value only ranges from p i to p i + 4. Each of these two sets of matrices gave rise to six sets of ve instances by the addition of time windows. These sets are denoted by grid k and sched k, where k f; : : :; 5g. For k = the instances are instances for the ordinary DMP, i.e., no time windows are involved. For k = 1 the nodes are partitioned into three clusters of size ve. Every node in cluster c; 1 c 3, has a time window [(c? 1)W inst ; cw inst ], where W grid = 8 and W sched = 1. For k = the nodes are partitioned into ve clusters of size three. Every node in cluster c; 1 c 5, has a time window [(c? 1)W inst ; cw inst ], where W grid = 5 and W sched = 7. The instances in grid 3 and sched 3 have the following form. First, a random solution to the DMP is generated. The departure time at node i in this solution is denoted by t. Then for each node an earliest departure time e i i is randomly generated such that t i is in the interval [e i ; e i + W ], where W = 6. For k = 4 and k = 5 the instances are generated in the same way as the instances for k = 3 with W = 4 and W =, respectively. All instances were tested with respect to the objective function P n t i. Table 1 shows integrality gaps with respect to a lower bound Z LB and the best known upper bound Z U B to the value of the optimal solution to the DMPTW, where the integrality gap is dened as Z? Z U B LB 1%: Z U B The value Z U B was found by a branch-and-cut algorithm in which in every node a feasible solution to the DMPTW was constructed from the LP-solution (max. nodes). The last 1

column of Table 1 lists the number of problems (out of ve) for which the upper bound Z U B was proven to be optimal. For all three models column G shows the average gap over ve instances, where Z LB is the value of the LP-relaxation of the model. The average gap after SEC's have been added to the formulation is reported in column G 1. Finally, for model 1 and column G shows the average gap after both SEC's and inequalities (1) and (16) have been added. model 1 model model 3 inst G G 1 G G G 1 G G G 1 opt grid 56.5 53.5 33. 56.5 53.5 3.4 64.9 64.9 grid 1 5.6 3.3 19.6 3.1 1. 17.5 35.1 35.1 1 grid 17. 15. 14. 1.9 11. 1.1 4.3 4.3 1 grid 3 11.1 9.5 7. 8.7 7.4 4.5 16.9 16.9 4 grid 4 6.1 5.4 5.3 3.3.8.7 8.4 8.4 4 grid 5 6.3.8.3 4.8.5 1.9 1. 9.9 5 sched 81. 81. 5.9 81. 81. 5. 97.1 97.1 sched 1 7.3 6.3 7. 6.1 5. 6.1 39. 39. sched 11.9 11. 5.8 1.4 9.6 3.6 1.5 1.5 sched 3 16.6 16. 4.8 16.3 15.6 3.5 3. 3. sched 4 4.4 4. 3.4 3. 3. 1.8 11. 11. 5 sched 5 1.7 1.5 1. 1. 1..7 1.8 1.7 5 Table 1: Quality of the lower bounds Since every solution to the LP-relaxation of model yields a feasible solution to the LPrelaxation of model 1, the lower bounds obtained from the latter cannot exceed the lower bounds obtained from the rst. Table 1 shows that the bounds obtained from model can be considerably better than the bounds obtained from model 1. The LP-relaxation of the third formulation yields bounds that are inferior to the corresponding bounds obtained from model 1 and which are rarely improved by the addition of SEC's. Also for model 1 and we conclude that the reduction of the gap by the addition of SEC's is rather limited. This especially holds for the second set of problem instances. However, the addition of inequalities (1) and (16) substantially improves the lower bounds for these instances. For the instances of the sets grid k, the gaps are also reduced by the addition of inequalities (1) and (16), but clearly not as much as for the instances of the sets sched k. For model 1 the instances of grid k and sched k, k f1; ; 4g, were also tested with respect to the ordinary TSP objective, i.e., minimizing P i;j. Table shows the results for both objective functions. As in the previous table, G shows the average gap obtained from the LP-relaxation of model 1, G 1 gives the average gap after SEC's have been added, and G shows the average gap after the addition of SEC's and inequalities (1) and (16). As far as the last column is concerned, we mention that all instances of the TSPTW were solved to optimality by N. Ascheuer. We also compare the eect of preprocessing as described in the previous section for the two problems. Column G reports the average gap for the value of the LP-relaxation of model 1 without preprocessing. We observe that variable xing hardly improves the value of the 13

obj inst G G G 1 G opt grid 1 5.6 5.6 3.3 19.6 1 Pi t i grid 17.5 17. 15. 14. 1 grid 4 6.4 6.1 5.4 5.3 4 grid 1 3.6 7.3 1.9 1.9 5 Pi;j p ijx ij grid 36.3 7.8 18.1 18.1 5 grid 4 41..8 11.6 11.6 5 sched 1 7.3 7.3 6.3 7. Pi t i sched 11.9 11.9 11. 5.8 sched 4 4.5 4.4 4. 3.4 5 sched 1.1 1.6 1.4 1.4 5 Pi;j p ijx ij sched 3..4.3.3 5 sched 4 4.7 3..8.8 5 Table : Comparison of DMPTW and TSPTW LP-relaxation with respect to the DMP objective. Only for the instances with the smallest time windows (k = 5, not reported in Table ) we found that preprocessing increased the value of the LP-relaxation by more than :5%. With respect to the TSP objective, however, preprocessing actually leads to an improved formulation for all instances. Furthermore, we conclude from Table that the addition of SEC's may be much more eective for the TSPTW than for the DMPTW. However, this does not hold for the inequalities derived in Section 3. Although violated inequalities of this kind were identied for the instances of the TSPTW, the value of the objective function was not improved by adding these inequalities. Apparently, the addition of violated inequalities of the form (1) and (16) hardly inuences the value of the x-variables, but only changes the value of the t-variables. 6 Concluding remarks In this paper we presented a mixed integer programming formulation for the DMP and DMPTW and derived additional classes of valid inequalities. The quality of the lower bounds obtained from the LP-relaxation and the eectiveness of the new inequalities in reducing the gap were studied computationally. The results show that the addition of the inequalities derived in this paper can substantially improve the lower bound. Although our study is too limited to reach solid conclusions about the kind of matrices (p ij ) for which this holds, the results point in the direction of instances for which p ij does not vary much for xed i. In general, however, we have to conclude from our computational experiments that further study is necessary in order to obtain strong lower bounds from the polyhedral approach to the DMP and DMPTW. References [1] N. Ascheuer, Hamiltonian path problems in the on-line optimization of exible manufacturing systems, Ph.D. Thesis, Fachbereich Mathematik, Technische Universitat Berlin, 14

Berlin, 1995. [] M. Desrochers, J.K. Lenstra, M.W.P. Savelsbergh, F. Soumis, Vehicle routing with time windows: optimization and approximation, in: B.L. Golden, A.A. Assad (eds.), Vehicle routing: methods and studies, North-Holland, Amsterdam, 1988, 65-84. [3] L.F. Escudero, A. Sciomachen, A framework of an LP cuts-based algorithm for the sequential ordering problem with time windows and precedence relationships, Research report RC-15597, IBM T.J. Watson Research Center, Yorktown Heights, New York, 199. [4] L.F. Escudero, M. Guignard, K. Malik, On identifying and lifting valid cuts for the sequential ordering problem with precedence relationships and deadlines, Research report, University of Madrid, Madrid, 1991. [5] M. Fischetti, G. Laporte, S. Martello, The delivery man problem and cumulative methods, Oper. Res. 6 (1993), 155-164. [6] M. Grotschel, M.W. Padberg, Polyhedral theory, in: E.L. Lawler, J.K. Lenstra, A.H.G. Rinnooy Kan, D.B. Shmoys (eds.), The traveling salesman problem: a guided tour of combinatorial optimization, Wiley, Chichester, 1985, 51-37. [7] A. Lucena, Time-dependent traveling salesman problem - the deliveryman case, Networks (199), 753-763. [8] F. Maoli, A. Sciomachen, A mixed-integer model for solving ordering problems with side constraints, Research report, University of Genoa, Genoa, 1993. [9] G.L. Nemhauser, M.W.P. Savelsbergh, G.C. Sigismondi, MINTO, a Mixed INTeger Optimizer, Oper. Res. Letters 15 (1994), 47-58. [1] M. Padberg, G. Rinaldi, An ecient algorithm for the minimum capacity cut problem, Math. Programming 47 (199), 19-36. [11] M. Queyranne, Structure of a simple scheduling polyhedron, Math. Programming 58 (1993), 63-85. [1] M. Queyranne, A.S. Schulz, Polyhedral approaches to machine scheduling, Preprint 48/1994, Technical University of Berlin, Berlin, 1994. [13] D. Simchi-Levi, O. Berman, Minimizing the total ow time of n jobs on a network, IIE Trans. 3 (1991), 36-44. 15