Professional Documents
Culture Documents
Log 1
Log 1
DOI 10.1007/s00170-003-1639-5
O R I GI N A L A R T IC L E
S. C. Liu Æ S. B. Lee
Received: 23 December 2002 / Accepted: 23 December 2002 / Published online: 30 August 2003
Springer-Verlag London Limited 2003
that customer. Constraints (8)–(10) insure the inte- q_cmt is the number of customers in Vt, di is the
grality of decision variables. demand of customer i in Vt and (xi, yi) is the
coordinate of customer i for i=1 to q_cmt).
Step 7. (1) Select a depot from E with the shortest path
3 The proposed heuristic method to the centroid of Vr. (2) Put the depot into Vr.
(3) Delete the depot from E. (4) Set r=r+1.
For obtaining a solution for MDLRP taking inventory Step 8. Is r greater than k? If yes, go to step 9. Other-
control decisions into consideration, a two-phase heu- wise, go to step 7.
ristic method is proposed in this paper. Phase 1 finds the Step 9. (1) Compute the total system cost SC (It can be
initial solution using route-first, location-allocation computed based on the objective function
second approach based on minimal system cost. Phase 2 mentioned in 2.2). (2) Set the initial solution SC
develops an improvement heuristic search for a better and Vt as the temporary best solution (Let
solution based on the initial solution in phase 1. The SC’=SC and Ut=Vt for 1 £ t £ k).
detailed procedure for this method is as follows (also see
Fig. 2): Phase 2: improving the initial solution
Phase 1: finding the initial solution Step 10. (1) Close a depot with the minimal system cost
SC. (2) Set NOD=NOD—1 (The initial value
Step 1. (1) Set k=1, r=1, MaxSup = vehicle service of NOD is equal to the number of routes k.).
capacity, max_swap=0. (2) Put all customers Step 11. Is SC less than SC’? If yes, set SC’=SC,
into a set F. (3) Put all depots into a set E. Ut=Vt for 1 £ t £ k and go to step 12.
Step 2. (1) Randomly select a customer from F. (2) Put Otherwise, go to step 12.
this customer into the set Vk. (3) Delete the Step 12. Is NOD equal to 1? If yes, go to step 13.
customer from F. Otherwise, go to step 10.
Step 3. Select a customer, W, from F with the minimal Step 13. (1) Set Vt=Ut for 1 £ t £ k. (2) Randomly
marginal cost Cs as the next candidate customer select a closed depot and an open depot from
(For computing Cs, the number of units pro- the best solution and exchange each other (the
duced Qkgh and the order-up-to level Rkgh selected open depot is substituted by the se-
should be calculated first. After these two val- lected closed depot in Vt). (3) Compute the
ues are available, Cs=S(Vk+{W}))S(Vk). total system cost SC.
S(Vk) or S(Vk+{W}) can be computed as fol- Step 14. Is SC less than SC’? If yes, set SC’=SC,
lows: Ut=Vt for 1 £ t £ k and go to step 15.
Otherwise, set max_swap=max_swap+1 and
c þ cm Diskgh go to step 15.
Step 15. Is max_swap greater than a default value
Dkgh Qkgh
þ þ Rkgh ULkgh (usually the default value is set equal to half of
Qkgh 2 number of candidate depots [2])? If yes, go to
Dkgh Dkgh step 16. Otherwise, go to step 13.
hþ þ A þ hs B Rkgh : Step 16. The best solution (SC’ and Ut for 1 £ t £ k) is
Qkgh Qkgh
obtained and stop.
Please refer to Appendix 1 for the detailed
procedure of computing Qkgh and Rkgh).
Step 4. Is the total demand of customers in Vk and the 4 An illustrative example
candidate customer less than or equal to
MaxSup? If yes, (1) put the candidate customer An example is used for illustrating the proposed heu-
into Vk, (2) delete the candidate customer from ristic method. We assume that there are three depots,
F, (3) go to step 5. Otherwise, (1) set k=k+1, D1, D2, and D3 and four customers, C1, C2, C3, and C4.
(2) put the candidate customer into Vk, (3) de- The vehicle dispatching cost is 25 for each time. The
lete the candidate customer from F, (4) go to distance cost is 1/unit distance. The holding cost is 0.5/
step 5. unit/year. The ordering cost is 20 for each order. The
Step 5. Is F empty? If yes, go to step 6. Otherwise, go to shortage cost is 2/unit. The vehicle capacity is 150 units.
step 3. The vehicle service capacity is 1000 units. This is de-
Step 6. Compute the centroid of Vt for 1 £ t £ k. tailed in the following tables:
qPcmt qPcmt
xi di yi di Depots Location (coordinate) Depot establishing cost
Xt ¼ i¼1
P
q cmt ; Yt i¼1
qP cmt
di di
D1 (38, 133) 209
i¼1 i¼1
D2 (22, 76) 467
D3 (174, 193) 143
(Xt, Yt) is the coordinate of the centroid for Vt,
945
Customer Location Demand Demand during lead 1. In route 1 (V1={C2, C1, D3}), (Q, R)=(150, 10.5)
(coordinate) (year) time (uniform distribution) and B(R)=0.01 are deduced based on the procedure
in Appendix 1. The total demand D is 839 (474+ 365).
C1 (155, 98) 474 U[0, 3] The total distance (Dis) is 197.16 and the average total
C2 (178, 191) 365 U[0, 8] demand during lead time is 5.5 ((3+8)/2). Depot
C3 (78, 88) 522 U[0, 6]
C4 (50, 65) 200 U[0, 7] establishing cost for D3 is 143.
Transportation cost: (c+cm·Dis)·(D/Q)
=(25+ 1·197.16)·(839/150)=1242.61.
Inventory cost:
The procedure for the heuristic method is as follows: (Q/2+R)UL)·h++(D/Q)·A+hs· B(R)·(D/Q)=
(150/2+10.5)5.5)·0.5+(839/150)·20
Step 1. (1) Set k=1, r=1, MaxSup=1000, max_ +2·0.01·(839/150)=151.98
swap=0. (2) Put C1, C2, C3, and C4 into F. 2. In route 2 (V2={C3, C4, D2}), (Q, R)=(150, 12.3)
(3) Put D1, D2, and D3 into E. and B(R)=0.02 are deduced based on the procedure
Step 2. (1) Randomly select C2 from F. (2) Put C2 into in Appendix 1. The total demand D is 722 (522+
V1. (3) Delete C2 from F. 200). The total distance (Dis) is 123.59 and the aver-
Step 3. Select C1 from F with the minimal marginal age total demand during lead time is 6.5 ((6+7)/2).
cost Cs as the next candidate customer. Depot establishing cost for D2 is 467.
(Q, R)=(150, 10.5) and B(R)=0.01 for Transportation cost: (c+cm·Dis)·(D/Q)
S(V1+{C1}), and (Q, R)=(150, 2.76) and =(25+ 1·123.59)·(722/150)=715.21.
B(R)=0.01 for S(V1) are deduced based on the Inventory cost:
procedure in Appendix 1. Cs(C1)=S(V1+ (Q/2+R)UL)·h++(D/Q)·A+hs· B(R)·(D/Q)
{C1}))S(V1)=1363.49–785.84=577.65. Cs(C3) =(150/2+12.3)6.5)·0.5+(722/150)· 20
= 810.11 and Cs (C4)=985.68. +2·0.02·(722/150)=136.86
Step 4. The total demand (474+365=839) of the Hence, the total system cost SC=2856.66 (the sum of
customers in V1 (={C2}) and the candidate depot establishing, transportation, and inventory
customer C1 is less than MaxSup. (1) Put C1 costs in V1 and V2).(2) Set SC’=SC, Ut=Vt for
into V1. (2) Delete C1 from F (3) Go to step 5. 1 £ t £ k.
Step 5. F is not empty and go to step 3.
Step 3. Select C3 from F with the minimal marginal
cost Cs as the next candidate customer. Phase 2: improving the initial solution
Step 4. The total demand (474+365+522=1361) of
the customers in V1 (={C2, C1}) and the can- Step 10. (1) Close D2 with the minimal system cost SC
didate customer C3 is greater than MaxSup. (1) (=3511.77). Thus, the first route V1 and the
Set k=k+1=2. (2) Put C3 into V2. (3) Delete second route V2 are delivered by D3. Set
C3 from F. (4) Go to step 5. NOD=NOD)1=1 (The initial value of NOD
Step 5. F is not empty and go to step 3. is equal to the number of routes which is
Step 3. Select C4 from F with the minimal marginal equal to 2.).
cost Cs as the next candidate customer. Step 11. SC is greater than SC’. Go to step 12.
Step 4. The total demand (522+200=722) of the Step 12. NOD is equal to 1. Go to step 13.
customers in V2 (={C3}) and the candidate Step 13. (1) Set Vt=Ut for 1 £ t £ k. (2) Randomly
customer C4 is less than MaxSup. (1) Put C4 select the only closed depot D1 and an open
into V2. (2) Delete C4 from F. (3) Go to step 5. depot D2 from {D2, D3}, and the open depot
Step 5. F is empty and go to step 6. D2 is substituted by D1 in Vt. (3) Compute the
Step 6. Compute the centroid of V1 and V2. total system cost SC.
X1=((155·474)+(178·365))/(474+365)=165,
Y1=((98·474)+(191·365))/(474+365)=
138.46, X2=((78·522)+(50·200))/(522+200) 1. In route 1 (V1={C2, C1, D3}), (Q, R)=(150, 10.5) and
=70.24, Y2=((88·522)+(65·200))/ B(R)=0.01 are deduced based on the procedure in
(522+200)= 81.63. Appendix 1. The total demand D is 839 (474+ 365).
Step 7. (1) Select D3 with the shortest path to the The total distance (Dis) is 197.16 and the average
centroid of V1 (=55.28). (2) Put D3 into V1. (3) total demand during lead time is 5.5 ((3+8)/2).
Delete D3 from E. (4) Set r=r+1=2. Depot establishing cost for D3 is 143.
Step 8. r is equal to k and go to step 7. Transportation cost: (c+cm·Dis)·(D/Q)
Step 7. (1) Select D2 with the shortest path to the =(25+1·197.16)·(839/150) =1242.61.
centroid of V2 (=48.57). (2) Put D2 into V2. (3) Inventory cost:
Delete D2 from E. (4) Set r=r+1= 3. (Q/2+R)UL)·h++(D/Q)·A+ hs·B(R)·(D/Q)
Step 8. r is greater than k and go to step 9. =(150/2+10.5)5.5)·0.5+(839/150)·20
Step 9. (1) Compute the total system cost SC. +2·0.01·(839/150)=151.98
947
2. The second route V2 (={C3, C4, D1}) is delivered by the details). The heuristic methods are coded using the
D1. (Q, R)=(150, 12.3) and B(R)=0.02 are deduced Visual C++ programming language and the tests are
based on the procedure in Appendix 1. The total carried out on a PC Pentium 1.4G.
demand D is 522+200=722. The total distance (Dis) Considering all possible combinations of problem
is 165.49 and the average total demand during lead parameters and algorithmic parameters (The detailed
time is (6+7)/2=6.5. values are listed in Table 1), 144 different problem in-
Depot establishing cost for D1 is 209. stances (32·24) were designed to evaluate the perfor-
Transportation cost: mance of the heuristic solutions. Each problem instance
(c+cm·Dis)·(D/Q)=(25+1·165.49)·(722/150) contained 5 tests. The demand for each customer in any
=916.89. test is randomly selected from a uniform distribution
Inventory cost: U[450, 600] for each month. The demand during lead
(Q/2+R)UL)·h++(D/Q)· A+hs·B(R)·(D/Q) time for each customer is randomly selected from a
=(150/2+12.3)6.5)·0.5+(722/150)·20 uniform distribution U [0, 10]. The location (x, y) of
+2·0.02 (722/150)=136.86 each customer and candidate depot is randomly selected
from a uniform distribution U[0, 100]. The other rele-
The total system cost SC is 2800.34. vant cost values are listed in Table 2 [15].
Table 3 shows the average solutions and average
Step 14: SC is less than SC’, set SC’=SC and Ut=Vt CPU times for this proposed heuristic method and two
for 1 £ t £ k. Go to step 15. other heuristic methods described earlier. It is found
Step 15: max_swap (=0) is less than the default value HM-1 is better than HM-2 and HM-3 in any problems.
(= number of candidate depots/2 = 3/2). When the number of candidate depots increases, the
Thus, go to step 13. total system costs for all the three heuristic solutions
Step 13. (1) Set Vt=Ut for 1 £ t £ k. (2) Randomly decrease. When the number of customers increases, the
select the only closed depot D2 and an open total system costs for all the three heuristic solutions
depot D3 from {D1, D3}, and then the open increase. When vehicle service capacity increases, the
depot D3 is substituted by D2 in Vt. (3) total system costs for all the three heuristic solutions
Compute the total system cost SC (=3621). increase. When vehicle capacity increases, the total sys-
Step 14. SC is greater than SC’ (=2800.34). Set tem costs for all the three heuristic solutions decrease.
max_swap=max_swap+1=1. Go to step 15. When distance cost and depot establishing cost increase
Step 15: max_swap (=1) is less than the default value. (the ratio of distance cost and depot establishing cost to
Thus, go to step 13. inventory cost becomes high) in the cost structure, the
Step 13. (1) Set Vt=Ut for 1 £ t £ k. (2) Randomly total system costs for all the three heuristic solutions
select the only closed depot D2 and an open increase. In addition, HM-1 and HM-2 are better than
depot D1 from {D1, D3}, and then the open HM-3 in terms of average CPU time. However, these
depot D1 is substituted by D2 in Vt. (3) three methods are efficient (all average CPU times in
Compute the total system cost SC Table 3 are less than 60 seconds). The CPU time of HM-
(=2856.66).
Step 14. SC is greater than SC’ (=2800.34). Set
max_swap=max_swap+1=2. Go to step 15.
Table 1 The parameters and their values in different problem in-
Step 15: max_swap (=2) is greater than the default stances
value. Thus, go to step 16.
Step 16: The best solution SC’ is 2800.34, U1={C2, Parameters Values
C1, D3}, U2={C3, C4, D1} and stop.
Method used HM-1, HM-2, HM-3
The solution for the proposed heuristic method is Number of depots 20, 10
2800.34. The optimal solution is 2800.34 based on the Number of customers 200, 150, 100
LP model in 2.2. It is found the optimal solution can be Vehicle service capacity 4000, 3000
Vehicle capacity 300, 150
obtained by the proposed heuristic method for this Cost structure (depot establishing 1200:2:2(High),
small-sized problem. cost: distance cost: shortage cost) 600:1:2(Low)
5 Comparative evaluations Table 2 The other relevant cost values used in different problem
instances
Numerical experiments were conducted to examine the Parameters Values
computational effectiveness and efficiency of the pro-
posed heuristic method (HM-1) by comparing it with Ordering cost 20
two existing heuristic methods: HM-2 (SAV1 [1], please Vehicle dispatching cost 25
refer to Appendix 2 for the details) and HM-3 (a tabu Shortage cost 2
Holding cost 0.5
search proposed by [2], please refer to Appendix 3 for
948
3 increases when the problem size (number of candidate proposed two-phase heuristic method is better than
depots and number of customers) increases. those not taking inventory into consideration in terms of
system cost and CPU time.
Two related research directions are as follows: (1)
6 Conclusions develop a model and methods for the multi-product
multi-depot location-routing problem, and (2) develop
The inventory control decision seems ignored in most an optimal solution for the single-product multi-depot
MDLRP research. In this paper, we have developed an location-routing problem.
effective and efficient heuristic method for the single-
product multi-depot location-routing problem taking
inventory control decisions into consideration, which 7 Appendix 1
still remains computationally intractable. This proposed
heuristic method overcomes the problem of not taking The procedure proposed by [13] is used to deduce Qkgh
inventory into consideration. The solution of the and Rkgh as follows:
949
10. Min H, Jayaraman V, Srivastava R (1998) Combined location- 13. Hadely G, Whitin T (1963) Analysis of inventory systems.
routing problems: a synthesis and future research directions. Prentice Hall, Englewood Cliffs
Eur J Oper Res 108:1–15 14. Tersine RT (1994) Principles of inventory and materials man-
11. Perl J, Daskin MS (1985) A warehouse location-routing agement. Prentice Hall, Englewood Cliffs
problem. Transp Res 19:381–396 15. Yale TH, Roberto L (1997) The metered inventory routing
12. Renaud J, Laporte G, Boctor FF (1996) A tabu search heuristic problem, an integrative heuristic algorithm. Int J Prod Econ
for the multi-depot vehicle routing problem. Comput Oper Res 51:69–81
23229–235