Sei sulla pagina 1di 9

688776

research-article2017
WMR0010.1177/0734242X16688776Waste Management & ResearchBraier et al.

Original Article

Waste Management & Research

An integer programming approach to a


1­–9
© The Author(s) 2017
Reprints and permissions:
real-world recyclable waste collection sagepub.co.uk/journalsPermissions.nav
DOI: 10.1177/0734242X16688776
https://doi.org/10.1177/0734242X16688776

problem in Argentina journals.sagepub.com/home/wmr

Gustavo Braier1, Guillermo Durán2,3,4,5, Javier Marenco6


and Francisco Wesner6

Abstract
This article reports on the use of mathematical programming techniques to optimise the routes of a recyclable waste collection system
servicing Morón, a large municipality outside Buenos Aires, Argentina. The truck routing problem posed by the system is a particular
case of the generalised directed open rural postman problem. An integer programming model is developed with a solving procedure
built around a subtour-merging algorithm and the addition of subtour elimination constraints. The route solutions generated by the
proposed methodology perform significantly better than the previously used, manually designed routes, the main improvement being
that coverage of blocks within the municipality with the model solutions is 100% by construction, whereas with the manual routes as
much as 16% of the blocks went unserviced. The model-generated routes were adopted by the municipality in 2014 and the national
government is planning to introduce the methodology elsewhere in the country.

Keywords
Rural postman problem, recyclable waste collection, vehicle routing

Introduction
This study presents an integer programming approach for improv- at 2 pm, made their assigned rounds and dumped the collected
ing the vehicle routing of the recyclable waste collection system in waste at the recycling centre, finishing up 5 hours later at about
the municipality of Morón, a suburb outside of the City of Buenos 7 pm. Since the same vehicles were then used for the regular
Aires, Argentina. Home to 320,000 inhabitants (according to the evening garbage collection, this schedule had to be strictly com-
2010 Census (INDEC 2010)) and covering an area of 55.6 km2, the plied with. This meant that a driver realising some segments were
municipality is divided into five administrative districts (Castelar, skipped would often not have time to return to them. Furthermore,
Morón City, Haedo, Palomar and Villa Sarmiento). For purposes of since the trucks do not have automatic tracking devices, just
the recyclable waste collection system, every district is subdivided determining which segments had been skipped was not an easy
into as many as seven sectors, each serviced by a single recycling task. It was the growing complaints from local residents about
truck. All collections within each of the five districts are made on a this uncollected waste that prompted the municipal authorities to
single different weekday for each one, which is called the ‘green launch the initiative leading to the implementation of the meth-
day’ for that district. This is part of a successful initiative carried out odology proposed here. Owing to these considerations, the main
by the municipality, which involved a strong campaign in order to objective of optimising the waste collection routes carried out
get the citizens involved (see http://www.moron.gob.ar/wp-content/
uploads/2014/11/flyer-tu-dia-verde.jpg for one of the ‘green day’ 1papyro.com, Argentina
initiative advertisements in the printed press, https://www.youtube. 2CONICET, Argentina
com/watch?v=V2939nImAR0 for the institutional video of the 3Instituto de Cálculo, FCEyN, Universidad de Buenos Aires, Buenos

recycling campaign and Municipality of Morón (2013)). Aires, Argentina


4Departamento de Matemática, FCEyN, Universidad de Buenos Aires,
Prior to this study, the collection routes were improvised by Buenos Aires, Argentina
the drivers themselves with no tools other than basic unannotated 5Departamento de Ingeniería Industrial, FCFM, Universidad de Chile,

sector maps. The inevitable result was that in some sectors a con- Chile
6Departamento de Computación, FCEyN, Universidad de Buenos
siderable number of street segments were often left unserviced. Aires, Buenos Aires, Argentina
The root cause of the failure to cover certain segments was the
sheer difficulty of improvising a route that would pass through all Corresponding author:
Javier Marenco, Departamento de Computación, FCEyN, Universidad
the street segments, but other factors also contributed to the prob- de Buenos Aires, Ciudad Universitaria, Buenos Aires 1428, Argentina.
lem. The drivers set out in their trucks from the municipal depot Email: jmarenco@dc.uba.ar
2 Waste Management & Research

