d nagesh kumar, iiscoptimization methods: m6l5 1 dynamic programming applications capacity expansion

27
D Nagesh Kumar, II Sc Optimization Methods: M6L 5 1 Dynamic Programming Applications Capacity Expansion

Upload: paula-mcbride

Post on 18-Jan-2016

231 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: D Nagesh Kumar, IIScOptimization Methods: M6L5 1 Dynamic Programming Applications Capacity Expansion

D Nagesh Kumar, IISc Optimization Methods: M6L51

Dynamic Programming Applications

Capacity Expansion

Page 2: D Nagesh Kumar, IIScOptimization Methods: M6L5 1 Dynamic Programming Applications Capacity Expansion

D Nagesh Kumar, IISc Optimization Methods: M6L52

Objectives

To discuss the Capacity Expansion Problem To explain and develop recursive equations

for both backward approach and forward approach

To demonstrate the method using a numerical example

Page 3: D Nagesh Kumar, IIScOptimization Methods: M6L5 1 Dynamic Programming Applications Capacity Expansion

D Nagesh Kumar, IISc Optimization Methods: M6L53

Capacity Expansion Problem

Consider a municipality planning to increase the capacity of its infrastructure (ex: water treatment plant, water supply system etc) in future

Sequential increments are to be made in specified time intervals

The capacity at the beginning of time period t be St

Required capacity at the end of that time period be Kt

Thus, be the added capacity in each time period

Cost of expansion at each time period can be expressed as a function of and , i.e.

tx

