0% found this document useful (0 votes)
49 views

Tabu Search

The document summarizes a research paper that proposes a hybrid algorithm called SATS (Simulated Annealing and Tabu Search) to solve the complex Multi Depot Vehicle Routing Problem with Time Windows and Split Delivery (MDVRPTWSD). The SATS algorithm combines Simulated Annealing and Tabu Search techniques to improve solution quality and reduce computational time compared to using either technique alone. The paper provides background on vehicle routing problems, reviews previous literature that has addressed extensions like split delivery and multiple depots, formally defines the MDVRPTWSD, and describes the proposed SATS methodology.

Uploaded by

jkl316
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
49 views

Tabu Search

The document summarizes a research paper that proposes a hybrid algorithm called SATS (Simulated Annealing and Tabu Search) to solve the complex Multi Depot Vehicle Routing Problem with Time Windows and Split Delivery (MDVRPTWSD). The SATS algorithm combines Simulated Annealing and Tabu Search techniques to improve solution quality and reduce computational time compared to using either technique alone. The paper provides background on vehicle routing problems, reviews previous literature that has addressed extensions like split delivery and multiple depots, formally defines the MDVRPTWSD, and describes the proposed SATS methodology.

Uploaded by

jkl316
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Proceedings of the 2010 International Conference on Industrial Engineering and Operations Management

Dhaka, Bangladesh, January 9 – 10, 2010

Simulated Annealing and Tabu Search Based Hybrid Algorithm for


Multi depot Vehicle Routing Problem with Time Windows and Split
Delivery

U.S.S. Dharmapriya, and S.B.Siyambalapitiya


Department of Engineering Mathematics
Faculty of Engineering, University of Peradeniya, Sri Lanka

A.K. Kulatunga
Department of Production Engineering
Faculty of Engineering, University of Peradeniya, Sri Lanka

Abstract
Effective co-ordination of distribution operations of a manufacturing organization is paramount since it represents
the major cost component of the logistic supply chain. In order to deal with high demand of orders with shorter lead
time, distributed warehouse concept is introduced and this is currently being practiced. Furthermore, due to inherent
deficiencies in VRP, rules have been extended to accommodate large scale orders by splitting the delivery. Artificial
Intelligences (AI) based approaches widely used in the literature to solve VRP problems with extensions. In this
research, hybrid algorithm (SATS) is developed based on Simulated Annealing (SA) and Tabu Search (TS)
techniques to improve the solution quality of the complex Multi Depot Vehicle Routing Problem with Time
Windows and Split Delivery (MDVRPTWSD). The simulation results reveal that SATS outperform in solution
quality and the computational time.

Keywords: Artificial Intelligent, Split Delivery, Supply Chain

1. Introduction
Co-ordination of transportation and distribution of consumer products is a vital issue in managing the Supply Chain
efficiently and it is very important to deal with the modern concepts such as Lean, JIT etc. Supply Chain spans the
all activities from material extraction stage to dispatching of finished product to customer in manufacturing industry.
In the field of manufacturing, high transportation cost is one of the critical issues since it consumes significant
amount from the overall production cost. Meeting with the company goals while overcoming the shortages in
transportation is very challengeable due to the complexity of the problem. However, there are number of standard
problems defined in the area of transportation and distribution such as VRP, TSP etc.

A typical VRP can be defined as an allocation of customers to feasible sets of routes, where route consists of a
vehicle and each dealer is visited only once by exactly one vehicle and all vehicles start and end at the same single
depot. Though the classical VRP deals with the single depot, it is very difficult to handle huge network with large
number of customers varying demands. Therefore, in order to handle complicated networks effectively, intermediate
depots have been introduced and the problem related to such a distribution network is known as Multi depot vehicle
routing problem (MDVRP). Sometimes it is not realistic that a customer’s demand must be delivered by a single
vehicle. Therefore, by allowing deliveries to be split, customer can be served by more than one vehicle. Benefits of
bringing up the concepts such as multiple warehouses and split delivery are very practical in current distribution
operation and also are the strategies to reach the objective of this study such as minimize overall transportation cost
while fully utilizing the vehicle space.

