Cyclic Schedules Powers-Of-Two Policies: 4 Coordinated Replenishments
Cyclic Schedules Powers-Of-Two Policies: 4 Coordinated Replenishments
cyclic
schedules
powers-of-two policies
1 T T *
*
*
2 T
T
C
C
(4.2)
T 2m q
(4.3)
Worst scenario:
Because the cost is convex, the worst possible error must
occur when two consecutive values of m, say m = k and m =
k + 1 give the same error. Let T < T* correspond to m = k, and
2T > T* to m = k + 1.
1 T T *
1 2T T *
*
*
*
2 T
T
2 T
2T
C
C
T*
Setting
x gives x 2 .
T
(4.4)
T * 2T
* 2
T T
1 1
2 1.06
*
2 2
C
(4.5)
.
(4.6)
T
T2
T1
T*
2T2 2T 2T1
T*
2
*
C
Ci
i 1
N
C
i 1
*
*
C
(
C
/
C
i i i)
i 1
*
C
i
*
i
Ci*
*
C
i
i 1
Ci
*
C
i
w e( x )
i 1
(4.7)
e
(
x
)
(
2
2
),
1 / 2 x i 1 / 2,
i
*
2
Ci
Ti / Ti* 2 x i (1 / 2 x i 1 / 2) The weights wi for the different
values of xi , C *i / iN1 C *i can be seen as a probability distribution
F(x) on [-1/2, 1/2], i.e., F(-1/2) = 0 and F(1/2) = 1.
C
C*
1/ 2
e( x )dF( x )
1 / 2
(4.9)
Change q by multiplying by 2y , 0 y 1. This means that
a certain x is replaced by x + y for x + y , , and by x + y - 1
for x + y > .
*
Each Ti 2 Ti 2 q
xi
xi
2 Ti
mi
mi
( xi mi )
Ti
2
y
Let q( y ) q 2 , 0 y 1, q(0) 1
Ti 2 q( y ) 2 q 2 2
'
mi
mi
mi y
xi
2 Ti
xi y *
2 Ti
mi
2
Ti 2
Ti ' xi y 1
2
T*
2
'
Ti ( y )
Ti ( y )
*
Ti
C
C
2
2
xi y
1
2
1
if xi y
2
if xi y
T*
1
if xi y
2
1
if xi y
2
xi y
xi y 1
1 / 2 y
1/ 2
1 / 2
1 / 2 y
( y) e( x y)dF( x )
1/ 2
y 1 / 2
y 1 / 2
1 / 2
e(u )dF(u y)
e( x y 1)dF( x )
(4.10)
For a given distribution F(x) the minimum cost increase is
obtained by minimizing (4.10) with respect to 0 y 1.
0 y 1 C
( y)
e(u )
1 / 2
1/ 2
1/ 2
e(u )dF(u y)
0 y 1 / 2
y 1 / 2
e(u )dF(u y 1) dy
1 / 2
dF
(
u
y
)
dF
(
u
1
)
du
0
u 1 / 2
u 1 / 2
1/ 2
1/ 2
1 / 2
1 / 2
1
2 ln 2
1.02
u
1
1/2
y
0
1
2
1
y=u+
2
u = y-
-1/2
1/ 2
y 1 / 2
u 1 / 2
Given y
Given u
1 1/ 2
0 y 1 / 2
1/ 2
u 1 / 2
1 / 2 0
1/ 2
1 / 2
1/ 2
1 / 2
e(u )
u 1 / 2
dF (u y )du
u
1
2
e(u )[ F (u y )]0 du
1
e(u )[ F (u ) F ( )] du
1 / 2
2
1/ 2
1/ 2
1 / 2
e(u )F (u )du
1
Note F ( ) 0
2
u
1
1/2
1
2
1
y u
2
u y
-1/2
y 1 / 2
1 / 2
1
u
2
Given y
Given u
y 1 / 2
y 1 / 2 1
0 1 / 2
1 / 2
1/ 2
1 / 2
1/ 2
u 1 / 2
1 / 2
e(u )
u 1 / 2
y 1 / 2
1 / 2
dF (u y 1)du
1
e(u )[ F (u ) F ( )] du
2
1
Note F ( ) 1
2
Notation:
N = number of items,
hi = holding cost per unit and time unit for item i,
Ai = ordering or setup cost for item i,
di = demand per time unit,
pi = production rate (pi > di),
si = setup time in the production facility for item i,
independent of the sequence of the items,
Ti = cycle time for item i (the batch quantity Qi = Tidi).
Define:
i = di/pi ,
i = i Ti = production time per batch for item i
excluding setup time,
i = si + i = total production time per batch for item i.
Table 4.1 N = 10
Bomberger (1966) Table 4.1 Bombergers
problem (time unit = one day).
Ai
Ti
Ci
h i d i (1 i )
Ti
2
. (4.11)
Ti
2A i
h i d i (1 i )
C i 2A i h i d i (1 i )
(4.12)
(4.13)
10
Ti
167.5
37.7
39.3
19.5
49.7
106.6
204.3
20.5
61.5
39.3
Ci
0.179
1.060
1.528
1.024
4.428
0.938
3.034
12.668
6.506
0.255
2.36
2.01
3.56
4.29
2.49
1.67
3.04
5.87
11.20
1.17
C 10
i 1 C i 31.62
Solution
9.30
Item 9
11.20
t
t+20.5
t+61.5
Not feasible
i 1
i 1
.
(4.14)
Condition (4.14) is also sufficient for feasibility.
Given the assumption of a common cycle time, the problem
now is to minimize
T
Ai
C
h i d i (1 i )
2
i 1 T
N
(4.15)
i (s i i T) T
i 1
i 1
(4.16)
s
i 1
N
1 i
Tmin
i 1
(4.17)
i
1-
i 1
2 Ai
i 1
h d (1 )
i
. (4.18)
Since (4.15) is convex in T the optimal solution,
i 1
,
(4.19)
For Bombergers problem, Tmin = 31.86, and consequently,
Topt T 42.75 , T 42.75 . cost=41.17.
For problems where the individual cycle times are reasonably
similar, the common cycle approach gives a very good
approximation. Ci* 31.62 C * 41.17
Bomberger (1966)
Assuming
Ti = niW
W should be able to accommodate production of
all items.
, (4.20)
where Ci(niW) are the costs (4.11) for item i with Ti = niW,
i = si + iniW, and the integer ni is subject to the constraint
ni
1 n i (w s i ) / i W
(4.21)
or w si i niW
Note that the upper bound in (4.21) is equivalent to i w.
FN(w) = 0 for all w 0. F0(W) gives the minimum costs when
the basic period is equal to W.
II. Heuristic
Doll and Whybark, 1973).
The procedure is to successively improve the
multipliers ni and the basic period W according to
the following iterative procedure:
1. Determine the independent solution and use the
shortest cycle time as the initial basic period W.
2. Given W, choose powers-of-two multipliers,
(ni = 2mi, mi 0), to minimize the item costs (4.11).
W
2
i 1
N
with respect to W.
N
2 Ai / ni
i 1
h i d i (1 i )n i
i 1
10
ni
2.62
2.47
4.19
5.12
2.37
1.50
2.87
6.63
8.71
1.37
Production
time
4, 8, 2, 9
22.93
4, 8, 3, 5, 10, 1
22.30
4, 8, 2, 9
22.93
4, 8, 3, 5, 10, 6
21.18
4, 8, 2, 9
22.93
4, 8, 3, 5, 10, 7
22.55
4, 8, 2, 9
22.93
4, 8, 3, 5, 10, 6
21.18
Basic period
Assume:
The batches arrive at the machine as a Poisson process
with rate = D/Q. Thus Av demand=Q=D.
The processing time is exponentially distributed.
average processing time for a batch is 1/ = t + Q/P.
Service rate = . = l / = Dt/Q + D/P.
The average time spent in the M/M/1 system is
1/
t Q/P
T
1 1 Dt / Q D / P
. (4.22)
Assume that the average holding cost per unit and time
unit for work-in-process is exactly half of the holding
cost h after the process. Av cycle stock = Q/2. Total holding
cost after the process=hQ/2.
Work-in-process TD=Av time in the system * Av demand
h
h
Dt DQ / P
Q
min (TD Q) min
Q0 2
Q0 2 1 Dt / Q D / P
2Dt
Q
1 D/ P
.(4.23)
(4.24)
Notation:
N = number of items,
hi = holding cost per unit and time unit for item i,
A = setup cost for the group,
ai = setup cost for item i,
di = demand per time unit for item i,
Ti = cycle time for item i.
i = hidi
Assume all demands equal to one. Items are
ordered so that a1/1 a2/ 2 ... aN/N .
Note that increasing setup costs and decreasing
holding costs mean increasing lot sizes and cycle
times.
, (4.25)
i.e., T1 would be the smallest cycle time. Assume other cycle
times of items 2, 3... N are integer multiples ni of the cycle time
for item 1,
Ti n i T1
, i = 2, 3,..., N. (4.26)
Our objective is to minimize w.r.t T1, n2, n3, ... nN the cost.
N
A a1 a i / n i
i2
T1
Fix cost
T1 (1 i n i )
i2
2
ith item holding cost=Tinii/2
,(4.27)
T1* (n 2 , n 3 ,..., n N )
2( A a 1 a i / n i )
i2
, (4.28)
1 i n i
i2
. (4.29)
Note that T1 is not chosen according to (4.25). If we disregard
n2, n3... nN to be integers, then from (4.29),
i2
i2
ai
1
ni
i (A a 1 )
. (4.30)
From (4.30) and (4.29), the lower bound for the costs:
N
C 2(A a 1 )1 2a i i
i2
.(4.31)
HEURISTIC
1. Determine start values of n2, n3... nN by rounding
(4.30) to the closest positive integers.
2. Determine the corresponding T1 from (4.28).
3. Given T1, minimize (4.27) with respect to n2, n3... nN.
This means that we are choosing ni as the positive
integer satisfying
2ai
ni (ni 1)
ni (ni 1)
2
iT1
2ai
dC
2
Note :
0 gives ni
; C is convex.
2
dni
iT1
. (4.32)
Return to Step 2, if any multiplier ni has changed since the last
iteration.
Example 4.1
N = 4 , A = 300, a1 = a2 = a3 = a4 = 50, h1 = h2 = h3
= h4 = 10, d1 = 5000, d2 = 1000, d3 = 700, and
d4 = 100. As requested, ai/i is nondecreasing with
i. When applying the heuristic we obtain
50
5000 10
n2
1, n 3 1, n 4 3
1000 10 350
2 (350 50 50 50 / 3)
T1
0.1155
10 5000 10 1000 10 700 10 100 3
i = 1, 2, ..., N, (4.33)
where ki is a nonnegative integer. Let a0 = A, and 0 = 0,
Ti
1
min i
ai
T0 ,T1 ,..., TN i 0
2
Ti
, (4.34)
subject to the constraints (4.33). replacing (4.33) by
N
Ti T0
i = 1, 2, ..., N.
(4.35)
max
min
Ti
1 N
i a i i (T0 Ti )
2
Ti i 1
i 0
N
, (4.36)
1 = 1 - 21,
.
.
.
N =N - 2N.
(4.37)
min
T0 ,T1 ,...,TN
Ti
1
ai
i
2
Ti
i 0
N
(4.38)
Ti 2 q
(4.39)
Ti Ti 1
,
i = 1, 2, ..., N.
(4.40)
Since 0 = 0 we will always aggregate items 0 and 1. After
aggregation we have an item with cost parameters A + a1 and
1. Next we check whether a2/2 < (A + a1)/1. If this is the
case the aggregate item should include also item 2, etc. When
no more aggregations are possible we can optimize the
resulting aggregate items individually.
Example 4.2
N = 4, A = 300, a1 = a2 = a3 = a4 = 50, h1 =
50000, h2 = 10000, h3 = 7000, and h4 = 1000.
Both of the approaches considered assume
constant demand, but can also be used in case
of stochastic demand.
Viswanathan (1997)
First step: disregard the joint setup cost and consider
the items individually for a suitable grid of review
periods T. For each review period, determine the
optimal individual (s, S) policies for all items and the
corresponding average costs.
Ci(T) = average costs per time unit for item i when
using the optimal individual (s, S) policy with a review
interval of T time units.
C( T ) A / T C i ( T )
i 1
(4.41)
5 MULTI-ECHELON SYSTEMS
5.1 Inventory systems in distribution and production
Distribution: Warehouse
Store
Production: Subassembly
Final product
Central warehouse
Retailers
7
1
5
8
Example 5.1
Table 5.1 Installation and echelon stock inventory
positions in Figure 5.6.
Item
Echelon stock
inventory position
1
2
3
4
5
2
3
5
5
7
3
28
.......
Final product
Raw material
Increasing batch sizes
IPne 0satisfying
R en IPne0 R en Q n
(5.2)
An installation stock policy is always nested. Installation n
may order only if (n-1) has just ordered. Echelon IP at n is
only changed by final demand at 1 and replenishment order at
n.
Assuming:
IP i 0 R in is an integer multiple of Qn-1.
n
(R ik Q k ) .
(5.3)
k 1
R in
n 1
(R ik Q k )
k 1
(5.4)
R
For installation 1, 1 1
For installation n > 1, immediately after ordering
(5.5)
Therefore,
Assume
Example 5.3
a serial system (Figure 5.7), N = 2, Q1 = 50, Q2 =100.
final demand at installation 1 =50. lead-time at
installation 1 is one, at installation 2 is 0.5. No shortages
allowed, holding costs at installation 1 are higher than at
installation 2.
LT=0.5, R2e =25+50=75,
IP20(0.5)=0.
50
0
Time
50
1
Time
2(1)
3(1)
Period
Lead-time = 1
Gross
requirements
10
Order quantity = 25
Scheduled receipts
Safety stock
=5
Projected
inventory
Net requirements
25 10
20
-18
-23
20
8
10
25
22 12 37 12
-23
-33
10
Period
Lead-time = 1
Gross requirements
10
Order quantity = 25
Scheduled receipts
Safety stock
=5
Projected inventory 22 12 37 12 27
7 27 27 17
Planned orders
25
25 10 20 5
8
10
25
25
Figure 5.10
Material requirements
planning for items 1,
2, and 3 in Figure 5.9.
safety time
Table 5.5 MRP record for item 1 with a safety time.
Item 1
Period
Lead-time = 1
Gross requirements
10
Order quantity = 25
Scheduled receipts
Safety stock
=5
Projected
inventory
Safety time
=1
Planned orders
25 10 20
8
10
25
22 12 37 37 27 32 27 27 17
25
25
Q1
d
A1
2
Q1
2A 1 d
8
h1
(5.7)
C1 2A 1dh 1 40
Q 2 k Q1
where k is a positive integer.
.
, (5.8)
Time
Time
(k 1)Q1
d
C2 h 2
A2
2
k Q1
1
k
Q1
*
(5.9)
2A 2 d
h2
C C1 C2 (h1 (k 1)h 2 )
Q1
A
d
(A1 2 )
2
k Q1
. (5.10)
Alternatively, use the echelon holding costs e1 = h1 - h2,
and e2 = h2,
C1e e1
C e2
C
Q1
d
A1
2
Q1
kQ1
d
e2
A2
2
kQ1
C1e
C e2
(5.11)
(5.12)
Q1
A2 d
(e 1 k e 2 )
(A 1
)
2
k Q1
, (5.13)
Q1
A2
)d
k
e1 k e 2
2(A1
A2
C(k ) 2(A1
)d (e1 k e 2 )
k
(5.14)
.
A 2 e1
C (k ) 2d (A1e1 A 2 e 2 A1e 2 k
)
k
2
k*
A 2 e1
A 1e 2
(5.15)
(5.16)
.
(5.17)
If k* < 1 it is optimal to choose k = 1. If k* > 1. Let k be the
largest integer less or equal to k*, i.e., k k* < k + 1, it is
optimal to choose k = k if k*/k (k + 1)/k*, otherwise k = k
+ 1.
Example 5.5
d = 8, A1 = 20, A2 = 80, h1 = 5, h2 = 4.
e1 = h1 - h2 = 1, e2 = h2 = 4. From (5.17), k* = 1.
*
*
*
*
,
Q
17
.
89
Q
kQ
Q
17.89
1
2
1
1
Applying (5.14) and (5.15),
and C* 89.44, about 7 percent lower than the costs obtained
in Example 5.4.
(5.14) and (5.15) are essentially equivalent to the
corresponding expressions (3.3) and (3.4) for the classical
economic order quantity model.
A1 = A1 + A2/k ,
(5.18)
h 1 = e1 + ke2.
(5.19)
x: initial inventory,
y: inventory position (on hand + on order-backorder),
: random demand, () , (),
(y- )+: ending inventory position, N.B.L,
(y- ) : ending inventory position, B.L,
=1/(1+r) : discount factor,
ordering cost : c(y-x),
holding cost : h (y- )+
penalty cost : p( -y)+
salvage cost : - s(y- )+
y x
p
p s
( y) ( )d
y
y x
( y ) ( )d
min c( y x) L( y )
(2)
S x,
0,
If x S
otherwise
c (h s ) ( y ) ( pp s )(1 ( y )) 0
cu
pc
N .B.L ( y )
( p c ) ( c h s ) cu c o
B.L
cu
p c(1 )
( y)
[ p c(1 )] (c h s ) cu co
( 5a )
( 5b)
Example
c=$1, h=1 per month, =0.99, p=$2(NBL), p=$0.25(BL),
s=50 , c+h- s=51.5 ,
NBL: p-c = 100 , BL: p-c(1- )=24 ,
100
(i ) ( y )
0.66, y 1 (0.66)
100 51.5
24
(ii ) ( y )
0.32, y 1 (0.32)
24 51.5
Set up cost K
f ( x) min K ( y x) c( y x) L( y )
y x
cost
L(x)+cx
K+c(S-x)+L(S)
K
c
L(x)
s
order y-x
if x s
order nothing
if x > s
Multiperiod models
f 2 ( x) min c( y x) L( y )
y x
f ( y ) ( )d
0
f ( x) min c( y x ) L( y )
y x
f ( y ) ( ) d
( 9)
Taking derivative of {}
0 c L' ( S )
f ' (S ) ( )d
(10)
f (S ) ( )d
0
(11)
(12)
which reduce to
L' ( S ) c(1 ) 0 B.L
similarly for N.B.L
L' ( S ) c(1 ( S )) 0
(13)
(18)
Proportional costs:
L( y ) h
( y ) ( )d p
( y ) ( )d
So that
L ' ( S ) ( h p ) ( S ) p
(19)
( p c) h c(1 ) cu co
(20a )
cu
p c(1 )
p c(1 ) h c(1 ) cu co
(20b)
N .B.L : ( S )
B.L : ( S )
Remark :
Lead time, Setup cost more complicated, still (s, S) policy
Example 4:
cu 20, co 5
cu
20
4
(S )
cu co 5 20 5
S 1800
Example 5:
1
( ) e
25
L( y )
3 1
10 25
3
3 2
15, c 1, h( z )
z , z 0, p(z) z , z 0
10
2
h( y ) ( )d
y
1882.5e
25 , K
( y )e
y
25
25 d
0.3 y 7.5
p( y ) ( )d
y
3 1
2 25
2
( y ) e 25 d
dL( y )
75.25e
dy
y
25
0.3
dL( y )
c
1 0.3 75.25e
dy y S
S
25
S 101.5
Cs L( s ) K cS L( S )
s 1882.5e
S
25
Succesive approximation :
s 80.5
The optimal policy :
q
101.5 x
if x 80.5
0
otherwise
S
25
0.3S 7.5
c1 ( x1 )
if x1 y10
L ( x1 )
0
c ( y1 x1 ) L ( y1 )
c1 ( x1 ) c1 ( y 2 D2 )
if x1 y10
L ( y 2 D2 )
if y 2 D2 y10
c ( y10 y 2 D2 ) L ( y10 ) if y 2 D2 y10
E (c1 ( x1 ))
c (y
0
y 2 y10
) ( )d
L( y 2 ) ( )d
0
0
[
c
(
y
L
(
y
1
2
2 1 )] ( ) d
0
y 2 y1
c2 ( x2 ) min c2 ( y 2 x2 ) L( y 2 ) E[c1 ( x1 )]
y 2 x2
which is convex
( )
1
10
0
if 0 10
otherwise
Solution:
( y10 )
p c 15 10 1
p h 15 10 5
0
y
Since ( y10 ) 1 , y10 2
10
10 15( z )
z10( z )
L( z )
d
d
z
0
10
10
75 15 z (5 / 4) z 2
y2 2
1
[75 15( y 2 ) (5 / 4)( y 2 ) ] d
0
10
10
2 1
[10(2 y 2 ) 75 15 * 2 (5 / 4)2 ] d
y2 2
10
y2 2
2 1
[75 15( y 2 ) (5 / 4)( y 2 ) ] d
0
10
10
1
[70 10( y 2 )] d
y2 2
10
E[c1 ( x1 )]
( y 2 ) 3 / 24 ( y 2 ) 2 / 4 19 y 2 / 2 359 / 3
c2 ( x2 ) min 10( y 2 x2 ) 75 15 y 2 (5 / 4) y 22
y 2 x2
( y 2 ) 3 / 24 ( y 2 ) 2 / 4 19 y 2 / 2 359 / 3
q1
5 x2
0
if x2 5
otherwise
2 x1 if x1 2
0
otherwise
n periods to go,
:
discount factor.
DP equations:
cn ( xn ) min c( y n xn ) L( y n ) E[ cn 1 ( y n Dn )]
y n xn
c0 ( x0 ) 0
Properties :
1) S1 S 2 S 3 .............S n 1 S n ......... S , where
L' ( S ) c(1 - ) 0;
2) c( x) min c( y x) L( y ) c( y ) D ( )d
y x
satisfied by c( x) lim cn ( x)
n
3) lim S n S
n
cn ( xn ) min K ( y n xn ) c( y n xn ) L( y n ) cn 1 ( y n ) ( )d
y n xn
K ( y n x n )
K
0
if y n xn
if y n xn
S n xn
0
if xn S n
if xn S n
f n (u n ) min K ( y n u n ) c( y n u n )
y n u n
u n inventory position
can transform to 0 lead time as follows :
( y)
L( y ) D ( )d
infinite horizon
' ( S ) c(1 ) 0
L( y n ) D ( )d
f n 1 ( y n ) D ( )d