within this project was maximising the level of service, in order real-world waste collection systems appear in the literature for
not to skip any street segment. As a side effect, by considering the various cities around the world. Some examples are Chicago,
total travel distance within the proposed methodology, the opti- USA (Eisenstein and Iyer, 1997), Kaoshiung, Taiwan (Chang
mised routes imply a lower fuel consumption, reduced emissions, et al., 1997), Lisbon, Portugal (Mourao and Almeida, 2000),
reduced collection times and less traffic jams (since the collec- Hamilton, Canada (Yeomans et al., 2003), Santiago, Chile
tion trucks have a quite slow average traverse speed). (Arribas et al., 2010) and Buenos Aires, Argentina (Bonomo
In this vehicle routing problem for recyclable waste collec- et al., 2012). It is worth noting that the optimisation problem in
tion, every street must be visited by a truck. The task is further this last reference has a different structure from that of the munic-
complicated by two constraints needed to incorporate conditions ipality of Morón, since the former has containers located in the
peculiar to this case: (a) some segments of two-way streets are collection areas.
narrow enough for both sides to be serviced on a single trip in The remainder of this article is organised in four sections.
either direction, meaning no second trip is necessary; and (b) cer- ‘Description of the problem’ describes the recycling truck rout-
tain vehicle traffic restrictions from which trucks are not exempt. ing problem to be solved and ‘Integer programming model’ for-
More specifically, these restrictions are the Argentinean road mally models it as a generalised directed open rural postman
traffic regulations prohibiting left turns at signal-controlled inter- problem in a suitable graph. ‘The solution procedure’ develops
sections as well as U-turns, and will be the main concern here in our proposed integer programming approach to solve the prob-
modelling a solvable problem for the waste collection system. lem. ‘Computational results’ sets out and analyses the results of
The resulting combinatorial optimisation problem is a particu- the experiments performed using the proposed approach. Finally,
lar case of the generalised directed open rural postman problem, ‘Conclusions’ presents our conclusions.
which is NP-hard i.e., it belongs to the class of the most difficult
problems within the complexity class NP, and this implies that no
efficient algorithms for exactly solving this problem are known.
Description of the problem
Given a directed graph G = (V, A), a set of mandatory arcs AM, The Morón recyclable waste collection system divides the
and a set of groups of nodes/arcs, the generalised directed rural municipality into various sectors, each one serviced by a single
postman problem consists in finding a minimum-cost cycle tra- truck that follows a single route and is assumed to have suffi-
versing all the mandatory arcs and at least one element from each cient capacity to collect all waste in one trip. Each sector is rep-
group. This NP-hard problem is a generalisation of the well- resented by a mixed graph H whose nodes represent the sector’s
known Chinese postman problem, which asks to identify a mini- street corners. For each node, whether or not it has a traffic sig-
mum-cost cycle traversing each arc at least once. The generalised nal and the geographic coordinates of its corresponding corner,
directed open rural postman problem is to find a path with the are known. Two nodes bound the opposite ends of a street seg-
same properties, that is one that traverses at least one element ment, defined for present purposes as a length of street running
from each pre-specified group of nodes/arcs. between two consecutive intersections and bordered on each
When there are no node/arc groups, the problem is called the side by adjacent city blocks. One-way traffic segments are rep-
directed rural postman problem, which has received considerable resented in the graph by arcs, while relatively narrow two-way
attention in the combinatorial optimisation community as regards traffic segments serviceable on both sides by a single truck trip
both directed graphs (Christofides et al., 1986; Eiselt et al., 1995; are represented by the edges of the graph. In the case of broad
Pearn and Wu, 1995; Rodrigues and Ferreira, 2001) and mixed two-way streets whose sides must be serviced separately, the
graphs (Corberán et al., 2000, 2002, 2006, 2014). Recent works segments are represented by two arcs, one in each direction.
on the generalised directed rural postman problem include both Each arc and edge is associated with a distance calculated as a
integer programming and heuristic procedures (Avila et al., 2014; straight line between two corners.
Drexl, 2014). In this study, we propose a simpler approach that is To incorporate the two traffic regulation constraints we
particularly amenable to the layouts of Latin American cities, and construct a directed graph G from H. In the case of the U-turn
is quite straightforward to implement. prohibition, the graph is expanded by dividing each node into
Our proposed approach uses an algorithm based on an integer various new nodes representing all of the possibilities for
programming formulation of the problem to find good-quality arriving and departing at the corresponding corner. Auxiliary
routes for the recycling trucks. The main theoretical contribution arcs are then added that connect up these nodes in such a way
of this work is the introduction of a subtour-merging procedure as to represent the legally permitted transitions from one cor-
that reduces computation times within an integer programming- ner to another.
based algorithm. Although this approach cannot be applied to A simple example of a node expansion is illustrated in Figure
general instances of the generalised rural postman problem since 1. In Figure 1(a) the node is shown before expansion in the
we assume zero-cost auxiliary arcs and groups formed by pairs of original graph H and represents a crossing between a one-way
arcs only, it proved useful for the particular case considered here. street (the horizontal arcs) and a two-way street (the vertical
A valuable survey of vehicle routing problems in waste col- edges). In Figure 1(b) the node has been expanded into six new
lection may be found in the work by Kim et al. (2006). nodes representing each possible arrival and departure alterna-
Applications of mathematical programming techniques to tive at the intersection, and the edges have been replaced by two
Braier et al. 3