However, existence of above condition make the problem more complex and it would be difficult to solve within a
reasonable time window. Due to computational complexity of the problem this is mathematically termed as NP hard
problems. Heuristics such as Genetic Algorithm (GA), SA, TS are highly attractive for a complex problem to find a
Dharmapriya, Siyambalapitiya, Kulathunga.
better solution within reasonably less computational time. In addition, integrating the properties of approximation
algorithm leads to a better solution than applying one alone. It has been found in the literature, TS emerged as an
effective algorithmic approach for the VRP. However, the quality of the solution found by the TS depends on the
initial solution. To overcome this problem and to provide a robust and efficient methodology for MDVRPTWSD ,
the heuristic search approach combining SA and TS strategy is developed.

The remainder of the paper is organized as follows. In Section 2, summary of the literature review is presented and
in Section 3, the definition of the problem is given with the mathematical representation. The method adopted is
described in Section 4, at the beginning it explains the initial stage of the proposed method and thereafter
improvement of the initial solution is described. In Section 5, the simulation results are presented. This is followed
by conclusion.

2. Literature Review
Numbers of studies have been found in the literature related to MDVRP with many extensions, the objective of the
studies of MDVRP found in the literature were similar with the objectives of VRP such as minimizing transportation
cost, reducing the lateness, minimizing the number of vehicles used without being over capacitated etc. Due to high
computational complexity of such problems, most researchers are adopted with AI techniques to find good solution
within reasonable time.

Telfar., G.(1994) presented an overview on applicable heuristic for global optimization while investigating the
algorithm performance on TSP. Ho and Haugland(2004), Belfiore and Yoshizaki(2008) considered VRPTW with
split delivery (VRPTWSD). Ho and Haugland(2004) have developed a tabu search heuristic for VRPTWSD and
they showed that heuristic is favour in terms of number of vehicle and total distance traveled. Moreover, they
emphasised the significance of having split the delivery. Belfiore and Yoshizaki(2008) studied the same problem
with heterogeneous fleet of vehicle for real life application. They have presented a scatter search algorithm which is
capable of offering better solution in terms of distribution cost and number of trucks used compared to current
practice. William, H.(2008) addressed Multi depot vehicle routing problem and introduced a hybrid genetic
algorithm. They presented the hybrid algorithm in two stages concluding the second phase is more efficient than the
first phase. Pisinger.,D and Ropke.,S (2005) presented an unified heuristic which is able to solve five different
variant of VRP . Jeon., G. et al (2007) solved VRP using hybrid genetic algorithm suggesting a mathematical
programming model with new numerical formulas. The process of hybrid genetic algorithm additionally considers
the initial population by using both random generation and heuristic techniques. Bell.,J.E. and McMullen.,
P.R.(2004) used Ant colony optimization techniques for VRP. Further it is compared with the other varities of AI
techniques such as TS,SA,GA. It is conclude that the algorithm is successful in finding solutions within 1% of
known optimal solutions. Nagy., G. and Salhi.S(2005) presented a new heuristic for VRP with pickup and delivery
system.

3. Problem Formulation
Problem formulation defines the problem and the notation used throughout the study.

• Customers: A distribution network consists of sets of customers C = {1,2,……….n} residing at “n”


different locations, catered by distributed ware houses (WHj) where j = 1…….m and m<n. A customer is
defined with a demand (qi) where qi>0 with the time window i.e an interval [ai,bi] Є R where ai and bi are
the earliest and latest time to start to service the customer . Every pair of customers (i,j) where i,j Є C and i
≠ j is associated with a traveling distance dij and traveling time tij.

• Vehicle: A fleet of homogeneous vehicle with the capacity of Vc scattered throughout the network,
allowing to start from any depot and reach the place where it is requested. In this study, the demand of a
customer may be fulfilled by more than one vehicle when the demand of the customer exceeds the vehicle
capacity which known as split delivery.
Dharmapriya, Siyambalapitiya, Kulathunga.
The MDVRPTWSD can be stated as;
For each arc (i,j) where i,j Є C , i ≠ j and for each vehicle k, we define Xijk and Yik.

Pik - Delivery amount at demand point i by vehicle k


qi - Demand at customer i
ai - Earliest arrival time of customer i
bi - Latest arrival time of customer i

N N u
Minimize Z(d) = C ∑ ∑ d ij ∑ xijk
i =0 j = 0 k =1
(1)

∑p
k =1
ik = qi (2)

pik ≤ qi yik (3)

a kj ≤ a kj + t ij ≤ l kj (4)
a kj ≤ l kj + t ij ≤ l kj (5)
n

∑x
i , j =0
ijk q i ≤ vc (6)

