33
The Steiner Tree Problem with Delays: A Compact Formulation and Reduction Procedures Valeria Leggieri ,a , Mohamed Haouari b , Chefi Triki a a Dipartimento di Matematica, Universit` a del Salento, 73100 Lecce, Italy b Ecole Polytechnique de Tunisie, BP 743, 2078, La Marsa,Tunisia Abstract This paper investigates the Steiner Tree Problem with Delays (STPD), a variation of the classical Steiner Tree problem that arises in multicast rout- ing. We present a polynomial-size formulation for this challenging NP-hard problem. The LP relaxation of this formulation is enhanced through the derivation of new lifted Miller-Tucker-Zemlin subtour elimination constraints. Furthermore, we present several preprocessing techniques for both reducing the problem size and tightening the LP relaxation. Finally, we describe an ef- fective hybrid heuristic, that combines optimization and intuitive techniques. We report the results of extensive computational experiments on instances with up to 1000 nodes. These results attest to the efficacy of the combination of the enhanced formulation, reduction techniques, and heuristic. Key words: Steiner tree, MTZ subtour elimination constraints, Reduction techniques. 1. Introduction The Steiner Tree Problem (STP) is defined on a connected undirected graph G =(V,E), where V is the set of nodes and E is the set of edges, with cost c e on each edge e E. The STP requires finding a minimum-cost tree of G that spans a subset of nodes R V, whose elements are called termi- nal (or, required) nodes, making possibly use of additional nodes (so-called * Corresponding author. Tel.: +390832297603; Fax: +390832297410; e-mail: vale- [email protected] Preprint submitted to Elsevier March 1, 2010

The Steiner Tree Problem with Delays: A Compact Formulation …poincare.unile.it/chefi/steiner.pdf · 2010. 3. 1. · The Steiner Tree Problem with Delays: A Compact Formulation and

  • Upload
    others

  • View
    8

  • Download
    0

Embed Size (px)

Citation preview

Page 1: The Steiner Tree Problem with Delays: A Compact Formulation …poincare.unile.it/chefi/steiner.pdf · 2010. 3. 1. · The Steiner Tree Problem with Delays: A Compact Formulation and

The Steiner Tree Problem with Delays: A Compact

Formulation and Reduction Procedures

Valeria Leggieri∗,a, Mohamed Haouarib, Chefi Trikia

aDipartimento di Matematica, Universita del Salento, 73100 Lecce, ItalybEcole Polytechnique de Tunisie, BP 743, 2078, La Marsa,Tunisia

Abstract

This paper investigates the Steiner Tree Problem with Delays (STPD), avariation of the classical Steiner Tree problem that arises in multicast rout-ing. We present a polynomial-size formulation for this challenging NP-hardproblem. The LP relaxation of this formulation is enhanced through thederivation of new lifted Miller-Tucker-Zemlin subtour elimination constraints.Furthermore, we present several preprocessing techniques for both reducingthe problem size and tightening the LP relaxation. Finally, we describe an ef-fective hybrid heuristic, that combines optimization and intuitive techniques.We report the results of extensive computational experiments on instanceswith up to 1000 nodes. These results attest to the efficacy of the combinationof the enhanced formulation, reduction techniques, and heuristic.

Key words: Steiner tree, MTZ subtour elimination constraints, Reductiontechniques.

1. Introduction

The Steiner Tree Problem (STP) is defined on a connected undirectedgraph G = (V,E), where V is the set of nodes and E is the set of edges, withcost ce on each edge e ∈ E. The STP requires finding a minimum-cost treeof G that spans a subset of nodes R ⊂ V, whose elements are called termi-nal (or, required) nodes, making possibly use of additional nodes (so-called

∗Corresponding author. Tel.: +390832297603; Fax: +390832297410; e-mail: [email protected]

Preprint submitted to Elsevier March 1, 2010

Page 2: The Steiner Tree Problem with Delays: A Compact Formulation …poincare.unile.it/chefi/steiner.pdf · 2010. 3. 1. · The Steiner Tree Problem with Delays: A Compact Formulation and

Steiner nodes) from S := V \R. The STP is a very fundamental combinato-rial optimization problem with a long history (see e.g., [1], [2]). During thelast two decades, this NP-hard problem has been intensely investigated andseveral effective exact solution strategies have been proposed so far (see e.g.,[3], [4], [5]). These research efforts are mainly motivated by the pertinence ofthe STP to a wide range of complex network design applications. Recently,and prompted by the dramatic growth of the telecommunication sector, sev-eral new variants of the STP have been proposed and studied. For instance,some of these new variations include Steiner problems with profits, wherebesides the costs associated with edges, there are also revenues associatedwith nodes ([6], [7]). In addition, alternative variations aim at enriching theclassical STP model by including a Quality of Service (QoS) requirement.The importance of this latter concept stems from its relevance to severalreal-time applications, where it is required to deliver the same informationfrom a source toward all the members of a multicast group within a specifieddelay limit ([8], [9]). Naturally, the QoS requirement and, specifically, themaximum-delay constraint impose a restriction on an acceptable multicasttree. To this aim, in this paper, we consider the following generalization ofthe STP. We are given a connected, undirected graph G = (V,E), whereV = {1, ..., n} is the node set, with node 1 being a source node, and E is theedge set, along with a nonnegative edge weight ce and delay de associatedwith each edge e ∈ E. The node set is partitioned into a subset R of termi-nals (with 1 ∈ R) and a subset S of Steiner nodes. The problem consists infinding a minimum-cost subtree T of G that spans all terminals of R and,possibly some Steiner nodes, and such that the sum of the delays on eachpath Pj in T from the source node to each terminal node j ∈ R∗ := R \ {1}is less than or equal to a specified maximum delay ∆. We refer to this prob-lem as the Steiner Tree Problem with Delays (STPD). Clearly, the Steinertree problem is a special case of the STPD with the source node being anyterminal node and ∆ = +∞. Thus, the STPD is NP-hard.

Many heuristics for solving the STPD have been proposed so far. Kom-pella et al. present in [8] greedy heuristics where they find a spanning treeof the closure graph of the constrained shortest path between the source andthe terminal nodes. Sriram et al. in [10] propose two-phase algorithms forsparse and static communication groups where in Phase 1, all the possibleshortest paths from the source to each terminal, respecting the maximum de-lay requirement, are computed and then, in Phase 2, these paths are used forconstructing the multicast tree. Zhu et al. [11] propose a heuristic based on a

2

Page 3: The Steiner Tree Problem with Delays: A Compact Formulation …poincare.unile.it/chefi/steiner.pdf · 2010. 3. 1. · The Steiner Tree Problem with Delays: A Compact Formulation and

feasible search optimization method that starts with the minimum delay treeand, then, decrease the cost of the delay-bounded tree. In [12], Noronha andTobagi present an integer programming formulation together with an exactsolution technique. Their approach is based on the decomposition principlefor speeding up the linear relaxation solution, and on enhanced value-fixingrules for pruning the search space. The authors report the solution of small-sized instances (having up to 12 nodes). Additional standard approacheshave also been used to solve the Steiner tree problem with delay constraints.These approaches include tabu search [13], neural networks [14] and simu-lated annealing [15]. The problem of the QoS in a Minimum Energy Mul-ticast problem (QoS-MEM) in wireless Ad-Hoc networks has been alreadyconsidered and mixed integer programming formulations for the QoS-MEMproblem have been proposed in [16] and [17].

It is worth noting that the STPD might be viewed as a generalizationof two well-studied tree optimization problems, namely the hop-constrainedminimum spanning arborescence and the hop-constrained minimum Steinertree problem. A hop-constraint requires that the number of arcs in the pathconnecting the source node with any node of the arborescence does not exceeda given threshold value (see e.g., [18], [19]). Recently, exact and heuristicapproaches for the STP with revenues, budget and hop constraints havebeen proposed by Costa et al. in [6] and [7].

The objective of this paper is to describe an exact approach for the STPD.Our main contribution is to provide evidence that the combination of a newderived enhanced polynomial-size formulation, an effective heuristic, and aset of reduction (i.e. preprocessing) techniques, allow to solve to optimalityrelatively large STPD instances, having up to 1000 nodes, using a general-purpose MIP solver.

The remainder of this paper is organized as follows. In Section 2, wepresent an enhanced polynomial-length mixed-integer programming formu-lation for the STPD. In Section 3, we describe several tailored reductiontechniques. In Section 4, we present a heuristic solution strategy for theSTPD. In Section 5, we report the results of extensive computational exper-iments. Finally, some concluding remarks are provided in the last section.

3

Page 4: The Steiner Tree Problem with Delays: A Compact Formulation …poincare.unile.it/chefi/steiner.pdf · 2010. 3. 1. · The Steiner Tree Problem with Delays: A Compact Formulation and

2. A new polynomial-length MIP formulation

2.1. A simple formulation

Several valid formulations for the STPD have been proposed and analyzedin [20]. In this section, we investigate a new compact formulation (i.e., aformulation involving a polynomial number of constraints and variables) forthe STPD. Toward this end, the STPD is reformulated as a shortest spanningarborescence problem with side-constraints. Note that other types of tree-based formulations for the STP have been investigated by several authors(see e.g., [21], [22], [23]).

Specifically, instead of formulating the STPD on the undirected graph G,we consider a directed formulation that is defined on the bi-directed graphB = (V,A). This latter digraph is obtained from G by replacing each edgee = {i, j} ∈ E with two directed arcs (i, j) and (j, i) (with correspondingcosts cij = cji = ce and delays θij = θji = θe) with one exception: since allthe costs and all the delays are nonnegative, the incoming arcs to the sourcenode are not created. A dummy node 0, as well as dummy arcs of the form(0, j), for all j ∈ S ∪ {1}, are added to B. Each dummy arc is assigned azero cost and a zero delay. Let B = (V , A) denote the resulting expanded

digraph. Now, consider a spanning arborescence ~T = (V , A(~T )) of B thatis rooted at node 0, and that is such that the outdegree of a Steiner nodeadjacent to 0 in ~T is zero.

Proposition 2.1. If ~T is delay-feasible in B, then it corresponds to a feasibleSTPD solution T in B having the same cost. Conversely, given T , then itcorresponds to a delay-feasible spanning arborescence ~T in B.

Proof. If the dummy arcs are removed and isolated Steiner nodes are dis-carded from ~T , then we get an arborescence T rooted at node 1 and span-ning all terminals and, possibly, a subset of Steiner nodes. Since the dummyarcs have a zero cost, then ~T and T have the same cost. Moreover, if ~T isdelay-feasible, then it is easy to see that T is also delay-feasible. Thus, T isa feasible STPD solution.

On the other hand, if T is a feasible STPD solution, then adding to Tthe arc (0, 1) and the arcs (0, j) for each j isolated Steiner nodes in T , then

we construct the delay-feasible spanning arborescence ~T of B rooted at node0 having the same cost of T .

4

Page 5: The Steiner Tree Problem with Delays: A Compact Formulation …poincare.unile.it/chefi/steiner.pdf · 2010. 3. 1. · The Steiner Tree Problem with Delays: A Compact Formulation and

In the sequel, we shall denote by δ+(i) the set of the arcs of A outgoingfrom i, i.e., δ+(i) := {(i, j) ∈ A : j ∈ V } and by δ−(i) the set of arcs ofA that are incoming in i, i.e., δ−(i) := {(j, i) ∈ A : j ∈ V }. For each(i, j) ∈ A, we denote by yij the binary variable that takes the value 1 if arc(i, j) belongs to the arborescence and 0 otherwise. We also define, for eachj ∈ V , a (continuous) time variable tj which represents the total delay of thepath connecting 0 to j. Accordingly, consider the following model for theSTPD

(STPDMTZ) : Minimize∑

(i,j)∈A

cijyij (1)

subject to:

(i,j)∈δ−(j)

yij = 1, ∀ j ∈ V, (2)

y0j + yij + yji ≤ 1, ∀ j ∈ S, (i, j) ∈ δ−(j), (3)

ti − tj + θij ≤Mij(1− yij), ∀ (i, j) ∈ A, (4)

t1 = 0, (5)

tj ∈ [0, ∆], ∀ j ∈ V \ {1}, (6)

yij ∈ {0, 1}, ∀ (i, j) ∈ A, (7)

where Mij := ∆+ θij for every (i, j) ∈ A.

The objective function (1) is to minimize the total cost and we can restrictthe sum to the arcs of A since the arcs of A \A have zero costs. Constraints(2) require that the indegree of each node is exactly 1. Constraints (3) enforcethe solution to satisfy the condition that each Steiner node j adjacent to node0 should be a leaf. Moreover, this latter constraint requires that, for any pairof opposite arcs, at most one arc should be contained in the solution. The roleof constraints (4) is twofold. First, they prevent the solution from includingsubtours in the same way as the well-known Miller-Tucker-Zemlin constraints(or, MTZ for short) act in the context of the much studied traveling salesmanproblem ([24], [25]). Second, they enforce (jointly with constraints (5), (6)and (7)) the solution to be delay-feasible. Indeed, if yij = 1, then (4) readsti+θij ≤ tj, otherwise, it turns out to be the redundant constraint ti−tj ≤ ∆.Finally, constraints (7) require that the arc variables are binary valued.

5

Page 6: The Steiner Tree Problem with Delays: A Compact Formulation …poincare.unile.it/chefi/steiner.pdf · 2010. 3. 1. · The Steiner Tree Problem with Delays: A Compact Formulation and

The distinctive feature of formulation STPDMTZ is its simplicity andcompactness since it involves O(n2) binary variables, O(n) continuous vari-ables, and O(n2) constraints. However, it is well-documented in the liter-ature that the linear programming (or LP for short) relaxations of similartree-based formulations for the STP are very weak (see for example [5]) and,therefore, one could easily realize that formulation STPDMTZ might onlybe useful for solving small-sized STPD instances. In the sequel, we presentan enhanced version of formulation STPDMTZ that exhibits a significantlytighter LP relaxation.

2.2. Enhancements

2.2.1. Valid inequalities

First, we observe that there exists at least one arc outgoing from thesource and, thus, the following constraint

(1,j)∈δ+(1)

y1j ≥ 1 (8)

can be added to the model. Also, we can include the trivial constraints

yij + yji ≤ 1, ∀ j ∈ R, (i, j) ∈ A, (9)

that are redundant for defining any optimal solution of the linear relax-ation of the formulation as the objective value coefficients are non negative.

Moreover, we notice that a Steiner node that is not adjacent to node 0cannot be a leaf in any optimal solution, thus the constraints

(i,j)∈δ+(i)

yij ≥ 1− y0i, ∀ i ∈ S (10)

are valid and can, therefore, be appended to the model. We point out thatthe addition of 10) improves the LP relaxation of the proposed formulation.

2.2.2. Bounds on the time variables

Actually, we can compute for each tj (j ∈ V \ {1}) a lower bound λj, aswell as an upper bound µj, and thus, we can strengthen the bounding con-straints (6). Indeed, the delays on the arcs define, for each node i ∈ V , a timewindow within which the communication should be received and forwardedto descendant nodes, while satisfying the maximum delay constraints. To

6

Page 7: The Steiner Tree Problem with Delays: A Compact Formulation …poincare.unile.it/chefi/steiner.pdf · 2010. 3. 1. · The Steiner Tree Problem with Delays: A Compact Formulation and

this aim, given a pair of nodes i and j, we denote by θ(i, j) the value of theminimum delay path in B from i to j. Since the delays are positive, thenthe computation of θ(i, j) can be performed in polynomial-time. Clearly,the total elapsed time for a message sent from the source node to a nodej ∈ V \ {1} is larger than or equal to θ(1, j). Thus, we set λj := θ(1, j)for each j ∈ V \ {1}. Obviously, if for some terminal node i ∈ R we haveλi > ∆, then the instance is infeasible. Moreover, a Steiner node i ∈ S mightbe included in a feasible arborescence T only if there exists a terminal nodej ∈ R∗ such that ti + θ(i, j) ≤ ∆. Consequently, we set µi := ∆−min

j∈R∗

θ(i, j)

for each i ∈ S. If i ∈ R∗, then obviously µi := ∆.If λi ≤ µi holds for each node i ∈ V \ {1}, then constraints (6) can be

replaced byλi ≤ ti ≤ µi, ∀i ∈ V \ {1}. (6’)

Otherwise, the problem is either infeasible, or a Steiner node can beeliminated from the graph (see Proposition 3.3). In the sequel, we supposethat λi ≤ µi for all i ∈ V \ {1}.

It is noteworthy that we can strengthen constraints (4) by setting

Mij := µi − λj + θij. (11)

Actually, also constraints (6’) might be strengthened by observing that,if for some j ∈ V we have yij = 1, then we have that tj ≥ max(λj, λi + θij).Consequently, the constraints

tj ≥∑

i:(i,j)∈δ−(j)

max(λj, λi + θij)yij, ∀ j ∈ V \ {1}, (12)

are valid. It is noteworthy that a similar inequality has been previouslyproposed by Desrochers and Laporte in [25] in the context of the travelingsalesman problem with time windows. Moreover, we observe that if yjk = 1,then we have that tj ≤ µj −max(0, µj − µk + θjk). Thus, the constraints

tj ≤ µj−max(0, µj−µk +θjk)yjk, ∀ (j, k) ∈ δ+(j), j ∈ V \{1} (13)

are valid.

7

Page 8: The Steiner Tree Problem with Delays: A Compact Formulation …poincare.unile.it/chefi/steiner.pdf · 2010. 3. 1. · The Steiner Tree Problem with Delays: A Compact Formulation and

2.2.3. Lifting the MTZ constraints

The proposed lifting might be viewed as a non-trivial generalization ofprevious liftings of MTZ constraints and in the contexts of routing prob-lems (see e.g., [25]) and of the minimum spanning tree problem with hopconstraints ([18]). To this aim, we define for each arc (i, j) ∈ A the subset

ϕji = {(k, j) ∈ A : k ∈ V \ {i}, λk + θkj ≤ µj and λk + θkj + θji > µi}

which is formed by the arcs (k, j) of A that are incompatible with arc (j, i),namely if both (k, j) and (j, i) were included in a solution, then the delaybounds on the node i would be violated.

Proposition 2.2. Let (y, t) be a feasible solution for STPDMTZ.For each (i, j) ∈ A, if yij = 1, then:

i) yji = 0;

ii) ykj = 0, for any (k, j) ∈ ϕji;

iii) yhi = 0, for any (h, i) ∈ ϕij.

Proof. Let (i, j) ∈ A with yij = 1.

i) In view of constraints (3) or (9), it holds that yji = 0.

ii) Let (k, j) ∈ ϕji; since constraints (2) are fulfilled, then ykj = 0.

iii) Suppose on the contrary that there exists (h, i) ∈ ϕij such that yhi = 1.Then from (2), it follows that yli = 0 for all (l, i) ∈ A with l 6= h.Expressing constraints (4) for the arcs (h, i) and (i, j), we have tj ≥ti + θij and ti ≥ th + θhi, respectively, and thus tj ≥ th + θhi + θij.Combining the fact that th ≥ λh, and that λh + θhi + θij > µj since(h, i) ∈ ϕij , it follows that tj ≥ th + θhi + θij ≥ λh + θhi + θij > µj

which is a contradiction since tj ≤ µj. Thus, yhi = 0 for all (h, i) ∈ ϕij.

For every arc (i, j) ∈ A, we define αji := µi − λj − θji. Moreover we setβkj := λk + θkj − λj for all (k, j) ∈ ϕji and γhi := max(µi − µh − θhi, 0) forall (h, i) ∈ ϕij. Notice that, these latter coefficients are nonnegative and notalways identical to zero.

8

Page 9: The Steiner Tree Problem with Delays: A Compact Formulation …poincare.unile.it/chefi/steiner.pdf · 2010. 3. 1. · The Steiner Tree Problem with Delays: A Compact Formulation and

Proposition 2.3. The constraints

ti−tj+Mijyij+αjiyji+∑

(k,j)∈ϕji

βkjykj+∑

(h,i)∈ϕij

γhiyhi ≤Mij−θij, ∀ (i, j) ∈ A

(14)are valid inequalities.

Proof. Let (y, t) be a feasible integer solution. We will consider three differentcases:

-Case 1: yij = 1. Applying Proposition 2.2, we get ti − tj ≤ −θij whichis true.

-Case 2 : yji = 1. Considering (14) for arc (j, i) we get

tj − ti ≤ −θji. (15)

Moreover, we have ykj = 0 for any (k, j) ∈ ϕji, and yhi = 0 for any(h, i) ∈ ϕij. Hence, considering (14) for the arc (i, j), we get

ti − tj ≤Mij − θij − αji. (16)

The right-hand side of (16) is equal to θji. Thus, combining (15) and (16)we get

θji ≤ ti − tj ≤ θji. (17)

Hence, we have ti − tj = θji. This latter inequality holds because yji = 1.- Case 3: yij = 0 and yji = 0.If i and j do not have any predecessors different from the dummy node

0, then it is easy to prove that constraint (14) is verified.Suppose that h∗ and k∗ are the predecessors of i and j, respectively (the

case in which either i or j has a predecessor in V can be easily obtained fromthis case). We consider the following subcases

i) (h∗, i) ∈ ϕij and (k∗, j) ∈ ϕji. In this case (14) reads

ti − tj ≤Mij − θij − γh∗i − βk∗j = µi − λj − γh∗i − βk∗j (18)

Since yh∗i = 1 and yk∗j = 1, then ti ≤ min(µi, µh∗ +θh∗i) and tj ≥ λk∗ +θk∗j. If µi ≤ µh∗+θh∗i, then γh∗i = 0 and ti−tj ≤ µi−γh∗i−(λk∗+θk∗j) =µi−λj−γh∗i−βk∗j, else if µi > µh∗ +θh∗i, then ti ≤ µh∗ +θh∗i and thus

9

Page 10: The Steiner Tree Problem with Delays: A Compact Formulation …poincare.unile.it/chefi/steiner.pdf · 2010. 3. 1. · The Steiner Tree Problem with Delays: A Compact Formulation and

ti − tj ≤ µh∗ + θh∗i − (λk∗ + θk∗j) = µi − µi + µh∗ + θh∗i − λj − βk∗j =µi − λj − γh∗i − βk∗j. Hence, inequality (18) is verified.

ii) (h∗, i) /∈ ϕij and (k∗, j) /∈ ϕji. In this case (14) becomes ti−tj ≤Mij−θij

which is obviously correct.

iii) (h∗, i) /∈ ϕij and (k∗, j) ∈ ϕji. In this case (14) reads

ti − tj ≤Mij − θij − βk∗j = µi − λj − βk∗j (19)

which is obviously correct since ti ≤ µi and tj ≥ λk∗ + θk∗j = βk∗j + λj.

iv) (h∗, i) ∈ ϕij and (k∗, j) /∈ ϕji. This case is similar to (iii).

This concludes the proof.

In the sequel, we denote by STPDLMTZ the model that is obtained fromSTPDMTZ by appending constraints (8), (10), (12) and (13) and by substi-tuting constraints (4) with (14) and constraints (6) with (6’). Notice thatSTPDLMTZ has O(n2) variables and O(n2) constraints.

Let vLP (P ) denote the optimal value of the LP relaxation of a mixed-integer program P.

Proposition 2.4. vLP (STPDLMTZ) ≥ vLP (STPDMTZ). Moreover, thereare instances for which vLP (STPDLMTZ) > vLP (STPDMTZ).

Figure 1: An example in which vLP (STPDLMTZ) > vLP (STPDMTZ).

10

Page 11: The Steiner Tree Problem with Delays: A Compact Formulation …poincare.unile.it/chefi/steiner.pdf · 2010. 3. 1. · The Steiner Tree Problem with Delays: A Compact Formulation and

Proof. Every feasible solution of the LP relaxation of formulation STPDLMTZ

is obviously feasible for the LP relaxation of formulation STPDMTZ ; thusvLP (STPDLMTZ) ≥ vLP (STPDMTZ). An example where vLP (STPDLMTZ) >vLP (STPDMTZ) is displayed in Figure 1 where R∗ = {3, 4, 5}, ∆ = 4 andthe ordered pairs represent the costs and the delays of the arcs. The opti-mal solution value vLP (STPDMTZ) is equal to 8.75 and a correspondingsolution (in the y variables only) is: y13 = 1, y25 = y32 = y02 = 1/2,y34 = y35 = y45 = 1/4, y54 = 3/4. While the optimal value vLP (STPDLMTZ)is 9 and the solution is integer: y13 = y35 = y54 = y02 = 1.

3. Reduction techniques

Preprocessing plays a very useful role in solving combinatorial optimiza-tion problems. This technique, indeed, reduces the size of the problems bymeans of logical implications, producing equivalent instances. The prepro-cessing performed in our problem is based on an adaptation of the knownpreprocessing techniques for the Steiner Tree problem, on the fulfillment ofthe time window requests, and on the reduced costs based reductions.

3.1. Graph-based reductions

The graph-based reductions are performed on the undirected graph G =(V,E) and the goal of this process is to reduce the size of the problem con-tracting or deleting nodes and/or edges in order to obtain an equivalent,but reduced, graph G′ = (V ′, E ′) ([26], [21], [27], [4], [28]). Quite simplereduction tests for the STP are the degree tests applied recursively to eachreduced graph, until no more reduction can be performed. For each i ∈ V ,we denote by δ(i) the set of the edges of E that are incident to i. Because ofthe presence of the delay on the arcs, if we want to contract certain edges,then we need to store the delays. For this reason, we introduce a variablemi ∈ R for each i ∈ V and initially we set mi to zero for all i ∈ V . Storingmi enables to reduce the value of the maximum delay µi for node i, if someedges that are incident to i are contracted. At the end of the preprocessingprocedure, mi takes the value of the maximum of the delays of the edges thathave been contracted in i.

Proposition 3.1 (Degree one test). For every node i ∈ V

(i) if i ∈ S and |δ(i)| = 1, then i is eliminated from the graph togetherwith the edge incident to it;

11

Page 12: The Steiner Tree Problem with Delays: A Compact Formulation …poincare.unile.it/chefi/steiner.pdf · 2010. 3. 1. · The Steiner Tree Problem with Delays: A Compact Formulation and

(ii) if i ∈ R, |δ(i)| = 1 and δ(i) = {{i, j}}, then {i, j} is contracted and thecost cij is stored to be added to the optimal solution value. Furthermoreif θij > mj, the values of µj and mj are updated: µj := µi + mj − θij

and mj := θij, respectively.

Contracting an edge {i, j} incident to a node i ∈ R means:

• if j ∈ R, identify node i with j, eliminate the edge {i, j}, reduce thecardinality of R;

• if j ∈ S, identify nodes i with j and eliminate the edge {i, j}.

The degree two test is analogous to the test of the Steiner Tree problem,but a further condition on the delays must be considered in order to takeheed of the maximum delay restriction at the terminal nodes.

Proposition 3.2 (Degree two test). Let i ∈ S denote a Steiner node withδ(i) = {{i, k}, {j, i}},

(i) if {k, j} /∈ E, then the edges {k, i} and {i, j} are substituted by a newedge {k, j} with cost ckj = cki + cij and delay θkj = θki + θij and i canbe eliminated together with its incident edges.

(ii) if {k, j} ∈ E, if cki + cij > ckj and θki + θij > θkj, then i can beeliminated from the graph together with the incident edges in i.

(ii) if {k, j} ∈ E, cki + cij ≤ ckj and θki + θij ≤ θkj, then node i is removedfrom the graph together with its incident edges and the edge {k, j} isgiven the cost ckj = cki + cij and the delay θkj = θki + θij.

3.2. Delay-based reductions

A necessary condition for a node i ∈ V to be included in a feasible solutionis that the total delay in i belongs to the interval [λi, µi]. This restrictioncan be used to perform a first delay based preprocessing. Indeed, if a timewindow [λi, µi] is empty, then the time required to reach node i from thesource 1 is greater than the residual time to reach the nearest (in terms ofdelays) terminal node.

Proposition 3.3 (Non–empty time windows). For every node i ∈ V

12

Page 13: The Steiner Tree Problem with Delays: A Compact Formulation …poincare.unile.it/chefi/steiner.pdf · 2010. 3. 1. · The Steiner Tree Problem with Delays: A Compact Formulation and

(i) If λi > µi and i ∈ S, then i can be removed from the graph togetherwith all its incident edges.

(ii) If λi > µi and i ∈ R∗, then the instance is infeasible.

In addition, the delays can be used to eliminate edges and, after havingconsidered the digraph, can be used to eliminate arcs.

Proposition 3.4 (Adjacent time request). For every edge {i, j} ∈ E, ifλi + θij > µj and λj + θji > µi, then edge {i, j} can be eliminated from thegraph.

Proposition 3.5 (Direct arcs test). All the directed arcs (i, j) ∈ A such thatλi + θij > µj can be eliminated from the directed graph.

3.3. Reduced cost-based reductions

We denote by vLP the optimal value of the LP relaxation of the problemand by vUB the value of the best known feasible solution of the problem. Let(y, t) be an optimal solution of the LP relaxation of the problem and cij bethe reduced cost of each arc (i, j) ∈ A. Using the results in [29], we observethat if yij = 0 and vLP + cij > vUB, then setting the variable yij to 1 cannotproduce any improvement of the best known feasible solution. Hence, thevalue of the variable yij is set to zero, which means that it is possible toeliminate arc (i, j) from the graph.

Moreover, if yij = 1 and vLP −cij > vUB, then, even in this case, reducingto zero the value of yij could not yield any improvement and so the variableyij is set to 1. Thus, the arc (i, j) is always in an optimal solution.

We can use these considerations in order to achieve a further reduction ofthe problem size. For a “preliminary reduced cost-based reduction”, we canconsider the following cases:

i) If y0i = 1 for i ∈ S and vLP − c0i > vUB, then node i can be discardedfrom the graph since this Steiner node would never be included in anoptimal solution.

ii) If yij = yji = 0, with vLP + cij > vUB and vLP + cji > vUB, then botharcs (i, j) and (j, i) can be eliminated.

iii) If yij = 1 and vLP − cij > vUB, then we should distinguish three cases:

13

Page 14: The Steiner Tree Problem with Delays: A Compact Formulation …poincare.unile.it/chefi/steiner.pdf · 2010. 3. 1. · The Steiner Tree Problem with Delays: A Compact Formulation and

Case 1: i, j ∈ R. Then, add to the digraph all the arcs (i, h) with h ∈ Vsuch that (j, h) ∈ A, with costs cih = cjh and delays θih = θij +θjh,eliminate j and all its incident arcs, add the cost cij to the optimalsolution value and decrease of one unit the cardinality of R. Ifθij > mi, the values of µi and mi are updated: µi := µj + mi− θij

and mi := θij, respectively.

Case 2: i ∈ V and j ∈ S. Then, add to the digraph all the arcs (i, h)with h ∈ V such that (j, h) ∈ A, with costs cih = cjh and delaysθih = θij + θjh, eliminate j and all its incident arcs and add thecost cij to the optimal solution value. If θij > mi, the values of µi

and mi are updated: µi := µj+mi−θij and mi := θij, respectively.

Case 3: i ∈ S and j ∈ R. Then, add to the digraph all the arcs (i, h)with h ∈ V such that (j, h) ∈ A, with costs cih = cjh and delaysθih = θij +θjh, substitute node j in R by node i, eliminate j and allits incident arcs and add the cost cij to the optimal solution value.If θij > mi, the values of µi and mi are updated: µi := µj +mi−θij

and mi := θij, respectively.

For a “final reduced cost-based reduction”, we consider the further cases:

iv) If yij = 0, vLP + cij > vUB and 0 < yji < 1, then eliminate the arc(i, j);

v) If yij = 0, vLP + cij > vUB and yji = 0, but vLP + cji ≤ vUB, theneliminate the arc (i, j).

3.4. Preprocessing framework

We summarize here the steps of the preprocessing procedure that is re-peated in a recursive way until no more reduction can be achieved. The firstfour steps are performed on the undirected graph G:

Step 1: Perform degree one test;

Step 2: Perform non–empty time windows test;

Step 3: Perform adjacent time request test;

Step 4: Perform degree two test;

14

Page 15: The Steiner Tree Problem with Delays: A Compact Formulation …poincare.unile.it/chefi/steiner.pdf · 2010. 3. 1. · The Steiner Tree Problem with Delays: A Compact Formulation and

Step 5: If at least one contraction or elimination has been executed go to Step1, else go to Step 6 (the subsequent tests are performed on the digraphB obtained from the reduced undirected graph G);

Step 6: Perform the direct arc elimination;

Step 7: Solve the LP relaxation of the formulation on B, obtaining vLP ;

Step 8: Invoke a heuristic and compute an upper bound value vUB;

Step 9: Perform the preliminary reduced costs based reduction;

Step 10: If at least one contraction or elimination has been executed, considerthe undirected graph constructed using the current digraph B and go toStep 1, else perform the final reduced cost based reduction, and Stop.

At the end of the preprocessing procedure, the MIP solver is invoked in or-der to solve the problem on the reduced graph with formulation STPDLMTZ .In the sequel, we refer to this solution strategy by STPDLMTZ + P .

4. A heuristic for the STPD

In this section, we describe heuristic algorithms that aim at deliveringnear-optimal solutions for the STPD. Clearly, the effectiveness of the reduc-tion procedure is closely related to the tightness of the upper bound.

First, we start with a notational shortcut. Given a tree T = (V (T ), E(T ))(with 1 ∈ V (T )) and a node j ∈ R \ V (T ), (namely, a node belonging toR and not to V (T )), let P(T, j) denote a shortest delay-constrained pathbetween T and j (i.e., the shortest path between a node k ∈ V (T ) and j andsuch that the sum of the delays from source 1 to j is less than or equal tothe threshold value µj) and let c(P(T, j)) denote its length. Basically, theproposed approach is an adaptation of the so-called Shortest Path Heuristicthat has been proposed for the standard STP by Takahashi and Matsuyama[30]. Recently, Costa et al. in [6] proposed similar approaches for solving theSTP problem with revenues budget and hop constraints. The idea is to startwith an initial delay-feasible tree T and then, iteratively insert in T a nodej ∈ R \ V (T ) such that

c(P(T, j)) = mink∈R\V (T )

c(P(T, k)).

15

Page 16: The Steiner Tree Problem with Delays: A Compact Formulation …poincare.unile.it/chefi/steiner.pdf · 2010. 3. 1. · The Steiner Tree Problem with Delays: A Compact Formulation and

The algorithm stops when T spans all terminal nodes. Clearly, since theinitial tree is feasible and, at each iteration a feasible path is appended, thedelivered tree is necessarily feasible (unless the instance is infeasible). Apseudo-code of the heuristic (to which we refer by H1) is described below.

Step 0. (Initialization)Construct an initial delay-feasible tree T = (V (T ), E(T ))

Step 1. (Computation of the shortest delay-constrained path)

1.1 Compute P(T, k) for k ∈ R \ V (T )

1.2 Choose j ∈ R\V (T ) such that c(P(T, j)) = mink∈R\V (T )c(P(T, k))

Step 2. (Solution update)

2.1 Set V (T )← V (T ) ∪ {k} for k ∈ P(T, j)

2.2 Set E(T )← E(T ) ∪ {e} for e ∈ P(T, j)

Step 3. (Termination test)If R \ V (T ) = ∅ then Stop, otherwise go to Step 1.

The initial delay-feasible tree is computed in the following way. First, wecompute for each terminal node k ∈ R the path P({1}, k) which is the short-est delay-feasible path between the source node and k. Then, we select, asan initial delay-feasible tree, the path P({1}, j) satisfying c(P({1}, j)) =maxk∈Rc(P({1}, k)) (thus, j is the most distant terminal node from thesource node).

It is noteworthy that the computation of P(T, k) for k ∈ R \ V (T ) couldbe achieved through solving a single shortest path problem with delay con-straints (SPPD). To this aim, we modify the graph in the following way. Weadd a dummy sink node t and dummy arcs (k, t) for k ∈ R \ V (T ). Eachdummy arc has a zero cost and a zero delay. Then, we set the cost of eachedge e ∈ E(T ) to zero while keeping the genuine delays. Now, it is easy tocheck that if P = (1, j1, ..., jp, t) is the shortest delay-feasible path problembetween the source 1 and the sink t, then node jp ∈ R \ V (T ) is the nearestto T .

H1 requires iteratively solving a SPPD. This problem is known to beNP-hard [31] and it is, therefore, unlikely to be solvable in polynomial time.However, it can be solved by dynamic programming in pseudopolynomial

16

Page 17: The Steiner Tree Problem with Delays: A Compact Formulation …poincare.unile.it/chefi/steiner.pdf · 2010. 3. 1. · The Steiner Tree Problem with Delays: A Compact Formulation and

time [32]. An alternative approach that we have implemented and foundvery effective is based on Lagrangian relaxation [33]. For the sake of clarity,we briefly describe this approach. Let x denote the incidence vector of a1 − t path in G and let X denote the set of 1− t paths. The SPPD can beformulated as follows

SPPD : Minimize {cx : x ∈ X and δx ≤ µt} (20)

Dualizing the delay constraint in a Lagrangian fashion yields the Lagrangian

dual

LD : Maximizeu≥0

{minx∈X (c + uδ)x} (21)

Minoux [34] shows that LD can be solved very simply using an iterativedichotomous search. At each iteration, a (standard) shortest path problemwith modified costs c + uδ is solved. In our experiments, we found that thissearch procedure converges very quickly and very often requires less thanfour iterations. Interestingly, after solving LD, we get not only an optimalLagrangian variable u∗ and a lower bound L1 on the optimal path, but alsoan upper bound UB1 corresponding to a feasible delay-constrained path. Incase where L1 < UB1, then Handler et al. in [33] show that it suffices to usea ranking procedure for successively generating the kth shortest path withrespect to the modified cost c + u∗δ. The algorithm stops when a provenoptimal path is generated. In our implementation, the kth shortest pathproblem is generated using the general ranking procedure which is describedin [35].

Since the exact solution of SPPD might require for some large instancesan excessive computing time, we have designed an additional variant of ourheuristic. This second variant, to which we refer by H2, aims at deliveringa near-optimal solution while requiring shorter CPU time. The inner loopof H2 is an approximate version of H1. More precisely, in Step 1 instead ofcomputing an exact shortest path, we content ourselves with an approximatesolution that is delivered when a maximal number of q shortest paths havebeen computed or a feasible solution with a preset gap ǫ1 has been obtained.This approximate version of H1 was found to be very fast. However, in orderto get high-quality solutions, this inner loop is restarted a specified numberof times (n iter) using a perturbation strategy. This strategy requires settingat each iteration a perturbed cost ce = rand ∗ ce for each edge e, where rand

17

Page 18: The Steiner Tree Problem with Delays: A Compact Formulation …poincare.unile.it/chefi/steiner.pdf · 2010. 3. 1. · The Steiner Tree Problem with Delays: A Compact Formulation and

is randomly drawn from the uniform distribution U [1− r, 1 + r]. The rangeparameter r is set empirically. The iterative process is prematurely halted ifa solution having a gap less than a specified gap ǫ2 has been found. Afterhaving performed extensive preliminary experiments, we found that “good”performance is achieved by setting q = 5, ǫ1 = 0.05, r = 0.5, n iter = 50 andǫ2 = 0.01.

5. Computational experiments

In order to assess the performance of the proposed reduction techniquesand the effectiveness of the derived compact formulation, we have carried outextensive computational experiments on a large set of randomly generatedinstances. All our experiments were carried out on an Opteron 246 computerwith 2 GB RAM memory. We have used CPLEX 10.2 for solving the LP/MIPprograms. We have set a maximum CPU time limit of one hour.

5.1. Description of the problem instances

To the best of our knowledge, no benchmark instances are available for theSTPD. Therefore, we have considered the problems proposed in the SteinLiblibrary [36] for the standard STP. In particular the 18 instances of ClassB, the first 10 instances of Class C, and the first 5 instances of Class Dhave been used as test problems. The graphs of the classes B, C and D arerandomly generated sparse graphs with edge weights between 1 and 10. Thenumber of vertices and of edges ranges from 50 to 1000 and from 63 to 1250,respectively. The characteristics of these instances are displayed in Table 1.

As emphasized in [7], the selection of sparse graphs as test instances canmotivated by the nature of the possible real-world applications, where thetopology of the problems is defined by roads or highways.

We have randomly generated the delays on the edges in such a way thatthey result correlated and non-correlated with the costs. In the former case, arandom number r is drawn from the interval [0.8, 1.2] and, for each edge {i, j},we set θij := r ∗ cij, while in the latter case the delays are randomly drawnfrom the interval [1, 100]. We refer by Cor and Ran to the correlated andnon-correlated instances, respectively. On the basis of the generated delays,we have computed the value MP which is the maximum among the shortestpaths with the delays as costs between the source node and each terminalnode, i.e., MP = maxj∈R∗ θ(1, j). In the problems indicated with 0.1, wehave set ∆ to the value ∆ := 1.1 ∗MP and, in the problems indicated with

18

Page 19: The Steiner Tree Problem with Delays: A Compact Formulation …poincare.unile.it/chefi/steiner.pdf · 2010. 3. 1. · The Steiner Tree Problem with Delays: A Compact Formulation and

Problem |V | |E| |R| |S|B 1 50 63 9 41B 2 50 63 13 37B 3 50 63 25 25B 4 50 100 9 41B 5 50 100 13 37B 6 50 100 25 25B 7 75 94 13 62B 8 75 94 25 50B 9 75 94 38 37B 10 75 150 13 62B 11 75 150 19 56B 12 75 150 38 37B 13 100 125 17 83B 14 100 125 25 75B 15 100 125 50 50B 16 100 200 17 83B 17 100 200 25 75B 18 100 200 50 50C 1 500 625 5 495C 2 500 625 10 490C 3 500 625 83 417C 4 500 625 125 375C 5 500 625 250 250C 6 500 1000 5 495C 7 500 1000 10 490C 8 500 1000 83 417C 9 500 1000 125 375C 10 500 1000 250 250D 1 1000 1250 5 995D 2 1000 1250 10 990D 3 1000 1250 167 833D 4 1000 1250 250 750D 5 1000 1250 500 500

Table 1: Characteristics of the instances

19

Page 20: The Steiner Tree Problem with Delays: A Compact Formulation …poincare.unile.it/chefi/steiner.pdf · 2010. 3. 1. · The Steiner Tree Problem with Delays: A Compact Formulation and

0.5, we have set ∆ to ∆ := 1.5 ∗MP . With these choices, we have generatedtightly as well as loosely delay-constrained instances. Moreover, none of thegenerated instances is infeasible. We refer, for example, as “B Ran 0.1” tothe set of instances of the class B with delays that are not correlated with thecosts and with ∆ = 1.1 ∗MP . In so doing, we generated a testbed including132 STPD instances.

5.2. Comparison of the LP relaxations bounds

First, we present the results of a comparison of the following optimalvalues:

• vLP (STPDLMTZ + P ) : this value is obtained after performing a pre-processing and solving the LP relaxation of formulation STPDLMTZ ;

• vLP (STPDMTZ +P ) : this value is obtained after performing a prepro-cessing and solving the LP relaxation of formulation STPDMTZ ;

• vLP (STPDLMTZ) : this value is obtained after solving the LP relax-ation of formulation STPDLMTZ ;

• vLP (STPDMTZ) : this value is obtained after solving the LP relaxationof formulation STPDMTZ .

For each value vLP (.), we compute the percentage gap with respect to

the optimal integer solution (i.e., 100× v∗−vLP (.)vLP (.)

) (if v∗ is unknown then we

replace it with the value of the heuristic solution). In Table 2, we report foreach class of instances the values of the average gap (Gap) and maximumgap (Max Gap).

Looking at Table 2 we see that:

• The combination of the preprocessing procedure and the enhanced for-mulation STPDLMTZ consistently yields a reduced average gap for allproblem classes;

• The preprocessing positively impinges on the tightness of both formu-lations;

• Formulation STPDMTZ has a weak relaxation, since we see that forsome instances the gap is very large and reaches nearly 105%;

20

Page 21: The Steiner Tree Problem with Delays: A Compact Formulation …poincare.unile.it/chefi/steiner.pdf · 2010. 3. 1. · The Steiner Tree Problem with Delays: A Compact Formulation and

STPDLMTZ + P STPDMTZ + P STPDLMTZ STPDMTZ

Problem Gap Max Gap Gap Max Gap Gap Max Gap Gap Max Gap

B Ran 0.1 4.91 13.01 14.26 28.63 20.64 58.76 32.82 104.86B Ran 0.5 4.82 14.36 13.70 33.78 5.75 20.81 16.20 64.16B Cor 0.1 2.90 9.35 11.88 30.94 5.72 30.91 16.02 51.65B Cor 0.5 2.09 11.43 11.64 27.37 2.10 11.52 12.40 46.24C Ran 0.1 8.27 28.13 19.22 41.73 25.01 55.23 31.54 55.88C Ran 0.5 7.87 16.32 15.98 33.74 12.21 35.29 18.44 35.46C Cor 0.1 5.54 10.51 14.17 22.73 10.43 33.33 17.09 33.50C Cor 0.5 1.12 3.51 9.81 21.48 3.84 15.69 10.07 21.97D Ran 0.1 4.90 6.53 13.85 17.71 10.99 17.85 16.88 21.50D Ran 0.5 4.10 9.28 10.08 11.83 4.92 9.28 10.68 14.83D Cor 0.1 0.37 0.99 7.65 13.24 8.51 19.59 12.28 21.47D Cor 0.5 1.10 4.95 8.62 12.49 2.68 9.28 9.08 15.60

Table 2: Comparison of the LP relaxations bounds

• The average percentage gap is larger for tightly delay-constrained in-stances and for non-correlated delays.

In order to get a more accurate picture of the effectiveness of the proposedlifted constraints (13), we compare the performance of STPDLMTZ +P withthe performance of STPDLMTZ′ + P that is obtained by substituting (14)with

ti − tj + Mijyij + αjiyji ≤Mij − θij, ∀ (i, j) ∈ A. (14′)

These latter constraints correspond to the lifted MTZ constraints that havebeen proposed by Desrochers and Laporte ([25]). Table 3 displays a summaryof the results on class B (for the sake of brevity, similar results that wereobtained on classes C and D are omitted).

We see from this table that constraints (14) enable to produce tighter LPbounds than using constraints (14’). This attests the efficacy of the lifting(14) and, in particular the influence of the last two terms of the left-hand-sideof (14) in improving the gaps.

However, if no reduction procedure is performed on the instances, thenconstraints (14) have the same impact of constraints (14’) on the LP relax-ations.

Moreover, column OBJ reports the number of instances whose optimalvalue is different from the optimal value of the pure STP. Therefore, instances

21

Page 22: The Steiner Tree Problem with Delays: A Compact Formulation …poincare.unile.it/chefi/steiner.pdf · 2010. 3. 1. · The Steiner Tree Problem with Delays: A Compact Formulation and

STPDLMTZ + P STPDLMTZ′ + P

Problem Gap Max Gap Gap Max Gap OBJ

B Ran 0.1 4.91 13.01 8.83 20.69 18B Ran 0.2 7.08 17.86 7.87 19.18 17B Ran 0.3 6.07 13.56 6.99 22.55 16B Ran 0.4 6.11 14.82 6.55 15.89 14B Ran 0.5 4.82 14.36 5.77 14.85 13B Ran 1.0 2.72 11.07 2.74 11.39 4B Corr 0.1 2.90 9.35 4.04 17.14 15B Corr 0.2 3.21 19.39 3.34 20.95 12B Corr 0.3 2.80 14.45 7.08 17.14 8B Corr 0.4 2.20 12.47 2.20 12.47 7B Corr 0.5 2.09 11.43 2.61 12.85 7B Corr 1.0 1.12 6.67 1.12 6.67 0

Table 3: Comparison of the liftings

indicated with 0.1 (when ∆ = 1.1 ∗ MP ) can be considered highly delayconstrained while instances indicated with 0.5 can be considered weakly delayconstrained. When ∆ = 2 ∗MP , the delay constraints are redundant in allthe instances B Corr 1.0.

5.3. Performance of the STPDLMTZ formulation and the reduction proce-dure

In this section, we present the results that we have obtained after com-bining the proposed reduction procedure with formulation STPDLMTZ forsolving the set of 132 instances using a general-purpose MIP solver. Theresults are reported in Table 4. For each problem class, we report:

• T1 : mean CPU time for solving the MIP formulations (computed overall the solved instances);

• T2 : mean CPU time of the heuristic H2 (computed over all theinstances);

• TT : mean total CPU time (computed over all the solved instancesand including the time for the preprocessing procedures);

• US : number of unsolved instances.

22

Page 23: The Steiner Tree Problem with Delays: A Compact Formulation …poincare.unile.it/chefi/steiner.pdf · 2010. 3. 1. · The Steiner Tree Problem with Delays: A Compact Formulation and

H2 STPDLMTZ + P

Problem T2 T1 TT US

B Ran 0.1 1.35 0.16 1.51 0B Ran 0.5 1.19 0.62 1.81 0B Cor 0.1 1.11 0.19 1.30 0B Cor 0.5 1.04 0.26 1.29 0C Ran 0.1 217.23 174.26 332.57 1C Ran 0.5 193.29 76.35 181.76 3C Cor 0.1 184.89 166.37 284.74 2C Cor 0.5 170.66 92.24 262.89 0D Ran 0.1 1272.24 12.06 424.54 2D Ran 0.5 1125.44 21.84 376.95 2D Cor 0.1 1162.99 288.71 1451.70 0D Cor 0.5 1039.67 96.03 1135.70 0

Table 4: Mean CPU times (in sec.)

We see from Table 4, that the proposed approach LMTZ + P is veryeffective since 92% of the instances (122 out of 132) are solved to optimalitywithin the specified time limit. The non-correlated problems require in gen-eral longer CPU times since the quality of the corresponding LP relaxationbounds is, generally, worse than those of the correlated instances. Actually,this remarkable performance has been made possible by the combination ofthe preprocessing and the lifted formulation. Indeed, we have investigatedthe effectiveness of the following alternative solution strategies:

• MTZ + P : we perform the preprocessing, and then, we solve formula-tion MTZ,

• LMTZ : we solve formulation LMTZ without performing any prepro-cessing.

We have used these two solution strategies for solving the ten instances ofthe subclass C 0.1 Ran. We have chosen this class because of the significanceof the resulting data reported in Table 5. We see that LMTZ and MTZ +Pexhibit a very poor performance since they failed to solve 8 and 6 instancesof the class C 0.1 Ran, respectively. By contrast, LMTZ + P failed to solvejust one instance within the same subclass.

23

Page 24: The Steiner Tree Problem with Delays: A Compact Formulation …poincare.unile.it/chefi/steiner.pdf · 2010. 3. 1. · The Steiner Tree Problem with Delays: A Compact Formulation and

STPDLMTZ + P STPDMTZ + P STPDLMTZ

Problem TT TT TT

C 0.1 Ran 01 5.70 5.67 80.68C 0.1 Ran 02 12.41 13.44 918.70C 0.1 Ran 03 310.37 US USC 0.1 Ran 04 241.64 US USC 0.1 Ran 05 443.44 US USC 0.1 Ran 06 11.22 11.19 USC 0.1 Ran 07 28.01 28.72 USC 0.1 Ran 08 308.63 US USC 0.1 Ran 09 1631.72 US USC 0.1 Ran 10 US US US

Table 5: Comparison of the CPU times required by the alternative solution strate-gies

5.4. Effectiveness of the reduction procedures

In Table 7, we present the mean percentage of reduction of the numberof nodes, terminal nodes and arcs performed using first only the degree-delay based preprocessing (DP ) and, then, using the entire preprocessingprocedure presented in Section 5. If n is the original number of nodes andn′ the number of nodes in the reduced problem, in column %n we reportthe mean of the values 100 ∗ (n − n′)/n over all the instances belongingto the same class of problems. Similarly, we indicate by %m and %a thepercentages of reduction of terminal nodes and of arcs respectively. We seethat the implemented reduction procedures perform extremely well on thesesparse graphs and that, for all the classes, the problem sizes are significantlyreduced.

5.5. Performance of STPDLMTZ + P on complete graphs

For sake of completeness, we have solved additional STPD instances thatare random and Euclidean complete graphs. For the random graphs, thecosts are randomly drawn from the uniform distribution on [1, 100]. TheEuclidean instances are derived from the benchmark STP instance Berlin52and Brazil58 of Steinlib. These latter instances have 52 nodes and 16 ter-minals, and 58 nodes and 25 terminals, respectively. We have generated 5different instances for each problem type, and we have created the delays asdescribed in Section 5.1.

24

Page 25: The Steiner Tree Problem with Delays: A Compact Formulation …poincare.unile.it/chefi/steiner.pdf · 2010. 3. 1. · The Steiner Tree Problem with Delays: A Compact Formulation and

DP Preprocessing

Problem %n %m %a %n %m %a

B Ran 0.1 45.85 9.91 49.97 51.85 16.19 56.47B Ran 0.5 36.67 7.82 30.24 45.41 13.34 43.08B Cor 0.1 46.37 9.48 47.67 54.96 20.34 57.68B Cor 0.5 37.38 7.82 31.75 52.30 16.59 51.94

C Ran 0.1 61.94 7.60 59.51 62.92 11.61 60.15C Ran 0.5 51.32 6.16 45.06 57.58 6.16 51.98C Cor 0.1 60.08 6.33 56.00 60.48 6.33 56.54C Cor 0.5 51.94 6.16 45.49 60.88 7.16 54.90

Table 6: Effectiveness of the reduction procedures

Problem STPDLMTZ + P

|V | |R| |E| ǫ corr n% m% a% Gap T1 US

40 5 780 0.1 No 83.50 20.00 99.31 3.84 0.00 040 5 780 0.5 No 47.00 4.00 94.74 29.05 0.04 040 5 780 0.1 Yes 84.00 8.00 99.27 1.10 0.00 040 5 780 0.5 Yes 76.00 8.00 98.29 6.99 0.00 040 20 780 0.1 No 24.00 8.00 92.10 9.66 0.12 040 20 780 0.5 No 3.00 1.00 81.73 16.91 0.55 040 20 780 0.1 Yes 38.50 16.00 94.37 3.37 0.12 040 20 780 0.5 Yes 33.00 14.00 93.35 2.35 0.17 040 40 780 0.1 No 2.00 2.00 87.91 11.91 0.14 040 40 780 0.5 No 0.00 0.00 79.51 19.28 1.55 040 40 780 0.1 Yes 22.00 22.00 91.31 5.09 0.16 040 40 780 0.5 Yes 16.00 16.00 89.94 3.18 0.19 050 5 1225 0.1 No 84.80 4.00 99.45 3.46 0.00 050 5 1225 0.5 No 69.20 8.00 98.00 13.56 0.04 050 5 1225 0.1 Yes 85.60 8.00 99.41 1.33 0.00 050 5 1225 0.5 Yes 86.40 8.00 99.44 0.32 0.00 050 25 1225 0.1 No 20.80 1.60 93.84 13.64 0.09 050 25 1225 0.5 No 5.60 0.00 87.86 28.18 2.39 050 25 1225 0.1 Yes 28.40 4.80 95.15 8.27 0.05 050 25 1225 0.5 Yes 28.40 7.20 94.20 3.49 0.08 050 50 1225 0.1 No 3.20 3.20 88.35 13.54 0.74 050 50 1225 0.5 No 0.00 0.00 80.99 25.39 90.80 050 50 1225 0.1 Yes 14.40 14.40 93.27 3.23 0.08 050 50 1225 0.5 Yes 8.40 8.40 90.94 1.67 0.15 0

Table 7: Mean reduction percentage, Gap and CPU times (in sec.) for randomlygenerated instances

25

Page 26: The Steiner Tree Problem with Delays: A Compact Formulation …poincare.unile.it/chefi/steiner.pdf · 2010. 3. 1. · The Steiner Tree Problem with Delays: A Compact Formulation and

For Berlin52 and Brazil58 with delays correlated with the costs, the delaysrange from 3 to 560 and from 100 to 7800, respectively, while ∆ ranges from158 to 242, and from 3500 to 5751, respectively. The results are displayed inTables 8 and 9.

Looking at these tables, we see that the percentage of arc reduction thatis achieved on these dense graphs is very important. We observe that smallpercentage of nodes reduction implies a deterioration of the gaps. All theinstances Berlin52 have been optimally solved, even though longer CPU timesare required to solve test problems where the delays are correlated with thecosts. This behavior is illustrated by instance Brazil58. If the delays are non-correlated with the costs all the generated instances of Brazil58 have beensolved to the optimality within at most 5 seconds, while if the delays arecorrelated with the costs none of the generated instances has not be solvedwithin one hour of CPU time.

Problem STPDLMTZ + P

n% m% a% Gap T1 US

Berlin52 Ran 0.1 26.15 0.00 94.34 5.06 0.05 0Berlin52 Ran 0.5 11.54 0.00 89.04 7.87 0.32 0Berlin52 Cor 0.1 8.08 0.00 67.35 16.02 83.43 0Berlin52 Cor 0.5 2.69 0.00 47.69 21.69 814.78 0

Brazil58 Ran 0.1 12.07 0.80 92.63 11.06 0.49Brazil58 Ran 0.5 2.41 0.00 85.81 20.38 4.72Brazil58 Cor 0.1 1.03 2.40 36.28 - - 5Brazil58 Cor 0.5 0.00 0.00 19.27 - - 5

Table 8: Mean reduction percentage, Gap and CPU times (in sec.) for Berlin52

5.6. Comparison of STPDLMTZ with a Multicommodity Flow based formu-lation

Finally, we compare our formulation with an alternative polynomial-sizedformulation which is a straightforward extension of the so-called Multicom-modity Flow Formulation which is known to exhibit a tight LP relaxationfor the STP. This formulation is:

26

Page 27: The Steiner Tree Problem with Delays: A Compact Formulation …poincare.unile.it/chefi/steiner.pdf · 2010. 3. 1. · The Steiner Tree Problem with Delays: A Compact Formulation and

(STPDMCF ) : Minimize∑

(i,j)∈A

cijyij (22)

subject to:

(i,1)∈A

xki1 −

(1,i)∈A

xk1i = −1, ∀ k ∈ R∗, (23)

(i,j)∈A

xkij −

(j,i)∈A

xkji = 0, ∀ k ∈ R∗, j ∈ V \ {1, k}, (24)

(i,k)∈A

xkik −

(k,i)∈A

xkki = 1, ∀ k ∈ R∗, (25)

0 ≤ xkij ≤ yij, ∀ k ∈ R∗, (i, j) ∈ A, (26)

(i,j)∈A

θij xkij ≤ ∆, ∀ k ∈ R∗, (27)

yij ∈ {0, 1}, ∀ (i, j) ∈ A, (28)

where, for each terminal node k ∈ R∗ and arc (i, j) ∈ A, the variablexk

ij represents the quantity of commodity k flowing through the arc (i, j).Constraints (23), (24) and (25) are the flow conservation constraints thatguarantee that there is a flow of one unit outgoing from the source and in-coming in each node of R∗. Constraints (26) enforce that, for each commodityk ∈ R∗, the flow in the arc (i, j) ∈ A is bounded by yij and finally, (27) arethe delay constraints.

In Table 10, we report the gaps and the CPU times for STPDLMTZ + Pand for STPDMCF + P over 20 instances of Class C with correlated delays.In this table, the symbol “∗” means that the LP relaxation of STPDMCF +Phas not been solved within one hour of CPU time and the symbol “−” meansthat a proven optimal integer solution has not been obtained.

We see from Table 10 that STPDMCF +P provides, in all the cases, gapswhich are smaller than those provided by STPDLMTZ + P . Interestingly,we observe that, despite the fact that STPDMCF + P exhibits a tight LPrelaxation, it fails to solve 10 of the 20 instances. By contrast, STPDLMTZ +P fails to solve only 2 over 20 instances. Moreover, when an instance issolved by both formulations, STPDLMTZ + P requires significantly shorterCPU time than STPDMCF + P does.

27

Page 28: The Steiner Tree Problem with Delays: A Compact Formulation …poincare.unile.it/chefi/steiner.pdf · 2010. 3. 1. · The Steiner Tree Problem with Delays: A Compact Formulation and

STPDLMTZ + P STPDMCF + P

Problem Gap T Gap T

C 0.1 Cor 01 7.69 0.04 1.30 0.02

C 0.1 Cor 02 2.69 0.13 1.19 0.12

C 0.1 Cor 03 3.97 11.26 1.99 > 3600C 0.1 Cor 04 1.79 24.98 1.44 > 3600C 0.1 Cor 05 1.03 45.59 0.68 > 3600C 0.1 Cor 06 10.44 0.02 0.90 0.03C 0.1 Cor 07 4.05 0.26 4.38 1.07C 0.1 Cor 08 3.10 1248.71 * > 3600C 0.1 Cor 09 - > 3600 * > 3600C 0.1 Cor 10 - > 3600 * > 3600

C 0.5 Cor 01 0.79 0.20 0.00 0.20

C 0.5 Cor 02 2.27 0.68 0.00 0.63

C 0.5 Cor 03 1.74 27.88 0.11 336.77C 0.5 Cor 04 0.46 31.66 0.31 > 3600C 0.5 Cor 05 0.57 23.31 0.13 > 3600C 0.5 Cor 06 3.51 0.21 0.00 0.22C 0.5 Cor 07 0.00 1.19 0.00 2.27C 0.5 Cor 08 0.39 13.93 0.06 2116.19C 0.5 Cor 09 0.96 480.62 * > 3600C 0.5 Cor 10 0.50 342.67 * > 3600

Table 9: Comparison of STPDLMTZ + P and STPDMCF + P

28

Page 29: The Steiner Tree Problem with Delays: A Compact Formulation …poincare.unile.it/chefi/steiner.pdf · 2010. 3. 1. · The Steiner Tree Problem with Delays: A Compact Formulation and

6. Conclusions

In this paper we have investigated a tightened compact formulation forthe Steiner Tree Problem with Delays. The proposed formulation is based ona new lifted Miller-Tucker-Zemlin subtour elimination constraint. Further-more, we have described several tailored preprocessing techniques for bothreducing the problem size and tightening the LP relaxation.

The relevance of our research stems from the well-known fact that theclassical MTZ subtour elimination constraints consistently yield the weakestLP relaxation of all proposed formulations. Consequently, even though theMTZ constraints-based formulations are both elegant and compact, they areoften disregarded because of their hopeless ineffectiveness. Hence, an excit-ing challenging issue is to develop new enhanced variants of the MTZ con-straints that prove useful for solving instances of practical size. Our primarycontribution is to demonstrate the efficacy of the combination of the new en-hanced MTZ constraints and reduction techniques. Indeed, we have reportedthe results of comprehensive computational experiments that provide strongevidence that the proposed compact formulation-based approach can con-sistently solve medium to large-scale STPD instances to optimality. Theseresults were obtained on a large set of STPD instances that includes bothsparse and dense graphs as well as weakly and tightly constrained instances.To the best of our knowledge, this is the first significant contribution withregard to the optimal solution of nontrivial instances of an NP-hard problemusing MTZ constraints-type constraints.

Considering the computational benefits of deriving tightened compact for-mulations, it is of interest to investigate the application of the Reformulation-Linearization Technique (RLT) to the STPD (and to similar tree optimizationproblems as well). This technique is a generic strategy for constructing tightpolyhedral relaxations of the feasible set of 0-1 mixed integer linear programs([37], [38], [39]). During the last few years, it has been successfully appliedto derive tightened compact formulations for the asymmetric traveling sales-man (see [40] and [41]). Research into this exciting direction is recommendedfor future studies. Nevertheless, the study of computationally effective com-pact formulations is still in its infancy, and one could reasonably expectthat tailored state-of-the-art exact approaches (that often require significantanalysis and design efforts) would prove very useful to solve very large scaleSTPD instances. Thus, a second issue worthy of future investigation, is thestudy of the facial structure of the STPD. We expect that the description of

29

Page 30: The Steiner Tree Problem with Delays: A Compact Formulation …poincare.unile.it/chefi/steiner.pdf · 2010. 3. 1. · The Steiner Tree Problem with Delays: A Compact Formulation and

facets together with strong valid inequalities would be useful to tighten themodel representation. This would lead to the development of an effectivebranch-and-cut algorithm.

References

[1] D. Z. Du, B. Lu, H. Ngo, P. M. Pardalos, Steiner Tree Problems, in:C. A. Floudas, P. M. Pardalos (Eds.), Encyclopedia of Optimization,Second Edition, Springer, 2009, pp. 3723–3736.

[2] F. K. Hwang, D. S. Richards, Steiner tree problems, Networks 22 (1)(1992) 55–89.

[3] E. Althaus, T. Polzin, S. V. Daneshmand, Improving linear program-ming approaches for the Steiner tree problem, in: Experimental and ef-ficient algorithms, Vol. 2647 of Lecture Notes in Comput. Sci., Springer,Berlin, 2003, pp. 1–14.

[4] T. Koch, A. Martin, Solving Steiner tree problems in graphs to optimal-ity, Networks 32 (3) (1998) 207–232.

[5] T. Polzin, S. V. Daneshmand, A comparison of Steiner tree relax-ations, Discrete Applied Mathematics. The Journal of CombinatorialAlgorithms, Informatics and Computational Sciences 112 (1-3) (2001)241–261.

[6] A. M. Costa, J.-F. Cordeau, G. Laporte, Fast heuristics for the Steinertree problem with revenues, budget and hop constraints, European Jour-nal of Operational Research 190 (1) (2008) 68–78.

[7] A. M. Costa, J.-F. Cordeau, G. Laporte, Models and branch-and-cutalgorithms for the Steiner tree problem with revenues, budget and hopconstraints, Networks 53 (2) (2009) 141–159.

[8] V. P. Kompella, J. Pasquale, G. C. Polyzos, Multicast routing for mul-timedia communication, IEEE/ACM Transactions on Networking 1 (3)(1993) 286–292.

[9] C. A. S. Oliveira, P. M. Pardalos, A survey of combinatorial optimizationproblems in multicast routing, Computers & Operations Research 32 (8)(2005) 1953–1981.

30

Page 31: The Steiner Tree Problem with Delays: A Compact Formulation …poincare.unile.it/chefi/steiner.pdf · 2010. 3. 1. · The Steiner Tree Problem with Delays: A Compact Formulation and

[10] R. Sriram, G. Manimaran, C. S. R. Murthy, Algorithms for delay-constrained low-cost multicast tree construction, Computer Communi-cations 21 (18) (1998) 1693–1706.

[11] Q. Zhu, M. Parsa, J. J. Garcia-Luna-Aceves, A source-based algorithmfor delay-constrained minimum-cost multicasting, in: INFOCOM ’95:Proceedings of the Fourteenth Annual Joint Conference of the IEEEComputer and Communication Societies, Washington, DC, USA, 1995,pp. 377–385.

[12] C. A. Noronha, F. A. Tobagi, Optimum routing of multicast streams,in: INFOCOM, 1994, pp. 865–873.

[13] N. Ghaboosi, A. T. Haghighat, Tabu search based algorithms forbandwidth-delay-constrained least-cost multicast routing., Telecommu-nication Systems 34 (3-4) (2007) 147–166.

[14] A. Ghanwani, Neural and delay based heuristics for the Steiner problemin networks, European Journal of Operational Research 108 (2) (1998)241–265.

[15] Z. Kun, W. Heng, F. Y. Liu, Distributed multicast routing for delay anddelay variation-bounded steiner tree using simulated annealing, Com-puter Communications 28 (11) (2005) 1356–1370.

[16] S. Guo, O. W. W. Yang, QoS-aware minimum energy multicast treeconstruction in wireless ad hoc networks, Ad Hoc Networks 2 (3) (2004)217–229.

[17] X. Jia, D. Li, D.-Z. Du, QoS topology control in Ad Hoc wireless net-works, in: INFOCOM, 2004.

[18] L. Gouveia, Using the Miller-Tucker-Zemlin constraints to formulatea minimal spanning tree problem with Hop constraints, Computers &Operations Research 22 (9) (1995) 959–970.

[19] L. Gouveia, A. Paias, D. Sharma, Modeling and solving the rooteddistance-constrained minimum spanning tree problem, Computers &Operations Research 35 (2) (2008) 600–613.

31

Page 32: The Steiner Tree Problem with Delays: A Compact Formulation …poincare.unile.it/chefi/steiner.pdf · 2010. 3. 1. · The Steiner Tree Problem with Delays: A Compact Formulation and

[20] V. Leggieri, Multicast problems in telecommunication networks, Ph.D.thesis, Universita del Salento, Italy (2007).

[21] J. E. Beasley, An SST-based algorithm for the Steiner problem in graphs,Networks 19 (1) (1989) 1–16.

[22] B. N. Khoury, P. M. Pardalos, An exact branch and bound algorithmfor the Steiner problem in graphs, in: Computing and combinatorics,Lecture Notes in Comput. Sci., Springer, Berlin, 1995, pp. 582–590.

[23] B. N. Khoury, P. M. Pardalos, D.-Z. Du, A test problem generatorfor the steiner problem in graphs, ACM Transactions on MathematicalSoftware 19 (4) (1993) 509–522.

[24] C. E. Miller, A. W. Tucker, R. A. Zemlin, Integer programming for-mulation of traveling salesman problems, Journal of the Association forComputing Machinery 7 (4) (1960) 326–329.

[25] M. Desrochers, G. Laporte, Improvements and extensions to the Miller-Tucker-Zemlin subtour elimination constraints, Operations ResearchLetters 10 (1) (1991) 27–36.

[26] A. Balakrishnan, N. R. Patel, Problem reduction methods and a treegeneration algorithm for the Steiner network problem, Networks 17 (1)(1987) 65–85.

[27] S. Chopra, E. Gorres, M. R. Rao, Solving the Steiner tree problem on agraph using branch and cut, ORSA Journal on Computing 4 (3) (1992)320–335.

[28] E. Uchoa, M. Poggi de Aragao, C. C. Ribeiro, Preprocessing Steinerproblems from VLSI layout, Networks 40 (1) (2002) 38–50.

[29] G. L. Nemhauser, L. A. Wolsey, Integer and combinatorial optimization,Wiley-Interscience Series in Discrete Mathematics and Optimization,John Wiley & Sons Inc., New York, 1988.

[30] H. Takahashi, A. Matsuyama, An approximate solution for the Steinerproblem in graphs, Mathematica Japonica 24 (6) (1979/80) 573–577.

32

Page 33: The Steiner Tree Problem with Delays: A Compact Formulation …poincare.unile.it/chefi/steiner.pdf · 2010. 3. 1. · The Steiner Tree Problem with Delays: A Compact Formulation and

[31] M. R. Garey, D. S. Johnson, Computers and intractability. A guide tothe theory of NP-completeness, A Series of Books in the MathematicalSciences, W. H. Freeman and Co., San Francisco, Calif., 1979.

[32] H. C. Joksch, The shortest route problem with constraints, Journal ofMathematical Analysis and Applications 14 (1966) 191–197.

[33] G. Y. Handler, I. Zang, A dual algorithm for the constrained shortestpath problem, Networks 10 (4) (1980) 293–309.

[34] M. Minoux, Plus court chemin avec contraintes: algorithmes et applica-tions, Annales des telecommunications 30 (1975) 383–394.

[35] E. L. Lawler, Combinatorial optimization: networks and matroids, Holt,Rinehart and Winston, New York, 1976.

[36] T. Koch, A. Martin, S. Voβ, SteinLib, http : //elib.zib.de/steinlib.

[37] H. D. Sherali, W. P. Adams, A Hierarchy of relaxations between thecontinuous and convex hull representations for zero-one programmingproblems, SIAM Journal on Discrete Mathematics, Vol. 3, No. 3, pp.411-430, 1990.

[38] H. D. Sherali, W. P. Adams, A Hierarchy of relaxations and convexhull characterizations for mixed-integer zero-one programming prob-lems, Discrete Applied Mathematics, Vol. 52, pp. 83-106, 1994.

[39] H. D. Sherali, W. P. Adams, A Reformulation-Linearization Technique(RLT) for solving discrete and continuous nonconvex programming prob-lems, Mathematics Today, Special Issue on Recent Advances in Mathe-matical Programming, ed. O. Gupta, Vol. XII-A, pp. 61-78, 1994.-

[40] H. D. Sherali, P. J. Driscoll, On Tightening the relaxations of Miller-Tucker-Zemlin formulations for asymmetric traveling salesman prob-lems, Operations Research, Vol. 50, No. 4, pp. 656-669, 2002.

[41] H. D. Sherali, S. C. Sarin, P. F. Tsai, A Class of lifted path and flow-based formulations for the asymmetric traveling salesman problem withand without precedence constraints, Discrete Optimization, Vol. 3, pp.20-32, 2006.

33