Figure 1.  To incorporate the traffic regulation constraints we divide each node into various new nodes, representing all of the
possibilities for arriving and departing at the corresponding corner. Auxiliary arcs define the permitted transitions from one
corner to another. This figure shows how a crossing between a one-way street and a two-way street is expanded. Auxiliary arcs
are represented by dashed lines.

parallel and opposing arcs. The new nodes are connected by briefly into a neighbouring sector. To incorporate such cases into
auxiliary arcs (the dashed lines) indicating the permitted transi- the model, the street segments immediately beyond the borders
tions between them. of a sector are tagged, thus forming a perimeter band of seg-
According to the municipal authorities, the recycling trucks ments in the adjacent sectors the drivers do not service but can
have no difficulties negotiating turns at the intersections. This use for detour reduction. Including this option requires no
implies that the auxiliary arcs do not add appreciably to the cost changes to the model, since the segments so tagged are treated in
and are therefore considered to have null distance. Note that the the same fashion as auxiliary arcs.
particular construction applied in this setting does not generate An example of such a perimeter detour band is given in
cycles composed of auxiliary arcs only, hence no zero-cost cycles Figure 3 for a typical sector in the municipality. The street seg-
appear in the resulting graph. The traffic regulations make a nec- ments making up the band are shown in dark lines. Note in this
essary exception to the U-turn prohibition for cul-de-sacs. To case that there are no tagged segments along the north (top) or
incorporate this exemption, our graph, as developed so far, is south (bottom) of the sector. This is because the north side is
modified slightly by adding auxiliary arcs to dead-end nodes. closed off by a highway, while the south side borders on a differ-
In addition to U-turns, the traffic regulations prohibit left turns ent municipality for which up-to-date information on street
from a two-way street at signal-controlled intersections save for directionality was not available.
the rare occasions where they are explicitly permitted. The graph
expansion discussed above readily accommodates this constraint
Integer programming model
by simply eliminating the auxiliary arcs representing the illegal
turns. An example of how this is done for an intersection of two Let G = (V, A) be the directed graph in which the nodes V corre-
two-way streets with traffic lights is shown in Figure 2. spond to all possible alternatives for arriving at the intersections’
The starting point for the route of a given sector must be corners and A is composed of arcs that can be traversed only in
located on the sector border closest to the recycling truck depot. one specified direction. Also, let E ⊆ { {i,j}: i ∈ V, j ∈ V, i ≠ j}
Any node satisfying this condition may be chosen as the starting represent two-way street segments that may be travelled in either
node. The choice of ending node does not have a major impact direction. The input data include a set AM ⊆ A of mandatory arcs
on the overall performance given that the trucks go directly back representing one-way segments that must be travelled in the
to the recycling depot once they have completed their routes. specified direction. A weight function w : A →  associates a
Since sectors are not very large, this additional cost can be weight with each arc, and we assume that the auxiliary arcs
ignored. An alternative approach would have been to add a ver- between nodes representing street corners all have zero weight.
tex representing the depot and link it to the starting nodes, thus Finally, the input data also include a set I ⊆ V of initial nodes
incorporating the cost from the depot to the sector in the objec- specifying the allowed starting points for the route.
tive function, but since doing so would not have significantly This routing problem is a particular version of the generalised
modified either the computations or the generated solutions, this directed open rural postman problem since each edge ij ∈ E
consideration was not adopted. determines the group of arcs Lij = {ij, ji} such that at least one of
In certain cases, particularly in sectors with many one-way them is traversed in the final solution. Moreover, this problem
streets, the recycling trucks may have to make wide detours to corresponds to the open rural postman problem, given that we are
access certain corners. To reduce the size and therefore the dis- looking for a path whose starting and ending nodes are not
tance costs of such detours, the drivers will sometimes cross specified.
4 Waste Management & Research

Figure 3.  We allow a truck servicing one sector to briefly


cross into a neighbouring sector, if such a crossing allows
to design a better route. This figure shows a typical sector in
Morón, with a perimeter detour band of street segments in
adjacent sectors shown in dark lines.

xij + x ji ⩾ 1
(2)
∀ij ∈ E