Equation (1) provides the cost function of total distance traveled. Therefore (1) is selected as the objective function
in the view of minimizing the total distance travelled. This mathematical model has several limitations and they are
given as the constraints in the model. Constraint (2) ensures that a vehicle only serves the demand point visited by
the vehicle. Constraint (3) guarantees that the demand of each demand point is totally satisfied. Constraint (4) and
(5) refers the time window of a customer and (6) ensures that customer demand does not exceed the vehicle
capacity.

4. Methodology
Proposed methodology is arranged in a two phases as shown in Figure 1. First phase describes the generation of
initial solution and second phase optimizes the initial solution using promising heuristics such as TS and SA and
SATS algorithm.

4.1 Initialization
The pseudocode of the initialization is illustrated in the Figure 2. At the very beginning of the process, it is required
to get all the information about customers (i.e location, distance in between each customers and warehouses,
demand, etc). Based on the above, the shortest distance of each demand point is generated by using Dijsktra
algorithm. All received tasks have to be processed in such a way that tasks are separated according to the date.
Thereafter, they are sorted out by earliest arrival time in order to give the most priority to urgent task. The selection
of warehouse (depot) is done considering the closeness to the first task of the prepared task list and the availability
of the goods in the warehouse. If the vehicle is capable of loading more tasks, they are selected based on distance.
Moreover, the selected first closest task should satisfy the time window or else algorithms consider the next closest
task. This will repeat until the vehicle is fully loaded with the tasks and start with the next vehicle until the all tasks
are assigned.
Dharmapriya, Siyambalapitiya, Kulathunga.

End

Figure 1 : Basic steps of the proposed methodology

Step 1: Process all arrived tasks 1. Separate tasks day wise


2.Sort them by earliest arrival time
Step 2: Start from the first task of the sorted task list. (i=1)
Step 3: Find the tasks which exceed the vehicle capacity. Those deliveries are to be split.
Step 4: Calculate the remaining space after selecting the first task
Step 5: Do while until the remaining space >0
Select the tasks compatible with the remaining space
Find the shortest distance from the ith task to all feasible tasks
Select the most closest task
If the tasks satisfy the time frame; select that tasks.
else go to next closest task
end
End
Step 6: Terminate the program after inserting all tasks to routes.

Figure 2 : Pseudocode of Initialization

4.3 Implementation of Hybrid Algorithm


• SA : is developed analogous to physical process of annealing with high diversification search where
diversification can be controlled by varying the cooling rate. Moreover, SA accepts the candidate solution
probabilistically by the metropolis acceptance criterion, provides a procedure to find sufficient good
solution over the solution space. Therefore, hybrid SATS algorithm is developed in such a way that SA is
used to find the promising elite solution inside the solution space and TS intensifies search around these
solution.

• TS : is a meta-heuristic that guides a local search procedure to explore the solution space beyond the local
optimality. There are number of local search methodologies which can be used with TS. Local procedure is
a search that uses move operation, to define the neighborhood of any given solution. One of the main
components of TS is its adaptive memory. Thereby, many combinations can be checked in the second
stage and capability of storing many solutions is possible with tabu search. Selection of best solution and
replacing the worst by better solution are also advantages of TS.
Dharmapriya, Siyambalapitiya, Kulathunga.

Step 1: Generate an initial solution by greedy approach. Initial solution consists of m routes.
Step 2: Get the first route Ri (I = 1). Assume route (Ri) consists of N customers (1…….N)
Step 3: For i = 1 : m
For j = 1 : m
If i ~= j
Exchange each customer and calculate total distance that has to be travelled after exchanging
If the current solution is greater than the initial one, do not make that change
else
Check the feasibility : time window and total delivery quantity
End
End
End
End
Step 4: Terminate the program and print the final routes.

Figure 3 : Pseudocode of TS heuristic

• SATS: SA inherent with good convergence property but lacking with keeping previously generated
solution. However, due to lack of memory, search may oscillate around the local minimum. Therefore,
incorporating a memory facility; one of the characteristics of TS, leads to chance of getting prominent
solution in the solution space.
The solution generated by the greedy approach is optimized by the SATS algorithm. Interchange move
operator is used in neighborhood search mechanism while checking the validity of time windows and
vehicle capacity. If the current neighborhood solution is feasible and satisfies: (Current solution < Best
solution) or probability exp(best solution – current solution)/ T > random [0,1], then the solution is pushed
into memory. Temperature T of SA has an important influence on the selected solution and consequently
affects the quality of the solution provided by the SATS algorithm. If the temperature is too low, the
algorithm may be terminated. It has been seen that the temperature decreases as the best tour length being
found.

