
 
VRP (AHVRP). We also assume that (a) any vehicle 
type can visit any individual customer (the smallest 
vehicle capacity is bigger than the biggest demand); 
(b) there are independent service times for each node 
(the delivery time spent in each client for unloading 
of merchandise) that follows a specific statistical 
distribution; and (c) the length of routes is controlled 
by a maximum value. The objective function is 
focused on minimizing the total routing costs, 
considering travelling plus service times and a 
duration restriction of routes. 
3 OUR APPROACH 
Our approach is based on the algorithm called 
Simulation in Routing via the Generalized Clarke 
and Wright Savings heuristic (SR-GCWS) proposed 
by (Juan et al., 2010). This randomized procedure 
was originally made for solving the CVRP. Figure 1 
presents an overview of our approach, where a 
multi-start process is started during a specific period 
of time, and, at each iteration, a solution is 
constructed using a randomization version of the 
classical parallelized Clarke and Wright Savings 
(CWS) heuristic (Clarke and Wright, 1964). CWS is 
probably one of the most cited heuristic to solve the 
CVRP. This procedure uses the concept of savings. 
On general, at each step of the solution construction 
process, the edge with the most savings is selected if 
and only if the two corresponding routes can 
feasibly be merged using the selected edge. The 
CWS algorithm usually provides relatively good 
solutions in less than a second, especially for small 
and medium-size problems. In the literature, there 
are several variants and improvements of the CWS. 
The original version of CWS is based on the 
estimation of possible savings originated from 
merging routes, i.e., for unidirectional or symmetric 
edges  sav(i, j)  = c(0, i) + c(0, j) – c(i, j). These 
savings are estimated between all nodes, and then 
decreasingly sorted. Then the bigger saving is 
always taken, and used to merge the two associated 
routes. On the randomized version of this algorithm, 
we use a pseudo-geometric distribution to induce a 
biased randomization selection of savings. 
Moreover, this selection probability is coherent with 
the savings value associated with each edge, i.e., 
edges with higher savings will be more likely to be 
selected from the list than those with lower savings. 
Therefore, each combination of edges has a chance 
of being selected and merged with previously built 
routes. This allows obtaining different outputs at 
each iteration of the multi-start procedure. 
However, the savings construction is modified for 
being applied to the AHVRP, because the inversed 
edges are also considered in the set of options 
(multiplying the original quantity on the symmetric 
version by two), i.e., for two different nodes i and j: 
sav(i, j)  = c(i, 0) + c(0, j) – c(i, j) and also sav(j, i)  
= c(0, i) + c(j, 0) – c(j, i). Therefore, all savings will 
be competing to be taken in the biased randomized 
process, and those with higher savings will define 
the orientation of routes. 
Likely the routes construction process will 
consider the direction of savings edges. Once a route 
takes a direction then all considered candidate routes 
to be merged with the first one must follow the same 
direction. 
Just before the construction process, the total 
route duration (travelling plus service times) and the 
candidate vehicle taking care of the new route are 
validated. The bigger vehicle between the two 
processing routes will be responsible of the new 
route. This vehicle assignment promotes the merging 
of routes as possible (Cáceres-Cruz et al., 2012). If a 
route does not have an assigned vehicle, then the 
first vehicle on the available vehicle list 
(decreasingly sorted by capacity) is selected. For 
this, several fictitious vehicles will be required 
mainly at the beginning of the CWS process. The 
fictitious vehicle should be defined using the 
minimum possible capacity on the instance. At the 
end, the fictitious vehicles must be discarded, if not 
the solution is unfeasible. This vehicle assignment 
rule does not add any computational time on to the 
algorithm execution keeping the overall complexity 
of the algorithm controlled. However there is a 
remark: any individual demand can be carried out by 
any truck (even the smallest and fictitious). 
After construction, the solution is improved with 
a local search method based on a memory cache 
(Juan et al., 2011). This technique keeps in memory 
the best known routes so far with the different 
combination of customers. This procedure compares 
and saves the best order for visiting the nodes on all 
solutions generated so far. The previously assigned 
vehicle to each route remains unchanged during this 
process. At the end, the best solution is recorded. 
4 COMPANY INSTANCES 
With the analysis based on (Pessoa et al., 2008); 
(Baldacci et al., 2008), we have identified standard 
benchmarks such as the ACVRP and HVRP. We 
could not find a general accepted dataset for the 
combination  of   these   two   problems.   The   most 
ICORES2013-InternationalConferenceonOperationsResearchandEnterpriseSystems
22