si + ∑x =∑x
j : ji∈ A
ji
j :ij∈ A
ij + ti
(3a)
∀i ∈ I

Figure 2.  Traffic regulations prohibit left turns from a two- ∑x =∑x
j : ji∈ A
ji
j :ij∈ A
ij + ti
(3b)
way street at signal-controlled intersections. We incorporate
this constraint by eliminating the auxiliary arcs representing ∀i ∈ V \I
the illegal turns. (a) Shows an intersection without traffic
lights, and (b) shows the same intersection with traffic lights
and, therefore, some missing auxiliary arcs. ∑ s = 1 (4)
i∈I
i

A solution to this problem can be generated by a straightfor-


ward integer programming model. For each arc ij ∈ A, let the inte-
ger variable xij represent the total number of times ij is traversed.
∑ t = 1 (5)
i∈V
i

For each node i ∈ I, let the binary variable si specify whether i is


the first node in the route. For each node j ∈ V, let the binary vari-
able tj specify whether j is the last node on the route. If S ⊆ V, we ∑
ij∈δ + ( S )
xij ⩾1 − ∑
ij∈Le ∩ A(V\S)
xij
(6)
define δ+(S) = { ij ∈ A: i ∈ S, j ∉ S } to be the set of arcs going
∀S ⊆ V , ∀e ∈ E
from nodes in S to nodes in V\S. We also define A(S) = { ij ∈ A: i,j
∈ S } to be the set of arcs with both endpoints in S. With these
xij ∈ Z +
definitions, we can now specify the integer program as follows: (7)
∀ij ∈ A
min ∑w x
ij∈ A
ij ij

(1)
xij ⩾1 si ∈ {0,1} (8)
∀ij ∈ AM ∀i ∈ I
Braier et al. 5

ti ∈ {0,1} and the main path P (i.e. the path starting (respectively ending) at
(9) the unique vertex i ∈ V with si = 1 (respectively ti = 1)), the pro-
∀i ∈ V
cedure attempts an interchange of auxiliary arcs in order to merge
S and P. Given the main path and a subtour, the procedure scans
The objective function attempts to minimise the total cost
all of their arcs for any of the following configurations and, if
of the waste collection route, that is, the sum of the individual
found, executes the indicated action.
costs of the segments travelled by the vehicles. Cost is, in
principle, a function of travel time, which is therefore the real
•• Configuration A: If the main path and the subtour meet at
factor we wish to minimise, but since travel time data per seg-
some intermediate node, as in Figure 4(a), then they are
ment are not available, we use distance as a proxy. Constraint
joined as in Figure 4(b).
(1) imposes that each mandatory arc be travelled at least once,
•• Configuration B: If the subtour meets the last node in the main
while constraint (2) requires that each edge be travelled at
path, as in Figure 4(c), then they are joined as in Figure 4(d).
least once in any direction. Constraint (3a)–(3b) ensures that
•• Configuration C: If the subtour meets the first node in the
the solution is truly a path by adding the standard flow conser-
main path, as in Figure 4(e), then they are joined as in Figure
vation condition at each node. Thus, the number of times the
4(f).
circuit enters a node must equal the number of times the cir-
cuit exits it, except for the initial and final nodes whose This procedure is applied for every subtour in the solution
respective entries and exits number one less. Constraints (4) until they have all merged into the main path or, if they fail to do
and (5) guarantee the initial and final nodes are unique. so, are handled using the constraint technique. Since the cost of
The addition of the auxiliary arcs to reflect traffic regula- all auxiliary arcs joining street-corner nodes is the same, the
tion restrictions brings with it certain complications. Since not modified route remains optimal, hence the algorithm stops and
all the arcs in the graph need to be travelled, requiring inde- returns the obtained solution in this case. This construction
gree to be equal to outdegree, it does not by itself guarantee allows us to efficiently find an optimal solution from an infeasi-
that the model’s feasible solutions are connected routes. ble solution containing subtours, and proved quite efficient in
Indeed, constraints (1)–(5) allow subtours to form, an undesir- practise (see the next section).
able occurrence that must be avoided. To address this prob- Despite its great efficiency, however, this subtour-merging
lem, constraint (6) is added to the model, thus avoiding this technique does not work with every subtour that forms. As an
situation (Avila et al., 2014). Finally, constraints (7)–(9) spec- example, the solution generated by the model may be such as the
ify the possible values for the model variables. Recall that one in Figure 5. In this case, the subtour (around the right block)
vehicle capacity is assumed to be sufficient, so capacity con- cannot be merged with the main path (the path around the left
straints are not required. block) by the above method.
In this case, the main algorithm sketched before adds a stand-
The solution procedure ard subtour-eliminating constraint to the M, that is, if S is the set
of vertices in the cycle to be eliminated, then the algorithm adds
We now propose a procedure for solving the integer program-
the following constraint:
ming model presented in the preceding section. The algorithm is
summarised in the following description.