Step 1: Generate an initial solution by greedy approach.


Step 2: Initialize parameters, Initial temperature T start = T, empty tabu list, Set cooling rate, ending
temperature, iter = 0.
Step 3 : Do neighborhood search (interchange move operator).
Step 4: Check the feasibility (i.e: Time window and Vehicle capacity).
Step 5: If it is not satisfied: Select the best neighbor which is not tabu.
Step 6: If the best neighbor is feasible and satisfy aspiration criterion (current solution < best solution) OR
(exp(best solution - current solution) / T ) > rand [0,1].
Step 7: Update tabu list and set temperature, set the best tour length.
Step 8: Tabu list size exceed, Replace the worst solution by a better solution.
Step 9: If Temp < Tend | iter is terminated . Go to step2.
Step 10: If the termination criterion satisfied. Stop.

Figure 4 : Pseudocode of SATS heuristic

5. Simulation and Results


Randomly generated data sets with different problem sizes are used in the case studies. Number of simulations were
carried out on MDVRPTWSD problem with the heuristics such as SATS, SA and TS. As reported in Table 1
SATS shows significant improvement in initial solution than other two algorithms. Moreover, newly developed
SATS algorithm could generate a promising solution considerably less computational time. Therefore, it is
convinced that combination of characteristics of two heuristics leads to promising solution. In addition, comparison
between results from TS and SA reveals that, TS is outperform in solution quality.
Dharmapriya, Siyambalapitiya, Kulathunga.

Table 1 : Comparison between TS, SA and SATS heuristics


Problem Case Parameters Heuristics
size No. of vehicle /Collection (Distance/ Computational time(s))
Initial TS SA SATS
20 1 4/150 103/7.99 72/154.39 94/79.97 84/73.31
2 6/ 210 135/ 9.02 100/150 145/166.7 95/110
3 5/195 150/ 9.12 135/232 142/243 120/134
35 1 7/249 79/9.73 69/396 117/486 74/289
2 7/268 91/10.43 84/112.12 131/154 79/100.77
3 8/300 110/11.11 100/132 111/168.68 90/122
50 1 8/318 142/13.12 130/134 135/189 122/102
2 7/ 250 89/9.45 80/112 84/166 75/90
3 10/355 105/12.13 93/98.15 102/102.56 89/96.77

6. Conclusions
In this paper, MDVRPTWSD problem is solved using different heuristics such as TS, SA and SATS where SATS is
a heuristic which consists of characteristics in TS and SA. Once initial solution is generated by greedy approach,
based on traveling distance, time window and order size, the meta heuristic techniques were used to find near
optimal solution. Numbers of experiments were conducted to investigate how each heuristic techniques perform on
the problem. The results reveal that the number of vehicle and total travelled distance can be reduced significantly
by SATS compare to SA and TS. Thereby, it can be concluded that hybrid algorithms perform well in complex
problems.

References
1. Telfar, G.(2004), “Generally Applicable Heuristics for global optimization: An investigation of Algorithms
Performance for the Euclidean Traveling Salesman Problem”
2. William, H., George T.S. H., Ping, J., Henry, C.W.L.(2008) “A hybrid genetic algorithm for the multi-
depot vehicle routing problem”, Engineering Applications of Artificial Intelligence, Vol.21 ,pp. 548–557.
3. Suk-Tae,B.,Heung,S., Hwang,Gyu-Sung,C.,Meng-Jong,G.(2007), “Integrated GA-VRP solver for multi-
depot system”,Computers & Industrial Engineering,Vol. 53,pp. 233–240
4. Mingzhou,J., Kai,L., Royce, O.B.(2007), “A two-stage algorithm with valid inequalities for the split
delivery vehicle routing problem”, Int. J. Production Economics, Vol.105,pp. 228–242
5. Patrıcia,B., Hugo,T.Y.Y.(2008), “Scatter search for a real-life heterogeneous fleet vehicle routing problem
with time windows and split deliveries in Brazil,” European Journal of Operational Research.
6. Bent.R, Hentenryck.P.V. (2004), “ A two-stage hybrid local search for the vehicle routing problem with
time windows” , Transportation science.

You might also like