customer is visited at most once and constraints (33)
are flow conservation constraints. Finally, constraint
(34) ensures that the total flow going trough the graph
does not exceed k, which means that no more than k
workdays are defined and, therefore no more than k
vehicles are used.
2 IMPROVED ITERATIVE
ALGORITHM
An iterative algorithm based on model (31)-(36) has
been proposed in (Macedo et al., 2011). In this pa-
per, we investigate several improvements of this con-
vergent iterative algorithm. In (Macedo et al., 2011)
the discretization unit is constant (i.e. U = 1). We
propose a generalization by considering different dis-
cretization units for the set of nodes ∆. We also con-
sider a different rounding rule and a different disag-
gregation of nodes, and propose a new integer model
to assess exactly whether a given solution is feasible
or not. In this section, we describe these different
steps of the global algorithm.
2.1 Rounding Procedure and Possible
Infeasibilities
In (Macedo et al., 2011), the rounding strategy to
transform values u and v of every arc (u, v)
r
∈ Ψ into
the discrete values belonging to the set of vertices
∆ = {0, . . . ,W } of graph Π consisted of considering
u = due and v = bvc. This rounding strategy leads to
a relaxation of the problem and, therefore, its solution
represents a lower bound, which means that it may
be infeasible. In this case, infeasibities may occur
whenever there are two routes r
1
and r
2
in the solu-
tion, represented by arcs (u
1
, v
1
)
r
1
and (u
2
, v
2
)
r
2
, such
that (considering v
1
≤ u
2
, without loss of generality)
v
1
= u
2
or v
1
= u
2
− 1.
For our new algorithm, we use a different round-
ing strategy. We consider every value u as u =
u
U
×
U. This rounding procedure also leads to a relax-
ation of the problem, but it only eventually originates
one of the previous infeasibilities, for the cases where
v
1
= u
2
.
For every route r ∈ R, the arcs to consider are
arcs (u, v)
r
such that u ∈ (T
beg
r
T
∆)
S
nj
T
−
r
U
k
×U
o
and v =
b
u + σ
r
c
. Figure 1 illustrates the arcs to
be considered for route r. In this case, given that
p
1
< T
−
r
< p
2
and p
4
< T
+
r
< p
5
(and considering
that bp
1
+ σ
r
c = p
6
), the arcs that represent route r
would be (p
1
, p
6
)
r
, (p
2
, p
7
)
r
, (p
3
, p
8
)
r
and (p
4
, p
9
)
r
.
2.2 Variable Discretization
For each feasible route r ∈ R, there is a time in-
terval T
beg
r
= [T
−
r
, T
+
r
] that represents the instants
at which route r can begin, in order to be feasible
and to have the minimum possible duration. Val-
ues T
−
r
and T
+
r
,∀r ∈ R, can be recursively calcu-
lated (Macedo et al., 2011). Route r beginning
at instant t is represented by r
t
. As explained
in (Macedo et al., 2011), route r
t
such that t 6∈
T
beg
r
is either infeasible or it is dominated by route
r
T
−
r
. The number of considered routes is there-
fore equal to
∑
r∈R
(T
+
r
−(T
+
r
mod U))−(T
−
r
−(T
−
r
mod U))
U
+
1 . In (Macedo et al., 2011), U = 1. We now gener-
alize this concept and consider that U can take differ-
ent values. It is clear that considering U = u
1
rather
than U = u
2
, with u
1
> u
2
, implies having a smaller
model, with less variables and constraints. On the
other hand, given that with U = u
1
we have a coarser
rounding, the number of iterations of the algorithm
may be larger, as there is a higher probability of ob-
taining an infeasible solution. In section 3, we test,
for each instance, different values of U.
2.3 New Disaggregation Method
When the model finds a solution that is infeasible,
all nodes that are simultaneously the beginning and
the end of at least two arcs in the solution, are dis-
aggregated. To disaggregate a node p that belongs
to the original set of nodes ∆
0
and has not yet been
disaggregated means to consider additional nodes be-
tween p and p + U. The number of new nodes to
add depends on the chosen unit ε. Disaggregating
point p implies adding the (ε − 1) equidistant nodes
p +
U
ε
, . . . , p +U −
U
ε
to the graph. Whenever
there is such a node, p
∗
, that does not belong to ∆
0
or has already been disaggregated in a previous itera-
tion, the node to be disaggregated is the highest node
p
0
∈ ∆
0
, such that p
0
≤ p
∗
. Let ε
∗
be the distance be-
tween any two consecutive nodes in [p
0
, p
0
+U]. The
set of (aε
∗
− 1) equidistant nodes to be added to the
original graph is
p
0
+
U
aε
∗
, . . . , p
0
+U −
U
aε
∗
.
When nodes are added to the graph, there are ad-
ditional arcs to be considered. Figure 2 illustrates the
disaggregation of node p, and the modifications that
occur in what concerns arcs representing routes r
1
and
r
2
.
2.4 Exact Feasibility Model
A solution given by model (31)-(36) is represented by
a set of arcs. Given a set of arcs, it may be possible to
find different solutions, as illustrated in figure (3).
ICORES 2012 - 1st International Conference on Operations Research and Enterprise Systems
308