ij∈δ + ( S )
xij ⩾1 (10)
1. Create the relaxed model M : = (1)–(5) and (7)–(9).
2. Solve M. Note that we do not add the model constraint (6) to M, but we
3. If no solution can be found for M, return ‘infeasible’ and stop. add the simpler constraint (10) instead. This allows us to use
4. If the best solution found for M has no subtours, return this existing, efficient and quite standard code in our implementation.
solution and stop. The addition of the standard subtour-eliminating constraint (10)
5. If the subtours can be merged with the path from the starting is performed through the well-known technique of finding all the
node to the ending node, then merge the subtours with this connected components of the obtained solution. If there is more
path, return the obtained solution and stop. than one connected component, then the components not contain-
6. Otherwise, add to M a standard subtour-eliminating con- ing the starting and ending nodes are subtours and the corre-
straint for each subtour in the solution and go to Step 2. sponding constraints are added to the model. Note that the
addition of the stronger inequalities (10) instead of the original
The relaxed model constituted by constraints (1)–(5) and (7)– model constraint (6) may cut off optimal solutions and increase
(9) is solved in Steps 1 and 2. If the resulting solution contains no the objective value of the obtained solution. However, for the
subtours (Step 4), it is optimal and the algorithm ends; otherwise, instances considered in this work, these effects were negligible,
a subtour exists and must be eliminated. as the next section shows.
In many cases, subtours can be eliminated by the following The definitive strategy, then, is to combine this merging
straightforward subtour-merging procedure. Given a subtour S technique with the dynamic addition of subtour-eliminating
6 Waste Management & Research

Figure 4.  If the solution of the relaxed model contains a main path P and a subtour S, we resort to the following subtour-
merging procedure. If P and S follow the configurations (a), (c) or (e), then the solution is modified according to the
specifications (b), (d) or (f), respectively.

the variables take integer values. An alternative approach would


be to try to separate inequalities (10) dynamically during the
branch-and-bound procedure (thus turning Step 2 from the proce-
dure into a branch-and-cut approach), but the detection of vio-
lated subtour-eliminating constraints over fractional solutions is
not straightforward. For this reason we opted to search for sub-
tours only once the model has been solved and an integer solution
has been obtained.

Figure 5.  The subtour-merging procedure proposed in Computational results


this work cannot join every subtour that may appear in the
solutions of the relaxed model. This figure shows such a In this section we present and analyse the results of the experi-
situation. Indeed, the subtour around the right block cannot ments conducted to evaluate the effectiveness of the algorithms
be merged with the main path by the method proposed in described in the previous sections in the municipality of Morón.
Figure 4. The experiments were executed on a PC with a 3 Ghz AMD
Phenom II x4 945 processor and 4 GB of RAM running Linux
constraints. If a solution has no subtours, it is returned (Step 4). Ubuntu 12.04 (32 bits). The solver used for solving the integer
If the solution has one or more subtours but in every case they programs was SCIP. Although there are commercial solvers that
can be merged with the main path, this is done and the merged perform better than SCIP on benchmark instances, for our pur-
solution is returned (Step 5). Finally, if the solution has sub- poses this choice was adequate.
tours that cannot be merged to the main path, a subtour-elimi- To solve the integer programming models a maximum of
nating constraint (11) for each such subtour is added and the 10 min was allowed at each iteration. This limit was chosen after
procedure is repeated (Step 6). determining that the majority of the sectors were solved to opti-
Note that subtour-eliminating cuts are always – and only – mality within that time, while for those that were not, the opti-
inserted when the branch-and-bound enumeration for solving M mality gap was very small. Thus, if the solution procedure found
terminates. Detection of subtours is thus straightforward since a feasible solution before the time limit was reached, that
Braier et al. 7

Table 1.  The addition of the subtour-merging procedure allows the algorithm to find optimal solutions in most instances, and
to reduce the total running times. This table shows computational results of the experiments for the Castelar District with
and without the subtour-merging procedure (Step 5 in the main algorithm). Column ‘|V|’ shows the number of nodes, column
‘|E|’ shows the number of street segments that must be traversed in any direction, column ‘|AM|’ shows the number of street
segments that must be traversed in a pre-specified direction and column ‘|AAUX|’ shows the number of auxiliary arcs. Columns
‘Iterations’ and ‘Time’ show the number of iterations of the main algorithm and the total running times, respectively. Finally,
column ‘Gap’ shows the optimality gap of the final solution.

