are loaded in a specified compartment and another
compartment is dedicated to recyclables ((Reed et al.,
2014), (Muyldermans and Pang, 2010)).
The MCVRP with time widows (MCVRPTW)
and profit extends the MCVRP. First, each customer
is served only within a given time windows, which
is a common constraint in various routing problem
(e.g. vehicle routing problem with time windows
(VRPTW)) (Solomon, 1987). Second, the request
of a customer is composed of different products with
which profits are associated . Once a request is satis-
fied , a profit is collected. A customer is visited if and
only if a preset lower bound on the profit is exceeded.
This constraint implies that some customer requests
may not be satisfied. This problem is addressed under
different names in the literature. A traveling Salesman
Problems with profits was provided by Feillet et al.
(2011), ((Aras et al., 2011), (Valle et al., 2011)) have
also proposed a selective vehicle routing problem. In
this paper, we propose an hybrid algorithm to solve
the MCVRP with time windows and profit. To the
best of our knowledge, the MCVRP addressed in this
paper is studied for the first time. The first assump-
tion, is that a fleet of vehicles equipped with multi-
ple compartments, serve customers demands and re-
turn to the depot. Each compartment is dedicated to
one product. Indeed, a product may regroup different
kinds of goods which share the same characteristics.
This case is encountered in the real life application
which consists in the delivery of groceries to conve-
nience stores. The second assumption, is to serve a
customer within a given time windows at minimum
cost and a maximum collected profit. This implies
that the vehicles can not visit all customers.
In this paper, we propose an hybrid approach
based on the Genetic Algorithm (GA) and the Iter-
ated Local Search (ILS), to solve the MCVRP with
time windows and profit. This approach exploits the
usefulness of both the GA and ILS.
The remainder of this paper is organized as fol-
lows. In section 2, the problem formulation is ad-
dressed. In section 3, the hybridization approach
based on the GA and and ILS is presented. In sec-
tion 4, preliminary results are presented. Concluding
remarks and future works are reported in section 5.
2 PROBLEM FORMULATION
The multi-compartment vehicle routing problem with
time windows and profit (MCVRPTW with profit)
proposed can be defined as an undirected complete
graph G(N,E), in which N={0,...,n} represents the set
of nodes and E the set of edges. The depot is repre-
sented by the node 0, and a set of customers is repre-
sented by the set N’. In this definition, a non negative
routing cost c
i j
and a travel time t
i j
are associated with
each arc (i,j) ∈ E. A fleet V={1,...,v} of identical vehi-
cles with m compartments, deliver a set P={1,...,m} of
m products. Each product p is loaded in compartment
p which has a known capacity Q
p
. Each customer
i has a known request d
ip
≤ Q
p
for each product p.
The request of each product to each customer must be
delivered by only one vehicle. However, the different
products required by one customer can be brought by
different vehicles. The customer is served only within
a given time windows [a
i
,b
i
] satisfying a
i
− b
i
≥ s
i
,
where s
i
denotes the service time. A product is deliv-
ered to a customer if and only if a preset lower bound
on the collected profit is exceeded.
min
∑
i, j
∑
k∈V
c
i j
x
i jk
(1)
s.t
∑
i∈N
x
i jk
≤ 1 j ∈ N
0
,k ∈ V, (2)
∑
i∈N
x
i jk
=
∑
i∈N
x
jik
j ∈ N
0
,k ∈ V, (3)
∑
i, j∈S
x
i jk
≤ |S| − 1 k ∈ V,S ⊆ N
0
,|S| ≥ 2, (4)
y
jk p
≤
∑
i∈N
x
i jk
j ∈ N
0
,k ∈ V, p ∈ P, (5)
∑
k∈V
y
jk p
= 1 j ∈ N
0
, p ∈ P, (6)
∑
j∈N
0
y
jk p
d
jp
≤ Q
p
k ∈ V, p ∈ P, (7)
s
ik
+t
i j
− K(1 − x
i jk
) ≤ s
jk
i, j ∈ N
0
,k ∈ V, (8)
a
i
≤ s
ik
≤ b
i
, i ∈ N,k ∈ V, (9)
∑
k∈V
π
jp
y
jk
≥ p
min
j ∈ N
0
, p ∈ P (10)
x
i jk
∈
{
0,1
}
i, j ∈ N, i 6= j, k ∈ V, (11)
y
jk p
∈
{
0,1
}
j ∈ N
0
,k ∈ V, p ∈ P,d
jp
6= 0. (12)
The objective function (1) minimizes the total
routing cost. Constraints (2) ensure that each cus-
tomer may be visited at most once by each route.
Constraints (3) ensure the continuity of each route: if
a vehicle visits node j it must leave it. Constraints (4)
define the classical subtour elimination constraints.
Constraints (5) set y
jk p
to zero for each product p if
vehicle k do not serve customer j. Due to constraints
(6), each product required by a customer is brought
by one single vehicle. Constraints (7) ensure the vehi-
cle compartment capacities are respected. Constraints
(8) states that a vehicle k cannot arrive at j before s
ik
+ t
i j
if it is traveling from i to j. Constraints (9) al-
low customer deliveries within a given time windows.
Constraints (10) ensure that a customer is visited if
HybridAlgorithmforSolvingtheMulti-compartmentVehicleRoutingProblemwithTimeWindowsandProfit
325