Two-Phase Particle Swarm Optimization For Multi-Depot Location-Routing Problem
Two-Phase Particle Swarm Optimization For Multi-Depot Location-Routing Problem
Two-Phase Particle Swarm Optimization For Multi-Depot Location-Routing Problem
CHEN Zi-Xia
School of Computer & Information Engineering
Zhejiang Gongshang University
Hangzhou, P R China
[email protected]
independently, and Min H,J.[7] synthesizes the past research
and suggests some future research directions for the LRP.
This paper divides the original LRP into two level
problems, i.e., one is the location-allocation problem and the
other is general vehicle routing problem. Each sub-problem
is then solved in a sequential and iterative manner by the
particle swarm optimization method embedded in the
general framework for the problem-solving procedure.
Particle swarm optimization(PSO) method is developed by
Kennedy and Eberhart [10], PSO is an evolutionary
algorithm that simulates the social behavior of bird flocking
to a desired place, which follows a collaborative populationbased search model, each individual of the population,
called a particle, flies around in a multidimensional search
space looking for the optimal solution. Particle, then, may
adjust their position according to their own and their
neighboring-particles experience, PSO starts with initial
solutions and updates them from iteration to iteration. PSO
has many advantages over other heuristic techniques such
that it can be implemented in a few lines of computer code,
it requires only primitive mathematical operators, and it has
great capability of escaping local optima. From our survey,
ours is the first attempt in proposing a PSO algorithm for
the Location-Routing problem.
I.
(3)
(4)
(5)
(6)
II.
kV
(1)
iG jH
subject to
X pjk = 0, k V , p S
ijk
= 1,
j H
(2)
kV iS
iH jH
ipk
iS
X ijk Qk ,
k V
(3)
(4)
jS
ijk
1,
k V
(5)
pqk
+Y p +Y q 2 p, q G
(6)
ijk
Yi 0, i G
kV
(8)
rG jH
k V , i G
A. Two-phase approach
In this paper a heuristic method which decomposes the
MWLRP into the following two sub- problems is proposed:
Phase 1. Location-allocation problem (LAP). Phase 2.
Vehicle Routing problem (VRP).These sub-problems can be
solved by either optimization techniques or heuristic
methods iteratively and at the same time, the dependence
between each sub-problem can be considered. In each
iteration, current routes are unified to include more
customers and allocated to selected.
warehouses while
taking into account the capacity restrictions of the
warehouses. Since both LAP and VRP are well-known
combinatorial optimization problems, heuristic methods that
give quick and good solutions have been presented. In the
1rst iteration, the solutions of the LAP are some selected DC
sites (only necessary ones, not all) and a plan for allocating
customers to each chosen DC site. Notice that the calculation
of the distance for the LAP in this iteration (the "rst) is based
on the `moment-suma equation used by the traditional
location problems. These solutions are then used as input to
the VRP to generate a starting feasible set of routes. At this
moment it is very possible that the number of DCs
established can still be reduced. To achieve this objective,
each current route consisting of several customers is viewed
as a single node with the demand represented by the sum of
demands of all customers in that route. These `big nodesa are
then consolidated for reducing the number of DCs
established and, thus, the total cost. The consolidation
process starts from the second iteration and is performed by
the LAP module, followed by the VRP module. This
procedure is repeated until the convergence criterion is
met.Maintaining the Integrity of the Specifications.
iG jH kV
+ Fk xijk )
Yi 0,
f ( x) = min( Gi y i + C ij X i jk
iG
ijk
jH
(7)
kV jH
241
rij = ( xi x j ) 2 + ( yi y j ) 2 , i G, j H
1) if
j =1
k =1
d j > qk or
j =1
+ c 2 r2 ( X G X i (t 1)
X i(t ) = Vi (t ) + X i (t 1)
(11)
(12)
Where i=1,2,,P, and P means the total number of the
particles in a swarm, which is called population size;
t=1,2,,T, and T means the iteration limit;
L
X iL = {xiL1 , xiL2 ,L, xiM
} represents the local best of the
ith particle encountered after t-1 iterations, while
X G = {x1G , x 2G ,L, x mG } represents the global best among
all the swarm of particles achieved so far. c1 and c2 are
positive constants(namely, learning factors), and r1 and r2 are
random numbers between 0 and 1; w(t) is the inertia weight
used to control the impact of the previous velocities on the
current velocity, influencing the trade-off between the global
and local experiences.
D. Routing phase
In each iteration, followed by the location phase, i.e. ,
given a current facilities configuration, a routing phase is
started. This paper presented a novel particle swarm
optimization algorithm for the VRP.
(1) The particle representation
In this section, we describe the formulation of a PSO
algorithm for the VRP, one of the key issues in designing a
successful PSO algorithm is the representation step, i.e.
finding a suitable mapping between problem solution and
PSO particle. In this paper, we reference the method in
literatures[11,12] and setup a 2N-dimension search space, N
is the number of customer to be served, 2N-dimension
particle X can be regarded as two N-dimension vectors: the
elements of Xv stand for the customers are served by
different vehicle, and the element of Xr stand for the serves
priority in the route of relevant vehicle. For example, in a
given location configuration, there are 4 vehicle in depot i
and 10 customers to be served, if a solution can be
represented as the particle in table 1, then we should turn the
Xv into integer, and if Xvi=Xvj(i,j=1,2,10),sort the order
according to Xr, which is showed in table 2.
C .location phase
In the location phase, our purpose is to determine a good
configuration of facilities to used in the distribution. For
each of the location configurations visited during the
location phase, the routing phase is started in order to update
the routing according to the new configuration. Since only a
certain section of the routing is affected by the change in the
depot configuration, it is possible to restrict the search to
routing, thus, the routing phase is a localized search, as
opposed to a global exploration of all routing moves, this
eliminates a lot of unnecessary computation, and allows the
two phase algorithm to find good solutions within
reasonable computation time. Now, we define the element
of location phase.
(0) initialization of location:
Suppose the positions of m candidate facilities are
PF1(x1 ,y1), PF2(x2,y2),,PFm(Xm,ym), the distance of any
PFi(xi ,yi) and PFj(xj ,yj) is dij:
d ij = ( xi x j ) 2 + ( yi y j ) 2
Ri is the radius of cover area of facility i,
Ri = 1 / 2 min(d ij | j G {i}) i G
242
TABLE I.
customer 1 2 3 4 5 6 7 8 9 10
Xv
1. 2 2. 1 1. 1 2. 5 3. 2 2. 2 3. 7 2. 7 3. 1 1. 2
Xr
1. 2 3. 4 5. 6 8. 1 2. 3 4. 6 2. 1 6. 2 4. 8 8. 1
SHORT THE ORDER OF THE SOLUTIN IN
TABLE II.
PARTICLE
customer 1
Xv
1
Xr
1
2
2
1
3
1
2
4
2
4
5
3
2
6
2
2
7
3
1
8
2
3
9 10
3 1
3 3
F ( x) = min( Gi y i + C ij X i jk +
iG
F x
k
kV
iG jH
iG jH kV
ijk
i =1
i =1
III.
4.EXPERIMENTAL RESULT
Vehicle type
Vehi cl e capaci ty
Fixed cost of vehicle using
Type 1
Type 2
Type 3
100
60
40
4 / Ton. Km
1200(high), 700(low)
TABLE IV.
W(t)
C1
C2
Population
Size
1.5
100
Penalty
coefficient R
108
Maximum
iterations
50
REFERENCES
number number of
of depots customers
10
100
10
150
10
180
10
200
10
220
20
100
20
150
20
180
20
200
20
250
25
200
25
220
25
250
25
300
25
350
CONCLUSION
Tabu Search
Based PSO
cost cpu
cost
cpu
79542
8 79238
9
121564
10 110256
10
156325
11 152357
11
162321
13 160241
14
173243
14 172314
14
67356
7 67135
7
102325
9 110234
8
121325
11 121034
10
134241
12 128967
12
142315
14 147782
15
124531
14 122215
14
131025
15 130021
16
150124
15 145781
15
162437
17 161325
17
180219
19 179324
18
244
245