Sector |V| |E| |AM| |AAUX| Without Step 5 With Step 5

Iterations Time Iterations Time Gap


Castelar1 1372 658 28 1570 2 5.2 s 1 2.4 s 0.00%
Castelar2 650 100 225 559 5 19 s 1 3s 0.00%
Castelar3 852 200 226 782 59 9.7 h 1 10 min 0.47%
Castelar4 878 354 85 876 6 52.4 s 1 5.6 s 0.00%
Castelar5 1090 508 37 1416 2 5.7 s 1 3s 0.00%
Castelar6 738 166 203 650 22 3.7 h 1 10 min 1.05%
Castelar7 1082 524 17 1341 35 5.9 h 2 20 min 0.31%
Castelar8 1276 622 46 1574 24 3.7 h 1 17.9 s 0.00%

solution was used in Steps 4 and 5, otherwise, the procedure so the inevitable result was that in some sectors a considerable
stopped and a failure message was returned. number of street segments were often left unserviced. As the
The results of our experiments on the effectiveness of the table indicates, the worst case in absolute terms was Castelar4,
subtour-merging algorithm are presented in Table 1. As can be where 60 street blocks were skipped, though in some other sec-
seen in the first column, the data all relate to the Castelar district, tors the situation in percentage terms was worse still.
which was chosen for this test because of the great diversity of its This tendency to skip street segments under the manual routes
street patterns. The district’s eight sectors vary greatly in size, inevitably impacted the comparisons between them and our
shape (some rectangular, others more irregular) and street direc- model-generated routes for these sectors given that the latter were
tionality (some mainly one-way, others primarily two-way). defined using constraints ensuring that all street segments be tra-
Columns 6 and 7 report the number of required iterations and the versed. The effect can be seen in the difference between the
solution times for the various sectors without the subtour-merg- ‘Distance’ column in Table 3 and the distances travelled shown in
ing algorithm (i.e. with a simple branch-and-cut procedure Table 2. In some sectors where the numbers of segments skipped
dynamically adding the standard subtour elimination constraint was high, the model-generated route was longer/more costly than
(10) for every non-feasible integer solution). The final three col- the manual route. On the other hand, in three sectors, where the
umns show the number of iterations, the solution times and the number of omitted segments was relatively small (Castelar7,
optimality gap when the subtour-merging algorithm is employed. Palomar3 and VillaSarmiento1), the model found a route that was
The most important conclusion from these data is that the shorter than the manual one. In most of the remaining sectors
subtour-merging procedure allows optimal solutions (with (Haedo2, Palomar2, VillaSarmiento2, VillaSarmiento3) the dis-
respect to the complete formulation (1)–(9)) in most instances. tance of the model-generated route was slightly higher, but the
Indeed, with the exception of Castelar7, the subtour-merging pro- difference never exceeded 2 km. And, of course, whereas the
cedure could construct a feasible solution from the integer solu- model leaves no segments unserviced, those left out by the impro-
tion of the relaxed model defined by (1)–(5) and (7)–(9). The vised routes added up to as much as 6 km for a single sector.
so-constructed solution has the same objective value as the The added length of certainty of the model-optimised routes
relaxed solution, and is optimal for all the instances except also raised the technical question of whether the 5-h period allot-
Castelar3 and Castelar6, which attained the time limit and thus ted for the waste collection rounds was still sufficient. A simple
are subject to the gaps reported in the last column. On the other estimation shows that it was. To take one example, the manually
hand, just one subtour-eliminating constraint (10) was added in designed route for the Castelar4 sector was 46 km long and
Castelar7, and the subtour-merging procedure could construct a required 4:10 h to cover, whereas the model defined a 50 km
feasible solution from the resulting solution. route. Though it was impossible to know a priori exactly how
To compare the route solutions generated by our methodology long the latter route (or any other defined by the model) would
with the manually designed routes previously used by the truck take to complete, the average speed implied by the manual route
drivers, we were able to obtain data on the latter from the munici- data (approximately 11 km h-1) suggests we could safely assume
pality for a limited number of sectors, shown here in Table 2. the extra 4 km could be traversed within the aforementioned time
This information was gathered using global positioning system window. This and the a priori estimates for the other cases where
(GPS) devices installed in the trucks. As mentioned in the intro- the model solution route was longer than the manual route proved
duction, these manual routes had been improvised by the drivers, to be reasonable when the former were applied in practise.
8 Waste Management & Research

