A Simulation Based Optimization Model For The Vehicle Routing 2022 IFAC Pap
A Simulation Based Optimization Model For The Vehicle Routing 2022 IFAC Pap
com
ScienceDirect
IFAC PapersOnLine 55-10 (2022) 133–138
141–146
used in this work, had already set up a data-driven feed to 3. The MILP MODEL
the simulation model. Then, integrating traffic models in the
To validate the developed SBO model, finding the exact
proposed simulator is straightforward.
solution of the deterministic problem is crucial. Based on
the work of Pérez-Rodríguez and Hernández-Aguirre
The reminder of this paper isstructured as follows. Section
(2016), a MILP model was derived as follows. Let G= (V,A)
2 reviews the most related work. Section 3 presents the
be a full connected directed graph where V is the set of
Mixed Integer Linear Programming (MILP) model required
vertices represented all possible customers including depot,
to validate the proposed SBO model outlined in Section 4.
and A is the set of all possible routes between
Section 5 reports and discusses the conducted experimental
depot/customers.
study. Finally, Section 6 draws some concluding remarks
andpossible future research avenues.
Sets:
2. RELATED WORK N Set of all customers, denoted by j
D Depot node, denoted by w
Integrating time uncertainty in this problem helps L Set of trucks, denoted by l
formalizing a more realistic problem, leading to more V Set of all nodes N⋃D, indexed by i
efficient solutions in real conditions. In the following, we
discuss the most relevant works considering a VRP with Parameters:
stochastic travel time, and all existing works that address
Travel time traversing arc (i,j) ⋴N
dj Demand of customer j⋴N
the VRP with the SBO approach.
TWimin Earliest feasible time to serve customer i ∈V or to
TTij
return to depot i ∈V
Taş et al (2013) provided a tabu search method to solve the
TWimax Latest feasible time to serve customer i ∈V or to
VRP with stochastic travel time following a gamma
return to depot i ∈V
distribution.Three-phase solution algorithm was defined:
starting with constructing an initial solution, moving to
improving the devolved initial solution, and ending with M Big positive number
unifying a post-optimization procedure. Miranda and
Conceição (2016) applied an iterated local search algorithm Decision variables:
Constraints (6) express the arrival time to each node and a new better solution, i.e. the configuration to evaluate by
ensure elimination of sub-tours. the simulator.
𝑡𝑡𝑡𝑡𝑖𝑖𝑖𝑖𝑙𝑙𝑙𝑙 ≥ 𝑇𝑇𝑇𝑇𝑇𝑇𝑇𝑇𝑖𝑖𝑖𝑖𝑚𝑚𝑚𝑚𝑖𝑖𝑖𝑖𝑚𝑚𝑚𝑚 , ∀𝑖𝑖𝑖𝑖 ∈ 𝑉𝑉𝑉𝑉 (7)
𝑡𝑡𝑡𝑡𝑗𝑗𝑗𝑗𝑙𝑙𝑙𝑙 ≤ 𝑇𝑇𝑇𝑇𝑇𝑇𝑇𝑇𝑖𝑖𝑖𝑖𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚 , ∀𝑖𝑖𝑖𝑖 ∈ 𝑉𝑉𝑉𝑉
The proposed SBO model is implemented on the
(8) commercial software Arena which is one of the most
deployed software in supply chain management (Oliveira et
of customer or depot j.
Constraints (7)-(8) express the earliest (latest) time to visit
al. 2016). This integrates a powerfuloptimization tool to
𝑡𝑡𝑡𝑡𝑖𝑖𝑖𝑖 ≥ 0, ∀𝑖𝑖𝑖𝑖 ∈ 𝑉𝑉𝑉𝑉 (9) carry out the optimization function, called Optquest. The
𝑥𝑥𝑥𝑥𝑖𝑖𝑖𝑖𝑙𝑙𝑙𝑙𝑗𝑗𝑗𝑗 ∈ {0,1}, ∀𝑙𝑙𝑙𝑙 ∈ 𝐿𝐿𝐿𝐿, ∀𝑤𝑤𝑤𝑤 ∈ 𝐷𝐷𝐷𝐷 ∶ (𝑖𝑖𝑖𝑖, 𝑗𝑗𝑗𝑗) ∈ 𝐴𝐴𝐴𝐴
search algorithm applied by Optquest is based on a
(10) combination of three metaheuristics: tabu search, neural
Constraints (9)-(10) state the nature of variables 𝑥𝑥𝑥𝑥 and 𝑡𝑡𝑡𝑡. networks and dispersion search (Glover et al. 2003).
Precisely, the SBO approach is used in this study to identify
4. THE SIMULATION-BASED OPTIMIZATION routes allowing all customers to be delivered in an uncertain
MODEL environment while minimizing the expected total transport
time. The transport time on each arc (lane connecting two
The SBO, also known as black-box optimization, consists customers) is assumed to be stochastic and follows a
of coupling a simulation model with an optimization tool. bimodal distribution.
The simulator acts as an evaluator of the configurations
(input parameters) sent by the optimizer. The cost of the
solution (response) is then sent back to the optimizer to find
In order to embed the simulation model, we used the Arena stochastic context, where travel time of each arc follows
software. Specifically, as shown in Figure 1, we have unimodal and bimodal distributions. For that purpose, we
employed the modules CREATE, ASSIGN, VARIABLE, modified the deterministic data sets provided by Solomon
ATTRIBUTE and DECIDE. These modules enable us to (1987). Specifically, three different cases are taken from
reproduce the same process of evaluation. For more details R101 instances. The number of customers is varying
on Arena models, the interested readeris referred to the between 5 and 10. In order to analyze the effect of the
work of Kelton et al. (2007). Once the simulator is different bimodal distributions as well as to compare the
developped, the next step is to couple it with the Optquest results with the effect of unimodal distribution, these chosen
optimizer. The optimizer will then start the process of Solomon’s data sets were extended by considering
searching for a new/ better route to send to the simulator for deterministic travel times as the expected values of random
evaluation. This iterative process aims at finding the lowest travel times following the three probability distributions:
total travel time. bimodal Gamma distribution, bimodal Lognormal
distribution and the unimodal Lognormal distribution. The
5. COMPUTATIONAL RESULTS AND ANALYSIS
same method of transforming data from deterministic to
In order to validate the proposed SBO model, the stochastic data set was applied by Layeb et al.(2018) and
deterministic version of the problem was firstly assessed Juan et al. (2019).
using the MILP model (1)—(10) solved by the state-of-the-
art solver IBM ILOG CPLEX (version 12.9). Then, once An example of a histogram of travel time following bimodal
validated, the CVRP-HTW model is implemented in a Gamma distribution is given in Figure 3. We first assume
136
144 Amina Antit et al. / IFAC PapersOnLine 55-10 (2022) 141–146
133–138
𝑉𝑉𝑉𝑉𝑉𝑉𝑉𝑉𝑉𝑉𝑉𝑉[𝑇𝑇𝑇𝑇𝑇𝑇𝑇𝑇𝑘𝑘𝑘𝑘 ]
that travel times are fitted with the bimodal Gamma
σk,ij = |√(1 + ln ( )) |
E [𝑇𝑇𝑇𝑇𝑇𝑇𝑇𝑇𝑘𝑘𝑘𝑘 ]2
distribution according to (16)
TTij∼ p1Gamma(α1,ij ,β1,ij )+ p2 Gamma (α2,ij ,
β2,ij),
(11) The values of μk,ij , and σk,ij are estimated using the method
where p1is the probability of encountering the first mode, of moment. Besides, the unimodal Lognormal distribution
is applied to the deterministic travel times.
the corresponding Gamma (αk,ij, βk,ij) mode, k=1,2, (i,j) ∈A,
αk,ij is the shape parameter, and βk,ij is the scale parameter of
We had also assumed3 levels of Coefficient of Variation
where A is the set of arcs.These parameters are respectively (CV), namely CV=10%, 40% and 70%.Recall that the CV
expressed as value is the standard deviation divided by the mean. The
𝐸𝐸𝐸𝐸[𝑇𝑇𝑇𝑇𝑇𝑇𝑇𝑇𝑘𝑘𝑘𝑘,𝑖𝑖𝑖𝑖𝑖𝑖𝑖𝑖 ]2
k= 1,2, (i,j) ∈A,
objective herein is to reproduce a realistic level of
αk,ij = ,
Var [𝑇𝑇𝑇𝑇𝑇𝑇𝑇𝑇𝑘𝑘𝑘𝑘,𝑖𝑖𝑖𝑖𝑖𝑖𝑖𝑖 ]
(12) variability encountered in empirical study in urban areas (Ji
𝐸𝐸𝐸𝐸[𝑇𝑇𝑇𝑇𝑇𝑇𝑇𝑇𝑘𝑘𝑘𝑘,𝑖𝑖𝑖𝑖𝑖𝑖𝑖𝑖 ]2
et al. 2015, Yazici et al. 2017).
βk,ij = , k= 1,2,(i,j) ∈A,
Var [𝑇𝑇𝑇𝑇𝑇𝑇𝑇𝑇𝑘𝑘𝑘𝑘,𝑖𝑖𝑖𝑖𝑖𝑖𝑖𝑖 ]
(13) 5.1. Results under different stochastic travel time
withVar [𝑇𝑇𝑇𝑇𝑇𝑇𝑇𝑇𝑘𝑘𝑘𝑘𝑘𝑖𝑖𝑖𝑖𝑖𝑖𝑖𝑖 ]= (CV 𝐸𝐸𝐸𝐸𝐸𝑇𝑇𝑇𝑇𝑇𝑇𝑇𝑇𝑘𝑘𝑘𝑘𝑘𝑖𝑖𝑖𝑖𝑖𝑖𝑖𝑖 ])2 , k=1,2, (i,j)∈A.
distributions
Parameters αk,ij and βk,ij are estimated using the method of At first, in order to validate our SBO solving approach we
moment. use it to solve the deterministic instances. The total travel
time obtained with 5, 8 and 10 customers is 156.35, 216.84,
and 269.54 respectively.
Then, we solve the CVRP-HTW model while considering
the lastly discussed different stochasticity of the travel
times. The results are summarized in Table 2.
1 𝑉𝑉𝑉𝑉𝑉𝑉𝑉𝑉𝑉𝑉𝑉𝑉[𝑇𝑇𝑇𝑇𝑇𝑇𝑇𝑇𝑘𝑘𝑘𝑘 ]
distribution differ considerably from the results generated
For example, in the case of 10 clients, with a CV equal to Now, let’s turn our attention the corresponding stochastic
70% and the travel time follows the bimodal gamma case. Figure 3 shows the best routing solution found by the
distribution, thetotal travel time is equal to 551.68 minutes, SBO in the bimodal Gamma case, for the three CV levels
whereas the total travel time obtained with the bimodal 10%, 40% and 70%.
lognormal distribution is 507.02 minutes. That means that As shown in Figure 3, the routing plan varies from case to
the nature of bimodality has a considerable impact on the case. In fact, when switching from the deterministic to the
solution. stochastic case with CV equal to10%, customer 3 is no
longer delivered with customer 5, the latter must be
Also, it is worth mentioning that, given the hard time delivered with customers 4 and 2. Moving to the case with
window constraint, when the number of customers CV = 40%, customer 3 must be delivered alone. Then, by
increases, the probability of obtaining an infeasible solution raising the CV to 70% customer 3 has to be delivered just
increases. Indeed, the feasibility of the solution depends on before customer 7.A given route cannot be considered valid
the arrival time of the delivery to customer. If the arrival at all times. The variability of the traffic flow may lead to
time of at least one customer does not belong to the time the deterioration of the proposed solution under different
window, the solution is considered infeasible. In the sequel level of stochasticity.
we illustrate this change on the routing plan.
Furthermore, we can see in Figure 4 that the routing solution
5.2. Impact on the routing solution when travel times follow a bimodal lognormal distributions
Let’s consider the case of 8 customers indexed from 2 to 9. differs from the optimal routing plan found under the
1 is the index of the depot. The 4 vehicle routes obtained in assumption of bimodal gamma distribution under CV=40%.
a deterministic context combine the following customers (3,
5), (4, 2), (6, 7) and (8, 9) in that specific order.
Figure 3. Solution for 8 customers with CV= 10%, 40%, and 70% (Bimodal Gamma Distribution)
Lombard, A., Tamayo-Giraldo, S., and Fontane, F. (2018). Yazici, A., Ozguven, E. E., and Kocatepe, A. (2017). Urban
Vehicle routing problem with roaming delivery locations travel time variability in New York City: A spatio-
temporal analysis within congestion pricing context.