tS tx ),( ttt xSC

Page 4: D Nagesh Kumar, IIScOptimization Methods: M6L5 1 Dynamic Programming Applications Capacity Expansion

D Nagesh Kumar, IISc Optimization Methods: M6L54

Capacity Expansion Problem … contd.

Optimization problem: To find the time sequence of capacity expansions which minimizes the present value of the total future costs

Objective function:

Minimize

: Present value of the cost of adding an additional capacity in the time period t

Constraints: Capacity demand requirements at each time period

: Initial capacity

T

tttt xSC

1

),(

),( ttt xSCtx

tS

Page 5: D Nagesh Kumar, IIScOptimization Methods: M6L5 1 Dynamic Programming Applications Capacity Expansion

D Nagesh Kumar, IISc Optimization Methods: M6L55

Capacity Expansion Problem … contd.

Each period’s final capacity or next period’s initial capacity should be equal to the sum of initial capacity and the added capacity

At the end of each time period, the required capacity is fixed

Constraints to the amount of capacity added in each time period i.e. can take only some feasible values.

TtforxSS ttt ,...,2,11

TtforKS tt ,...,2,11

tx

ttx

Page 6: D Nagesh Kumar, IIScOptimization Methods: M6L5 1 Dynamic Programming Applications Capacity Expansion

D Nagesh Kumar, IISc Optimization Methods: M6L56

Capacity Expansion Problem: Forward Recursion

Stages of the model: Time periods in which capacity expansion to be made

State: Capacity at the end of each time period t,

: Present capacity before expansion

: Minimum present value of total cost of capacity expansion from present to the time t

1tS

1S)( 1tt Sf

Stage 1Stage t

Stage TSt

Ct

xt

St+1 S1 S2

C1 CT

x1 xT

ST ST+1

Page 7: D Nagesh Kumar, IIScOptimization Methods: M6L5 1 Dynamic Programming Applications Capacity Expansion

D Nagesh Kumar, IISc Optimization Methods: M6L57

Capacity Expansion Problem: Forward Recursion …contd.

For the first stage, objective function

Value of S2 can be between K1 and KT

where K1 is the required capacity at the end of time period 1 and KT is the final capacity required

Now, for the first two stages together,

Value of S3 can be between K2 and KT

),(min

),(min)(

1211

11121

SSSC

xSCSf

)(,min

)(,min)(

2312232

2122232

22

2

22

2

xSfxxSC

SfxSCSf

xx

xx

Page 8: D Nagesh Kumar, IIScOptimization Methods: M6L5 1 Dynamic Programming Applications Capacity Expansion

D Nagesh Kumar, IISc Optimization Methods: M6L58

Capacity Expansion Problem: Forward Recursion …contd.

In general, for a time period t,

Subjected to

For the last stage, i.e. t =T, need to be solved only for

)(,min)( 1111 ttttttt

xx

tt xSfxxSCSftt

t

Ttt KSK 1

)( 1TT Sf

TT KS 1

Page 9: D Nagesh Kumar, IIScOptimization Methods: M6L5 1 Dynamic Programming Applications Capacity Expansion

D Nagesh Kumar, IISc Optimization Methods: M6L59

Capacity Expansion Problem: Backward Recursion

Stages of the model: Time periods in which capacity expansion to be made

State: Capacity at the beginning of each time period t,

: Minimum present value of total cost of capacity expansion in periods t through T

For the last period T, the final capacity should reach KT after doing the capacity expansions

Value of ST can be between KT-1 and KT

tS)( tt Sf

TTT

xx

TT xSCSfTT

T

,min)(

Page 10: D Nagesh Kumar, IIScOptimization Methods: M6L5 1 Dynamic Programming Applications Capacity Expansion

D Nagesh Kumar, IISc Optimization Methods: M6L510

Capacity Expansion Problem: Backward Recursion …contd.

In general, for a time period t,

Solved for all values of St ranging from Kt-1 and Kt

For period 1, the above equation must be solved only for

St = S1

)(,min)( 1 tttttt

xx

tt xSfxSCSftt

t

Page 11: D Nagesh Kumar, IIScOptimization Methods: M6L5 1 Dynamic Programming Applications Capacity Expansion

D Nagesh Kumar, IISc Optimization Methods: M6L511

Capacity Expansion: Numerical Example

Consider a five stage capacity expansion problem

The minimum capacity to be achieved at the end of each time period is given in the table below

t Dt

1 5

2 10

3 20

4 20

5 25

Page 12: D Nagesh Kumar, IIScOptimization Methods: M6L5 1 Dynamic Programming Applications Capacity Expansion

D Nagesh Kumar, IISc Optimization Methods: M6L512

Capacity Expansion: Numerical Example …contd.

Expansion costs for each combination of expansion

Page 13: D Nagesh Kumar, IIScOptimization Methods: M6L5 1 Dynamic Programming Applications Capacity Expansion

D Nagesh Kumar, IISc Optimization Methods: M6L513

Numerical Example: Forward Recursion

Consider the first stage, t =1 The final capacity for stage 1, S2 can take values between D1 to

D5

Let the state variable can take discrete values of 5, 10, 15, 20 and 25

Objective function for 1st subproblem with state variable as S2 can

be expressed as

),(min

),(min)(

1211

11121

SSSC

xSCSf

Page 14: D Nagesh Kumar, IIScOptimization Methods: M6L5 1 Dynamic Programming Applications Capacity Expansion

D Nagesh Kumar, IISc Optimization Methods: M6L514

Numerical Example: Forward Recursion …contd.

Computations for stage 1 are given in the table below

Page 15: D Nagesh Kumar, IIScOptimization Methods: M6L5 1 Dynamic Programming Applications Capacity Expansion

D Nagesh Kumar, IISc Optimization Methods: M6L515

Numerical Example: Forward Recursion …contd.

Now considering the 1st and 2nd stages together State variable S3 can take values from D2 to D5

Objective function for 2nd subproblem is

The value of x2 should be taken in such a way that the minimum

capacity at the end of stage 2 should be 10, i.e.

)(,min

)(,min)(

2312232

2122232

22

2

22

2

xSfxxSC

SfxSCSf

xx

xx

103 S

Page 16: D Nagesh Kumar, IIScOptimization Methods: M6L5 1 Dynamic Programming Applications Capacity Expansion

D Nagesh Kumar, IISc Optimization Methods: M6L516

Numerical Example: Forward Recursion …contd.

Computations for stage 2 are given in the table below

Page 17: D Nagesh Kumar, IIScOptimization Methods: M6L5 1 Dynamic Programming Applications Capacity Expansion

D Nagesh Kumar, IISc Optimization Methods: M6L517

Numerical Example: Forward Recursion …contd.

Like this, repeat this steps till t = 5 The computation tables are shown

Page 18: D Nagesh Kumar, IIScOptimization Methods: M6L5 1 Dynamic Programming Applications Capacity Expansion

D Nagesh Kumar, IISc Optimization Methods: M6L518

Numerical Example: Forward Recursion …contd.

For the 5th subproblem, state variable S6 = D5

Page 19: D Nagesh Kumar, IIScOptimization Methods: M6L5 1 Dynamic Programming Applications Capacity Expansion

D Nagesh Kumar, IISc Optimization Methods: M6L519

Numerical Example: Forward Recursion …contd.

Figure showing the solutions with the cost of each addition along the links and the minimum total cost at each

node Optimal cost of expansion

is 23 units By doing backtracking

from the last stage (farthest right node) to the initial stage, the optimal expansion to be done at 1st stage = 10 units, 3rd stage = 15 units and rest all stages = 0 units

Page 20: D Nagesh Kumar, IIScOptimization Methods: M6L5 1 Dynamic Programming Applications Capacity Expansion

D Nagesh Kumar, IISc Optimization Methods: M6L520

Numerical Example: Backward Recursion

Capacity at the final stage is given as S6 = 25

Consider the last stage, t =5

Initial capacity for stage 5, S5 can take values between D4 to D5

Objective function for 1st subproblem with state variable as S5 can be

expressed as

The optimal cost of expansion can be achieved by following the same

procedure to all stages

55555 ,min)( xSfSfTT

Txx

Page 21: D Nagesh Kumar, IIScOptimization Methods: M6L5 1 Dynamic Programming Applications Capacity Expansion

D Nagesh Kumar, IISc Optimization Methods: M6L521

Numerical Example: Backward Recursion …contd.

Computations for all stages

Page 22: D Nagesh Kumar, IIScOptimization Methods: M6L5 1 Dynamic Programming Applications Capacity Expansion

D Nagesh Kumar, IISc Optimization Methods: M6L522

Numerical Example: Backward Recursion …contd.

Page 23: D Nagesh Kumar, IIScOptimization Methods: M6L5 1 Dynamic Programming Applications Capacity Expansion

D Nagesh Kumar, IISc Optimization Methods: M6L523

Numerical Example: Backward Recursion …contd.

Page 24: D Nagesh Kumar, IIScOptimization Methods: M6L5 1 Dynamic Programming Applications Capacity Expansion

D Nagesh Kumar, IISc Optimization Methods: M6L524

Numerical Example: Backward Recursion …contd.

Page 25: D Nagesh Kumar, IIScOptimization Methods: M6L5 1 Dynamic Programming Applications Capacity Expansion

D Nagesh Kumar, IISc Optimization Methods: M6L525

Numerical Example: Backward Recursion …contd.

Optimal cost of expansion is obtained from the node value at the first node i.e. 23 units

Optimal expansions to be made are 10 units at the first stage and 15 units at the last stage

Page 26: D Nagesh Kumar, IIScOptimization Methods: M6L5 1 Dynamic Programming Applications Capacity Expansion

D Nagesh Kumar, IISc Optimization Methods: M6L526

Capacity Expansion Problem: Uncertainty

The future demand and the future cost of expansion in this problem are highly uncertain

Hence, the solution obtained cannot be used for making expansions till the end period, T

But, decisions about the expansion to be done in the current period can be very well done through this

For the uncertainty on current period decisions to be less , the final period T should be selected far away from the current period

Page 27: D Nagesh Kumar, IIScOptimization Methods: M6L5 1 Dynamic Programming Applications Capacity Expansion

D Nagesh Kumar, IISc Optimization Methods: M6L527

Thank You