Table 2.  The manually designed routes tended to skip street segments (thus degrading the level of service), a situation that is
avoided by the procedure proposed in this work. This table shows available GPS data supplied by the municipality for certain
sectors. For each sector, we report the total travelled distance, the number of skipped street segments, the real collection
time and the percentage of the street blocks actually visited by the routes.

Sector Distance travelled Street blocks skipped Collection time % of sector serviced
Castelar4 46 km 60 4:10 h 88.5%
Castelar7 43.1 km 6 3:40 h 98.6%
Haedo2 17.5 km 20 2:26 h 89.7%
Palomar1 25 km 46 3:38 h 84.5%
Palomar2 24.5 km 35 4:10 h 87.5%
Palomar3 31.2 km 17 3:12 h 94.8%
Palomar4 35.2 km 35 4:46 h 91.0%
VillaSarmiento1 24.6 km 10 3:09 h 96.1%
VillaSarmiento2 23.7 km 9 2:44 h 96.3%
VillaSarmiento3 23.2 km 17 3:13 h 93.2%

Table 3.  The routes generated by the automatic procedure cover all street segments and generate competitive travelling
distances. This table reports the computational results of the main algorithm for the sectors in Table 2. For each sector,
the first four columns contain the number of nodes, the number of street segments that must be traversed in any direction,
the number of street segments that must be traversed in a prespecified direction and the number of auxiliary arcs. The last
four columns report the total solution time, the optimality gap, the number of iterations in the main algorithm and the total
travelling distance.

Sector |V| |E| |AM| |AAUX| Solution time Gap Iterations Distance
Castelar4 878 354 85 876 5.6 s 0.00% 1 50.45 km
Castelar7 1082 524 17 1341 1200 s 0.31% 2 40.45 km
Haedo2 1154 396 181 1256 0.3 s 0.00% 1 18.31 km
Palomar1 1046 502 21 1251 30 s 0.00% 1 33.51 km
Palomar2 822 316 95 875 512 s 0.00% 1 26.90 km
Palomar3 1254 608 19 1596 1200 s 0.30% 2 30.53 km
Palomar4 1090 500 45 1353 1200 s 0.30% 2 30.53 km
VillaSarmiento1 304 12 140 258 1s 0.00% 1 24.17 km
VillaSarmiento2 600 134 166 494 1s 0.00% 1 24.25 km
VillaSarmiento3 384 76 116 322 1s 0.00% 1 25.08 km

As for solution times of the Table 2 sectors, the longest was detours outside the serviced area and street directionality (one-
20 minutes. This is quite reasonable for the requirements of the way and two-way).
recycling system given that once a definitive route has been From a theoretical standpoint, the main contribution of this
established, only occasional changes will later be needed and in study is the development of the subtour-merging procedure,
such cases an instantaneous response is unlikely to be required. which enables running times to be reduced. This is possible
The optimality gaps were very small if not zero within the time because mandatory arcs are connected by zero-cost auxiliary
limit proposed for model execution. arcs, hence no additional cost results from the subtour merging.
This hypothesis does not hold in general however, so the pro-
posed procedure cannot be applied for solving general instances
Conclusions
of the generalised directed rural postman problem. Since the
A methodology was proposed using integer programming tech- model is run with a time limit of 10 min, the quality of the
niques to optimise the routes of recycling waste collection vehi- obtained routes with and without applying the subtour-merging
cles in Morón, an important suburban Buenos Aires municipality. procedure cannot be compared if the time limit is attained.
A number of conditions peculiar to this case required the inclu- Furthermore, the addition of the standard subtour-eliminating
sion of certain restrictions and options, such that the problem inequalities (10) instead of the model constraints (6) simplifies
was best formulated as a particular case of the generalised the code but may hinder optimality. Nevertheless, the obtained
directed open rural postman problem on a directed graph con- results for the instances coming from the municipality of Morón
structed from the city map. These conditions included the allow us to safely assume that the obtained routes are of good
Argentinean traffic regulation prohibitions on left turns at traf- quality for practical purposes.
fic lights and U-turns, the exception to this rule made for The recycling vehicle routes generated by the proposed
U-turns in cul-de-sacs, the inclusion of perimeter bands for methodology and implemented by the municipality perform
Braier et al. 9

