scieee AI-readable full text Open interactive document viewer

A New Branch-and-Cut Algorithm for the Generalized Directed Rural Postman Problem

Ávila, Thais,Corberán, Ángel,Plana, Isaac,Sanchís Llopis, José María

Abstract

The generalized directed rural postman problem, also known as the close-enough arc routing problem, is an arc routing problem with some interesting real-life applications, such as routing for meter reading. In this article we introduce two new formulations for this problem as well as various families of new valid inequalities that are used to design and implement a branch-and-cut algorithm. The computational results obtained on test bed instances from the literature show that this algorithm outperforms the existing exact methods

Full text

A new branch-and-cut algorithm for the Generalized Directed Rural Postman Problem Thais ´ Avila, ´ Angel Corber´an Dept. d’Estad´ıstica i Investigaci´o Operativa, Universitat de Val`encia, Spain Isaac Plana Dept. de Matem´aticas para la Econom´ıa y la Empresa, Universitat de Val`encia, Spain Jos´e M. Sanchis Dept. de Matem´atica Aplicada, Universidad Polit´ecnica de Valencia, Spain Abstract The Generalized Directed Rural Postman Problem, also known as the Close-Enough Arc Routing Problem, is an arc routing problem with some interesting real-life applications, such as routing for meter reading. In this article we introduce two new formulations for this problem as well as various families of new valid inequalities that are used to design and implement a branch-and-cut algorithm. The computational results obtained on test bed instances from the literature show that this algorithm outperforms the existing exact methods. Keywords: Generalized Rural Postman Problem, Close-Enough Arc Routing Problem, branch-and-cut. 1 Introduction Let G= (V, A) be a directed graph with set of vertices Vand set of arcs A, and let cij ≥0 be the cost associated with the traversal of arc (i, j)∈A. Given a family of arc subsets H= {H1, . . . , HL}, the Generalized Directed Rural Postman Problem (GDRPP) consists of finding a minimum cost tour starting and ending at the depot and traversing at least one arc from each subset Hm,m= 1, . . . , L. These subsets Hmdo not need to be disjoint nor induce connected subgraphs. This problem, without considering the presence of a depot, was introduced by Drexl in his doctoral thesis [7]. He noted that when each set Hmconsists of a single arc, the GDRPP reduces to the well known Directed Rural Postman Problem (DRPP) and therefore the GDRPP is NP- hard. He proposed a formulation and a branch-and-cut algorithm producing good computational results. A more recent version of his work was published in [8]. However, it was Shuttleworth et al. [11] who presented this problem in the context of constructing routes for meter reading, calling it the Close-Enough Traveling Salesman Problem. In this application, a vehicle with a receiver travels through a series of neighborhoods. If the vehicle gets closer than a certain distance to a meter (customer), the receiver is able to record the gas, water, or electricity consumption. Therefore, the vehicle does not need to traverse every street, but only a few, in order to get close enough to each meter. The set of streets from which a certain meter mcan be read defines the set Hm. In their work, Shuttleworth et al. proposed four heuristics to solve eight real-life instances with an average of 900 customers and 9000 streets each. The procedures have essentially two phases: first a subset of streets to be traversed is 1 selected, and then a route starting and ending at the depot and traversing all these streets is found. The first phase is obviously related to the resolution of a Set Covering Problem (SCP), while the second consists of solving a Directed Rural Postman Problem (DRPP) (or a Directed General Routing Problem if the depot is not incident with a selected street). Note that in most arc routing problems each customer must be serviced from exactly one street, and thus the goal is to find a route traversing all the streets in a given set. However, in the GDRPP each customer can be serviced from one or more streets, so the vehicle only needs to traverse one of them (see Figure 1). The streets (arcs) from which a customer can be serviced form the set Hmand the goal is to find a minimum cost tour traversing at least one arc from each Hm. Figure 1: Remote reading of meters More recently, H`a et al. [10] studied this problem, which they called the Close-Enough Arc Routing Problem, and proposed a new formulation, which they compared with a previous one introduced by the same authors [9] and the one by Drexl [7, 8]. Moreover, they proposed a branch-and-cut algorithm providing very good computational results on large-size instances. In this work, we present two new mathematical formulations for the GDRPP and study the polyhedron of solutions associated with one of them. We also describe several new families of valid inequalities that are used in a new branch-and-cut algorithm. Finally, we compare the performance of our algorithm with that of the branch-and-cut by H`a et al. [10]. From the results obtained, we can conclude that our algorithm is, to our knowledge, the best existing exact method of solving this problem. 2 Problem formulation We will denote by AR=H1∪H2∪· · ·∪HL(the set of arcs from which at least one customer can be serviced) and ANR =A\AR. Given a subset of vertices S⊂V, we define δ+(S) = {(i, j)∈ A:i∈S, j ∈V\S},δ−(S) = {(i, j)∈A:i∈V\S, j ∈S},δ(S) = δ+(S)∪δ−(S), A(S) = {(i, j)∈A:i, j ∈S}, and AR(S) = {(i, j)∈AR:i, j ∈S}. As usual, we will use δ+(i) instead of δ+({i}). A closed walk starting and ending at the depot (vertex 1) and traversing at least one arc 2 in each Hmis called a GDRPP solution. In order to formulate the problem, we represent a GDRPP solution using two sets of variables: •For each arc (i, j)∈A, let xij be the number of times arc (i, j) is traversed. •For each arc (i, j)∈AR, let yij be equal to 1 if at least one customer is serviced from this arc, and 0 otherwise. Although the problem can be formulated using only xij variables (see Section 4), yij variables are useful to express some valid inequalities and design the corresponding separation algorithms. The GDRPP can then be formulated as follows: Minimize X (i,j)∈A cijxij (1) s.t.: x(δ+(i)) −x(δ−(i)) = 0,∀i∈V(2) x(δ+(S)) ≥1,∀S⊆V\ {1}:∃Hm⊆A(S)∪δ(S) (3) x(δ+(S)) ≥yij,∀S⊂V\ {1}:@Hm⊆A(S)∪δ(S),∀(i, j)∈AR(S) (4) X (i,j)∈Hm yij ≥1,∀Hm∈H(5) xij ≥yij,∀(i, j)∈AR(6) xij ≥0,∀(i, j)∈ANR (7) 0≤yij ≤1,∀(i, j)∈AR(8) xij integer, ∀(i, j)∈A(9) yij integer, ∀(i, j)∈AR(10) Constraints (2) are the symmetry equations. Connectivity inequalities (3) and (4) guarantee that the optimal solution will be connected and connected to the depot. Service inequalities (5) guarantee that all the customers are serviced, while constraints (6) state that if a customer is serviced from an arc, this arc must be traversed. Constraints (7) to (10) are the nonnegativity and integrality inequalities. We will call any vector (x, y)∈R|A|+|AR|satisfying (2) to (10) a GDRPP tour, or tour for short. Any GDRPP solution is a GDRPP tour, but given that this formulation allows the existence of subtours that are disconnected from the depot and do not service any customer, not all GDRPP tours are GDRPP solutions. Nevertheless, since all the costs cij are non-negative, there will always be an optimal GDRPP tour not containing such subtours. As mentioned in the introduction, the GDRPP can be considered a combination of two optimization problems, the Set Covering Problem (SCP) and the Directed General Routing Problem (DGRP): •Given a set E={e1, . . . , en}, a cost cj≥0 associated with each element ej∈E, and a family S={S1, . . . , SL}of subsets of E, the SCP consists of finding a minimum cost subset E0⊆Econtaining at least one element ejfrom each subset Si. •Given a directed graph G= (V, A), with a cost cij associated with each arc aij ∈A, and given two subsets AR⊆A,VR⊆Vof required arcs and required vertices, respectively, the DGRP consists of finding a tour in Gwith minimum cost traversing each required arc and visiting each required vertex at least once. 3 Let us explain the relationship of the GDRPP with these two problems. Consider a tour for the GDRPP in graph G= (V, A), (x, y)∈R|A|+|AR|, and let A0be the set of arcs (i, j)∈AR such that yij = 1. A0therefore defines a feasible solution for the SCP defined on the set E=AR and the family of subsets S=H={H1, . . . , HL}. Moreover, the vector xrepresents a feasible solution for the DGRP in graph Gconsidering A0as required arcs and the depot as a required vertex. Conversely, we can find a tour (x, y) for the GDRPP in Gby proceeding in two phases. First, we look for a feasible solution A0for the SCP defined by E=ARand S=H, and we define yij = 1 for each arc (i, j)∈A0. Then, from the SCP solution, we look for a feasible solution xfor the DGRP defined in the graph Gconsidering A0as the set of required arcs and the depot as the only required vertex. Obviously, even if both phases are solved optimally, the tour obtained for the GDRPP is not necessarily optimal. Note that we can also build a tour for the GDRPP, (x, y), by taking a tour xfor the DGRP defined in the graph Gusing all the arcs in H1∪ · · · ∪ HLas required arcs and the depot as the only required vertex, and a solution yfor the SCP defined with E=H1∪ · · · ∪ HLand S=H. This kind of tour will be used in some of the proofs presented in this paper. 3 The GDRPP polyhedron Let us define GDRPP(G) as the convex hull of all the tours for the GDRPP in G, i.e. GDRPP(G) = Conv(x, y)∈R|A|+|AR|: (x, y) is a GDRPP tour. It is not difficult to see that GDRPP(G) is an unbounded polyhedron. 3.1 Basic properties Theorem 1 If G is strongly connected, dim(GDRPP(G))=|A|+|AR| − |V|+ 1 if and only if |Hm| ≥ 2∀Hm∈H. Proof: Since exactly |V| − 1 of the |V|symmetry equations (2) are linearly independent, dim(GDRPP(G))≤ |A|+|AR| − |V|+ 1. If there is a set containing a single arc, Hm={(i, j)}, then yij = 1 holds and dim(GDRPP(G))<|A|+|AR| − |V|+ 1. Conversely, let us suppose that |Hc| ≥ 2∀Hm∈H. Consider the DGRP on Gwith all the arcs in ARas required arcs and the depot as a required vertex. Since Gis strongly connected, dim(DGRP(G))=|A| − |V|+ 1 (see [1]), and there are k+ 1 affinely independent DGRP tours x1, x2, . . . , xk+1, where k=|A| − |V|+ 1. Note that these tours traverse all the arcs in ARand visit the depot, and therefore they can be completed with vectors yto define GDRPP tours (x, y). Let us consider now the SCP with set ARand the family Hof subsets. Given that |Hm| ≥ 2, the dimension of the corresponding SCP polyhedron is |AR|(see Balas and Ng [2]), and there are m+ 1 affinely independent SCP solutions y1, y2, . . . , ym+1, with m=|AR|. Then (x1, y1), . . . , (xk+1, y1),(x1, y2), . . . , (x1, ym+1) are k+ 1 + maffinely independent GDRPP tours and dim(GDRPP(G))≥k+m=|A|+|AR| − |V|+ 1.  In what follows, we will assume that |Hm| ≥ 2 for all Hm∈Hand hence dim(GDRPP(G))= |A|+|AR| − |V|+ 1. 4 Now we will prove that, under certain conditions, some of the inequalities in the GDRPP formulation induce facets of the GDRPP polyhedron. Theorem 2 Let (i, j)∈ANR. If G\{(i, j)}is strongly connected, then inequality xij ≥0induces a facet of GDRPP(G). Proof: Consider graph G\ {(i, j)}. Since (i, j)∈ANR,|Hm| ≥ 2 still holds for every Hm∈H, and we can find x1, . . . , xk+1 affinely independent tours for the GDRPP defined on G\ {(i, j)}, where k+ 1 = (|A| − 1 + |AR| − |V|+ 1) + 1 = |A|+|AR| − |V|+ 1 = dim(GDRPP(G)). These tours are also tours for the GDRPP defined on Gand satisfy xij = 0. Therefore xij ≥0 induces a facet of GDRPP(G).  Theorem 3 Trivial inequalities yij ≤1,(i, j)∈AR, are facet-inducing for GDRPP(G). Proof: It is well-known that inequality yij ≤1 is facet-inducing for the SCP polyhedron (see Balas and Ng [2]). Therefore, there are maffinely independent solutions y1, . . . , ym,m=|AR|, satisfying yij = 1. Let us consider the DGRP defined on graph Gwhere all the arcs in ARare taken as required arcs and the depot is a required vertex. Since Gis strongly connected, dim(DGRP(G))=|A| − |V|+ 1 = kand there are k+ 1 affinely independent DGRP tours in G,x1, x2, . . . , xk+1. Merging vectors xand y, we obtain k+ 1 + m−1 = |A| − |V|+ 1 + |AR|GDRPP tours, (x1, y1), . . . , (xk+1, y1),(x1, y2), . . . , (x1, ym), satisfying yij = 1. Hence inequality yij ≤1 is facet-inducing for GDRPP(G).  Theorem 4 Trivial inequalities yij ≥0,(i, j)∈AR, are facet-inducing for GDRPP(G) if |Hm| ≥ 3, for all Hm∈Hsuch that (i, j)∈Hm. Proof: The proof is similar to that of Theorem 3.  Theorem 5 Let (i, j)∈AR. If G\ {(i, j)}is strongly connected and |Hm| ≥ 3, for all Hm∈H such that (i, j)∈Hm, inequalities xij ≥yij are facet-inducing for GDRPP(G). Proof: Since G\{(i, j)}is strongly connected and |Hm\ {(i, j)}| ≥ 2, ∀Hm, there are (x1, y1), . . . , (xk+1, yk+1), k= (|A|−1)+(|AR|−1)−|V|+1 = |A|+|AR|−|V|−1, affinely independent GDRPP tours satisfying xij = 0 and yij = 0, and therefore xij =yij . Given that there is a path Pji in Gfrom jto i, we can obtain a new tour (x, y) satisfying xij =yij = 1 by adding the arcs of Pji plus arc (i, j) to x1and setting yij = 1. Then we have k+2 = |A|+|AR|−|V|+1 tours for the GDRPP satisfying xij =yij. As shown in the matrix in Figure 2, these vectors are affinely independent and the inequality is facet-inducing.  A AR\ {(i, j)}(i, j) x1y1 . . .. . .0 xk+1 yk+1 x y 1 Figure 2: Matrix appearing in the proof of Theorem 5 5 Theorem 6 Inequalities (5) P (i,j)∈Hm yij ≥1,∀Hm∈H, are facet-inducing for GDRPP(G) if •there is no Hq⊂Hm, and •for all (i0, j0)∈AR\Hm, there is an arc (i, j)∈Hmsuch that (i, j)∈Hq∀Hqsuch that Hq\Hm={(i0, j0)}. Proof: It is known that inequality P (i,j)∈Hm yij ≥1 is facet-inducing for the SCP polyhedron if and only if the two conditions above hold (see Balas and Ng [2]). Hence, there are m=|AR| affinely independent solutions y1, . . . , ymfor the SCP satisfying P (i,j)∈Hm yij = 1. Let us consider now the DGRP defined on G, taking all the arcs in ARas required and the depot as a required vertex. Since dim(DGRP(G))=|A|−|V|+1 = k, there are k+1 affinely independent tours for the DGRP, x1, x2, . . . , xk+1. Merging vectors xand y, we obtain k+1+m−1 = |A|−|V|+1+|AR| tours for the GDRPP, (x1, y1), . . . , (xk+1, y1),(x1, y2), . . . , (x1, ym), satisfying P (i,j)∈Hm yij = 1. Therefore, inequality P (i,j)∈Hm yij ≥1 is facet-inducing for GDRPP(G).  3.2 Connectivity inequalities In this section we study the connectivity inequalities present at the formulation, as well as an interesting generalization of them. We believe that connectivity inequalities (4), x(δ+(S)) ≥yij, are facet-inducing for GDRPP(G) if Gand G(V\S) are strongly connected and Hq\δ(S)≥2∀Hq∈H, but we have not been able to prove it. The following theorem proves that connectivity inequalities (3), x(δ+(S)) ≥1, are facet-inducing for GDRPP(G). Theorem 7 Connectivity inequalities (3),x(δ+(S)) ≥1,∀S⊆V\ {1}such that ∃Hm⊆ A(S)∪δ(S), are facet-inducing for GDRPP(G) if G(S)and G(V\S)are strongly connected and Hq\δ(S)≥2∀Hq∈H. Proof: Let us consider the DGRP defined on G, taking A0 R=AR\δ(S) as the required arcs and the depot as a required vertex. Since G(S) and G(V\S) are strongly connected, the inequality x(δ+(S)) ≥1 is facet-inducing for the polyhedron associated with the DGRP (see ´ Avila et al. [1]) and there are k=|A| − |V|+ 1 affinely independent tours, x1, . . . , xk, for the DGRP traversing all the arcs in A0 Rand satisfying x(δ+(S)) = 1. Moreover, given that Hq\δ(S)≥2 ∀Hq∈H, the polyhedron associated with the SCP defined on the ground set A0 Ris of full dimension, and there are m+ 1 = |A0 R|+ 1 affinely independent SCP solutions y1, ..., ym+1. We extend these vectors yrby adding zeros in the components associated with the arcs in δR(S) to obtain vectors yr. Merging these last vectors with vectors x, we get k+m=|A|−|V|+|A0 R|+1 tours for the GDRPP, (x1,y1), . . . , (xk, y1),(x1, y2), . . . , (x1, y m+1) satisfying x(δ+(S)) = 1. For each arc (i0, j0)∈δR(S), since x(δ+(S)) ≥1 is facet-inducing for the DGRP polyhedron, it can be seen that there is a DGRP tour x∗traversing (i0, j0) and satisfying x(δ+(S)) = 1. Therefore, we can define a new GDRPP tour (x∗, y∗), where y∗is obtained from y1by replacing y∗ i0,j0= 1. If we express all these GDRPP tours as rows in a matrix, we obtain the matrix shown in Figure 3, which is of full rank. Hence inequalities (3) are facet-inducing.  6 A A0 RδR(S) x1y1 . . .. . .0 xky1 x1y2 . . .. . .0 x1ym+1 y1 ∗. . .I y1 Figure 3: Matrix appearing in the proof of Theorem 7 Connectivity inequalities (3), x(δ+(S)) ≥1, are a special case of the following more general family of inequalities: x(δ+(S)) ≥1−y!Hm∩AR(V\S),∀S⊂V\ {1} ∀ Hm∈H(11) For example, consider a subset of vertices Sand a subset Hmsuch as those depicted in Figure 4, where Hm∩AR(V\S) = {a}. The corresponding connectivity inequality (11) is x(δ+(S)) ≥1−ya. Note also that the above inequality reduces to inequality (3) when there is an Hm⊆A(S)∪δ(S). Figure 4: Structure of the connectivity inequality x(δ+(S)) ≥1−ya Theorem 8 Connectivity inequalities (11),x(δ+(S)) ≥1−y!Hm∩AR(V\S),∀S⊂V\{1}, ∀Hm∈H, are valid for the GDRPP. Proof: Let (x∗, y∗) be a tour for the GDRPP. If y∗!Hm∩AR(V\S)= 0, then this tour must service at least one arc in Hm∩!A(S)∪δ(S). In order to do this, it has to traverse δ(S), and so x∗(δ+(S)) ≥1 holds. If y∗(Hm∩AR(V\S)) ≥1, then the inequality is obviously satisfied.  Theorem 9 Connectivity inequalities (11),x(δ+(S)) ≥1−y!Hm∩AR(V\S),∀S⊂V\{1} and ∀Hm∈H, are facet-inducing for GDRPP(G) if G(S)and G(V\S)are strongly connected, Hq\!δ(S)∪(Hm∩AR(V\S))≥2∀Hq∈H, and, in the case in which Hm∩AR(V\S)6=∅, the following conditions are satisfied: (1) ∀Hq∈HHq∩AR(V\S)6=∅and (2) @Hq∈Hsuch that Hq∩AR(V\S) Hm∩AR(V\S). 7 Proof: If Hm∩AR(V\S)=∅, i.e. Hm⊆δ(S)∪A(S), then we have the connectivity inequality (3), x(δ+(S)) ≥1, which has been proved to be facet-inducing in Theorem 7. Let us suppose now that Hm∩AR(V\S)6=∅. Consider the DGRP defined on G, taking A0 R=AR\!δ(S)∪(Hm∩AR(V\S))as the required arcs and the depot as a required vertex. Since G(S) and G(V\S) are strongly connected, the inequality x(δ+(S)) ≥1 is facet-inducing for the polyhedron associated with the DGRP (see ´ Avila et al. [1]) and there are k=|A|−|V|+1 affinely independent tours, x1, . . . , xk, for the DGRP traversing all the arcs in A0 Rand satisfying x(δ+(S)) = 1. Moreover, given that Hq\!δ(S)∪(Hm∩AR(V\S))≥2∀Hq, the polyhedron associated with the SCP defined on the ground set A0 Ris full-dimensional, and there are m+1 = |A0 R|+ 1 affinely independent SCP solutions y1, ..., ym+1. We extend these vectors yrby adding zeros in the components associated with the arcs in δR(S)∪(Hm∩AR(V\S) to obtain vectors yr. Merging these last vectors with vectors x, we get k+m=|A|−|V|+|A0 R|+1 tours for the GDRPP, (x1,y1), . . . , (xk, y1),(x1, y2), . . . , (x1, y m+1), satisfying x(δ+(S)) = 1 and y(Hm∩AR(V\S) = 0. For each arc (i0, j0)∈δR(S), since x(δ+(S)) ≥1 is facet-inducing for the DGRP polyhedron, there is a DGRP tour x∗traversing (i0, j0) and satisfying x(δ+(S)) = 1. Therefore, we can define a new GDRPP tour (x∗, y∗), where y∗is obtained from y1by replacing y∗ i0,j0= 1. Finally, for each arc (i0, j0)∈Hm∩AR(V\S) we can define a GDRPP tour (ex, ey) satisfying x(δ+(S)) = 0 (note that, since condition (1) is satisfied, all the customers can be serviced from arcs in A(V\S)), and such that eyi0j0= 1, eyij = 0,∀(i, j)∈Hm∩AR(V\S)\ {(i0, j0)}(since condition (2) is satisfied, all the customers serviced from arcs in Hm∩AR(V\S)\ {(i0, j0)}can be also serviced from arcs in AR(V\S)). Therefore, eysatisfies y(Hm∩AR(V\S)) = 1 and the tour (ex, ey) satisfies the inequality as an equality. If we express these |A|+|AR| − |V|+ 1 GDRPP tours as rows in a matrix, we obtain the matrix shown in Figure 5, which has full rank. Hence the inequality is facet-inducing.  A A0 RδR(S)Hm∩AR(V\S) x1y1 . . .. . .0 0 xky1 x1y2 . . .. . .0 0 x1ym+1 y1 ∗. . .I0 y1 ∗ ∗ 0I Figure 5: Matrix appearing in the proof of Theorem 9 3.3 Parity inequalities Parity inequalities are a class of widely used inequalities in arc routing problems. They rely on the fact that a tour crosses any cutset an even (or zero) number of times. Although in most arc routing problems defined on directed graphs parity inequalities are implied by the symmetry equations, the new parity inequalities we propose here, which are related not only to the arcs in 8 the cutset but also to some sets Hm, are not implied by the symmetry equations. Let S⊂V,F⊆δR(S), and FH={Hn1, Hn2, ..., Hnq}, with |F|+qodd and q > 0, such that (see Figure 6): •Hni∩δ(S)6=∅ ∀ni, •Hni∩Hnj∩δ(S) = ∅ ∀ni, nj, and •F∩Hni=∅ ∀ni. The parity inequality (associated with S,F, and FH) is x(δ(S)) ≥2y(F)− |F|+ q X i=1!1−2y(Hni\δ(S))+ 1 (12) Note that for each subset Hnisuch that Hni⊆δ(S), the corresponding term 1−2y(Hni \δ(S)) in the RHS of (12) is 1. In particular, when this happens with all the subsets Hni∈FH, the inequality reduces to x(δ(S)) ≥2y(F)− |F|+q+ 1, and if, in addition, F=∅, the inequality becomes x(δ(S)) ≥q+ 1. Note also that, since |F|+qis odd, inequality (12) can be written in the following more sparse way: x(δ+(S)) ≥y(F) + q+ 1 − |F| 2− q X i=1 y(Hni\δ(S)) (13) Figure 6: New parity constraints structure Theorem 10 Parity inequalities (12) are valid for GDRPP(G). Proof: Let (x, y) be a GDRPP tour. We consider the following cases: •(x, y) services all the arcs in Fand does not service any arc in any of the sets Hni\δ(S). In this case, the RHS of the inequality is |F|+q+ 1. Given that any tour must service at least one arc in each Hni, (x, y) services at least one arc in each Hni∩δ(S), i= 1 . . . , q. Therefore it traverses δ(S) at least |F|+qtimes, and since |F|+qis odd, the tour traverses δ(S) at least |F|+q+ 1 times, satisfying x(δ(S)) ≥ |F|+q+ 1. 9 covering all the customers has been obtained, a minimum cost tour traversing all the arcs in A0 and visiting the depot is obtained using the exact algorithm for the DGRP described in [1]. This algorithm is executed every 100 iterations of the cutting-plane procedure at the root node. After the root node has been studied, it is executed every 20 nodes up to node number 200, every 50 nodes between nodes 201 and 500, and every 200 nodes beyond that. 6 Computational experiments In this section we describe the GDRPP instances we have used and the results obtained on them with our branch-and-cut algorithm. The algorithm was coded in C++ using the Cplex 12.4 MIP Solver with Concert Technology 2.9 on a single thread of an Intel Core i7 at 3.4 GHz with 16 GB of RAM. Cplex heuristic algorithms were turned off, while Cplex own cuts, including zero-half cuts, were activated in automatic mode. The optimality gap tolerance was set to zero, and strong branching and the best bound strategies were selected. Finally, in order to remove non-binding cuts, Cplex presolve phase was reapplied at the end of the root node, allowing for new iterations of the cutting-plane procedure before branching. All the tests were run with a time limit of two hours. In order to compare the performance of our algorithm with the branch-and-cut procedure proposed by H`a et al. [10], we have used, where possible, the same sets of instances. Since we have not been able to reproduce their third set of instances, defined on undirected graphs, we have generated a new set of instances in which the customers define disjoint arc sets. These new instances and the best solutions found for all the sets can be found at http://www.uv.es/corberan/instancias. The first set of instances generated by H`a et al. contains random instances based on directed graphs. Their characteristics are shown in Table 1. All these instances have 500 vertices and up to 1500 arcs, and the number of customers varies between 500 and 15000. Arc costs correspond to Euclidean distances multiplied by five to obtain an average arc length close to that seen in practice (from about 0.2 to 0.4 km). We would like to point out that, contrary to usual practice, these costs have not been rounded to integer numbers but to numbers with up to 4 decimal places. Customers are positioned randomly in the square containing the graph and the arcs located closer than a given distance r= 150,200 define the sets Hm. There are five different instances in each set. For example, the instance set named ce200-0.5 contains instances with r= 200 and t= 0.5, where tis the ratio between the number of customers and the number of arcs. The results obtained with our branch-and-cut algorithm on these instances are also shown in this table. Column Gap0 gives the average percentage gap between the lower bound at the root node and the optimal solution, if known, or the best solution found. Solved reports the number of instances solved to optimality, while columns Nodes and Time show the average number of nodes of the branch-and-cut tree and the average computing time (in seconds), respectively. The last three columns report the average number of violated connectivity, parity, and K-C inequalities found. From Table 1, it can be seen that our algorithm is able to solve all the instances optimally in relatively small computing times. Since the gap at the root node is very small in all cases, we believe that the success of the algorithm is due to the tightness of the lower bound provided by the cutting-plane algorithm, which indicates that the new connectivity, parity, and K-C inequalities are useful for describing the polyhedron of solutions more accurately. Note also that the difficulty of these instances seems to decrease when the number of customers and the 16 distance rincrease. |V| |A| |H|Gap0 Solved Nodes Time Conn. Parity K-C ce200-0.5 500 1000 500 0,65 5/5 148,8 245,7 9892,0 1311,6 2,8 ce200-1 500 1000 1000 0,28 5/5 47,8 88,6 4985,0 997,8 24,0 ce200-5 500 1000 5000 0,08 5/5 16,8 28,3 1093,0 668,0 6,8 ce200-10 500 1000 10000 0,11 5/5 12,2 20,3 429,8 583,4 3,0 ce150-0.5 500 1500 750 0,49 5/5 1025,8 830,5 8118,2 2405,2 39,4 ce150-1 500 1500 1500 0,38 5/5 1924,2 1235,5 4871,8 1897,0 23,2 ce150-5 500 1500 7500 0,12 5/5 30,8 49,2 403,4 745,8 6,2 ce150-10 500 1500 15000 0,13 5/5 43,2 50,1 412,2 734,6 3,6 Table 1: Results on the “ce” instances In Table 2 the results obtained with the branch-and-cut algorithm by H`a et al. [10] are compared with those obtained with ours. The H`a et al. algorithm has been run on a 2.4GHz CPU with 6 GB of RAM with a time limit of two hours. It uses Cplex 11.2 with all Cplex cuts turned off except the zero-half cuts, which are generated using the aggressive option. It also uses an initial upper bound provided by a heuristic described in the same paper. Column LB0-Imp shows the average improvement in percentage between the lower bounds of both algorithms at the end of the root node, i.e., LBA−LBH LBA×100, where LBAand LBHare the lower bounds at the root node obtained with the algorithm proposed here and the one by H`a et al., respectively. It can be seen that our algorithm produces better lower bounds and is able to solve more instances in shorter computing times. H`a et al. ´ Avila et al. Solved Time Solved Time LB0-Imp ce200-0.5 3 4155,6 5 245,7 2,54 ce200-1 4 2447,8 5 88,6 2,11 ce200-5 5 315,1 5 28,3 0,87 ce200-10 5 82,3 5 20,3 0,79 ce150-0.5 0 7202,9 5 830,5 2,04 ce150-1 2 4499,9 5 1235,5 1,43 ce150-5 5 154,5 5 49,2 0,47 ce150-10 5 205,9 5 50,1 0,26 Table 2: Comparison with the H`a et al. [10] results on the “ce” instances We have also checked our algorithm on the second set of instances used in H`a et al. [10]. These are instances generated from two CPP instances, MB537 and MB547, defined on mixed graphs and proposed by Corber´an et al. [4]. These graphs have a structure similar to that of real street networks and have the following characteristics. The mixed graph MB357 has 500 vertices, 364 edges and 476 arcs, while graph MB547 has 500 vertices, 351 edges and 681 arcs. The mixed graphs are transformed into directed ones by replacing each edge with two parallel arcs with the same cost. The procedure to generate the customers is the same as the one used for the “ce” instances, except that the distance parameter ris determined by the average length of all the arcs in the graph. For each graph and each value of t, H`a et al. generated five GDRPP instances. Table 3 shows the results obtained with our branch-and-cut algorithm on these GDRPP instances. All the instances except one have been solved to optimality. As with the “ce” instances, the gap values at the root node are small and the computing times are reasonable. 17 The comparison between the results obtained with the branch-and-cut by H`a et al. [10] and with our algorithm are shown in Table 4. Note that our algorithm finds more optimal solutions in shorter computing times and usually produces better lower bounds, except on the instances with the largest number of customers. |V| |A| |H|Gap0 Solved Nodes Time MB0537-0.5 500 1204 400 0,16 5/5 14,6 456,3 MB0537-1 500 1204 800 0,20 5/5 36,8 368,5 MB0537-5 500 1204 4000 0,19 5/5 34,0 223,8 MB0537-10 500 1204 8000 0,18 5/5 73,8 233,4 MB0547-0.5 500 1383 520 1,17 4/5 2685,8 2854,3 MB0547-1 500 1383 1040 0,78 5/5 1297,6 1515,2 MB0547-5 500 1383 5200 0,19 5/5 176,8 232,1 MB0547-10 500 1383 10400 0,18 5/5 45,4 131,5 Table 3: Results on the “MB” instances H`a et al. ´ Avila et al. Solved Time Solved Time LB0-Imp MB0537-0.5 0 7200,7 5 456,3 5,7 MB0537-1 0 7201,5 5 368,5 5,7 MB0537-5 3 3937,8 5 223,8 0 MB0537-10 5 2418,3 5 233,4 -1 MB0547-0.5 0 7201,1 4 2854,3 5 MB0547-1 0 7202,2 5 1515,2 3,5 MB0547-5 4 1639,9 5 232,1 -0,3 MB0547-10 5 756,2 5 131,5 -1 Table 4: Comparison with the H`a et al. [10] results on the “MB” instances The third set of instances has been generated from undirected RPP instances used in Corber´an, Plana and Sanchis [5]. Again, the underlying undirected graphs are transformed into directed ones by replacing each edge by a pair of opposite arcs with the same cost. For these instances, the family of arc subsets H={H1, . . . , HL}has been generated in a different way: the arcs corresponding to each connected component induced by the required edges in the original graph define the sets Hm. Note that, in this case, the sets Hmare disjoint. The instances called UR500 have 298 ≤ |V| ≤ 499, 597 ≤ |A| ≤ 1526, and 1 ≤ |H| ≤ 99. UR750 instances have 452 ≤ |V| ≤ 749, 915 ≤ |A| ≤ 2314, and 1 ≤ |H| ≤ 140. Finally, UR1000 instances have 605 ≤ |V| ≤ 1000, 2289 ≤ |A| ≤ 3083, and 1 ≤ |H| ≤ 204. There are 12 GDRPP instances in each group. The average characteristics of each group of instances are shown in Table 5, as well as the average results obtained on them with the proposed branch-and-cut. The algorithm is able to solve to optimality all 12 instances in the set UR500 and 10 out of 12 instances in UR750, but only two instances in the UR1000 set. In fact, in one of the UR1000 instances, the algorithm could not even find a feasible solution in the time limit of two hours. Even so, the gap at the root node (with respect to the optimum or the best solution found) and the final gap are small in 18 |V| |A| |H|Gap0 Gap Solved Nodes Time UR500 446,0 2257,8 35,3 0,24 0,00 12/12 320,2 790,0 UR750 665,7 3396,8 55,7 0,32 1,18 10/12 1590,0 3247,0 UR1000 882,2 4580,8 74,8 3,58 4,34 2/12 1262,0 6016,3 Table 5: Results on the “UR” instances (in which sets Hmare disjoint) most instances. Regarding the computing times, it seems that the fact that the customers define disjoint sets affects the difficulty of the problem. It should be noted, however, that the algorithm and the separation procedures had not considered this possibility, as they were designed to solve instances where customers could have common elements. The same is true for the upper bound. The heuristic described in Section 5.3 did not work well in this case, so the upper bound provided was of no help in solving these instances. In our opinion, a more appropriate implementation of the heuristic and the branch-and-cut algorithm for the case of disjoint customers could lead to better results in this case. Finally, in order to test the potential of the second formulation for the GDRPP presented in Section 4, we have adapted the branch-and-cut algorithm to work only with “x” variables and checked it on the “ce” instances. The results obtained are compared in Table 6 with those obtained with the original algorithm (already shown in Table 1). It can be seen that the performance of the algorithm based on the second formulation is much worse. That said, we want to point out that the possibilities of the new formulation have not been explored in depth. Not only may there be stronger versions of the inequalities for the second formulation, as we said in Section 4, but also a better implementation of the separation routines and the heuristic algorithm could produce better computational results. First formulation Second formulation |V| |A| |H|Solved Time Gap0 Solved Time Gap0 ce200-0,5 500 1000 500 5/5 245,7 0,65 5/5 1079,92 1,81 ce200-1 500 1000 1000 5/5 88,6 0,28 5/5 856,48 1,41 ce200-5 500 1000 5000 5/5 28,3 0,08 5/5 187,96 0,82 ce200-10 500 1000 10000 5/5 20,3 0,11 5/5 137,48 1,17 ce150-0,5 500 1500 750 5/5 830,5 0,49 1/5 6025,43 2,74 ce150-1 500 1500 1500 5/5 1235,5 0,38 2/5 4036,92 2,32 ce150-5 500 1500 7500 5/5 49,2 0,12 5/5 331,83 0,99 ce150-10 500 1500 15000 5/5 50,1 0,13 4/5 1739,64 1,26 Table 6: Comparison between the two GDRPP formulations 7 Conclusions In this paper we have addressed the polyhedral description and the resolution of the Generalized Directed Rural Postman Problem (GDRPP). We have proposed a new formulation and presented some new families of valid inequalities. On the basis of this description, we have implemented a branch-and-cut algorithm for the GDRPP and provided extensive computational experiments over various sets of GDRPP instances. The results show that our algorithm outperforms the existing exact methods. We have also introduced an alternative formulation with fewer variables whose study could be of interest in the future. 19 Acknowledgements: The authors wish to thank Minh Hoang H`a, Nathalie Bostel, Andr´e Langevin, and Louis-Martin Rousseau for providing us with their instances. We also thank the Spanish Ministerio de Econom´ıa y Competitividad (project MTM2012-36163-C06-02) and the Generalitat Valenciana (project GVPROMETEO2013-049) for their support. References [1] T. ´ Avila, ´ A. Corber´an, I. Plana, and J.M. Sanchis. The stacker crane problem and the directed general routing problem. Networks, to appear, 2014. [2] E. Balas and M. Ng. On the set covering polytope I: All the facets with coefficients in {0,1,2}.Mathematical Programming, 43:57–69, 1989. [3] ´ A. Corber´an, G. Mej´ıa, and J.M. Sanchis. New results on the mixed general routing problem. Operations Research, 53:363–376, 2005. [4] ´ A. Corber´an, E. Mota, and J.M. Sanchis. A comparison of two different formulations for arc routing problems on mixed graphs. Computers & Operations Research, 33:3384–3402, 2006. [5] ´ A. Corber´an, I. Plana, and J.M. Sanchis. A branch & cut algorithm for the windy general routing problem and special cases. Networks, 49:245–257, 2007. [6] ´ A. Corber´an and J.M. Sanchis. A polyhedral approach to the rural postman problem. European Journal of Operational Research, 79:95–114, 1994. [7] M. Drexl. On some generalized routing problems. PhD thesis, Rheinisch-Westf¨alische Technische Hochschule, Aachen University, 2007. [8] M. Drexl. On the generalized directed rural postman problem. Journal of the Operational Research Society, 65:1143–1154, 2014. [9] M.-H. H`a, N. Bostel, A. Langevin, and L.-M. Rousseau. An exact algorithm for close enough traveling salesman problem. In Proceedings of the 1st International Conference on Operations Research and Enterprise Systems, pages 233–238, 2012. [10] M.-H. H`a, N. Bostel, A. Langevin, and L.-M. Rousseau. Solving the close enough arc routing problem. Networks, 63:107–118, 2014. [11] R. Shuttleworth, B.L. Golden, S. Smith, and E. Wasil. Advances in meter reading: Heuristic solution of the close enough traveling salesman problem over a street network. In B. Golden, S. Raghavan, and E. Wasil, editors, The Vehicle Routing Problem: Lastest Advances and New Challenges, pages 487–501. Springer, 2008. 20                                       