significantly better than the manually defined routes used previ- References
ously. The main advance is in the coverage provided by the col- Arribas C, Blazquez C and Lamas A (2010) Urban solid waste collection sys-
lection service, which now fully covers every street within the tems using mathematical modelling and tools of geographic information
municipal limits. Before implementation, up to 60 street blocks systems. Waste Management & Research 24: 355–363.
Avila T, Corberán A, Plana I, et al. (2014) A new branch-and-cut algorithm
for one sector and 16% of street blocks for another sector were for the generalized directed rural postman problem. Transportation
skipped in certain sectors. This improvement was achieved, Science 50: 750–761.
while in some cases actually reducing total vehicle distance Bonomo F, Durán G, Larumbe F, et al. (2012) A method for optimizing waste
collection using mathematical programming: A Buenos Aires case study.
compared with the old manual routes. In a few cases, distance
Waste Management & Research 30: 311–324.
did increase, but only slightly. Chang N, Lu H and Wei L (1997) GIS technology for vehicle routing and
The routes designed by the model were well received by the scheduling in solid waste collection systems. Journal of Environmental
Engineering 123: 901–933.
municipality. Field analyses were conducted before the routes
Christofides N, Campos V, Corberán A, et al. (1986) An algorithm for the
were implemented to validate their feasibility and the reactions rural postman problem on a directed graph. Mathematical Programming
of the municipal authorities were very positive. After several Study 26: 155–166.
months of testing the routes defined by the integer programming- Corberán A, Martí R, Martínez E, et al. (2002) The rural postman problem on
mixed graphs with turn penalties. Computers and Operations Research
based methodology, the municipality began implementation in 29: 887–903.
mid-2014. The result was better coverage of all streets and the Corberán A, Martí R and Romero A (2000) Heuristics for the mixed rural
virtual disappearance of complaints from the public regarding the postman problem. Computers and Operations Research 27: 183–203.
Corberán A, Motta E and Sanchis J (2006) A comparison of two different
recyclable waste collection service, which previous to implemen-
formulations for arc routing problems on mixed graphs. Computers and
tation had been running at about dozens of calls or messages a Operations Research 33: 3384–3402.
week. The success of the project has been such that the authors Corberán A, Plana I and Sanchis J (2014) The rural postman problem on
directed, mixed, and windy graphs. In: Arc routing: problems, methods,
have been invited by Argentina’s Ministry of the Interior and
and applications, MOS-SIAM series on optimization, MO20, pp.101–127.
Transport to replicate the experience in a number of other munic- Drexl M (2014) On the generalized directed rural postman problem. Journal
ipalities around the country. of the Operational Research Society 65: 1143–1154.
Eiselt H, Gendreau M and Laporte G (1995) Arc routing problems, part ii:
The rural postman problem. Operations Research 43: 399–414.
Acknowledgements Eisenstein D and Iyer A (1997) Garbage collection in Chicago: A dynamic
The authors would like to thank the municipality of Morón for their scheduling model. Management Science 43: 922–933.
support in carrying out this project, and Kenneth Rivkin for his use- INDEC (Instituto Nacional de Estadísticas y Censos) (2010) Censo Nacional
ful comments. Finally, the authors are indebted with the anonymous 2010. Available at: http://www.censo2010.indec.gov.ar (accessed July 2016).
Kim B, Kim S and Sahoo S (2006) Waste collection vehicle routing prob-
reviewers, for their comments and suggestions.
lem with time windows. Computers and Operations Research 33:
3624–3642.
Declaration of conflicting interests Mourao M and Almeida M (2000) Lower-bounding and heuristic methods
for a refuse collection vehicle routing problem. European Journal of
The authors declared no potential conflicts of interest with respect to
Operational Research 121: 420–434.
the research, authorship, and/or publication of this article.
Municipality of Morón (2013) “Día verde” institutional video. Available at:
https://www.youtube.com/watch?v=V2939nImAR0 (accessed July 2016).
Funding Pearn W and Wu T (1995) Algorithms for the rural postman problem.
The authors disclosed receipt of the following financial support for Computers and Operations Research 22: 819–828.
Rodrigues A and Ferreira J (2001) Solving the rural postman problem by
the research, authorship, and/or publication of this article: This
memetic algorithms. In: Proceedings of MIC’2001–4th Metaheuristics
study was partly funded by UBACyT grant no. 20020130100808BA
International Conference, Porto, Portugal, 16–20 July 2001, pp.679–683.
(Argentina), ANPCyT PICT grant no. 2012-1324 (Argentina) and Yeomans J, Huang G and Yoogalingam R (2003) Combining simulation
FONDECyT grant no. 1140787 (Chile), as well as by the Complex with evolutionary algorithms for optimal planning under uncertainty:
Engineering Systems Institute, ISCI (Chile) (ICM-FIC: P05-004-F, An application to municipal solid waste management planning in the
CONICYT: FB0816) and by the consulting firm papyro.com regional municipality of Hamilton-Wentworth. Journal of Environmental
(Argentina). Informatics 2: 11–30.

Potrebbero piacerti anche