1 abhilasha aswal & g n s prasanna iiit-b informs 2010 inventory optimization under correlated...

37
1 Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010 Inventory Optimization under Correlated Uncertainty Abhilasha Aswal G N S Prasanna, International Institute of Information Technology – Bangalore

Upload: nicholas-phillips

Post on 25-Dec-2015

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 1 Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010 Inventory Optimization under Correlated Uncertainty Abhilasha Aswal G N S Prasanna, International

1Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010

Inventory Optimization under Correlated Uncertainty

Abhilasha AswalG N S Prasanna,

International Institute of Information Technology – Bangalore

Page 2: 1 Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010 Inventory Optimization under Correlated Uncertainty Abhilasha Aswal G N S Prasanna, International

2Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010

Outline

Motivation Optimizing with correlated demands Generalized EOQ Related work Some Extensions:

Generalized base stock Geman Tank Relational Algebra

Conclusions

Page 3: 1 Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010 Inventory Optimization under Correlated Uncertainty Abhilasha Aswal G N S Prasanna, International

3Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010

The EOQ model

The EOQ model (Classical – Harris 1913)

C: fixed ordering cost per order h: per unit holding cost D: demand rate Q*: optimal order quantity f*: optimal order frequency

h

CDQ

2*

C

Dhf

2*

Q*

Page 4: 1 Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010 Inventory Optimization under Correlated Uncertainty Abhilasha Aswal G N S Prasanna, International

4Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010

Inventory optimization for multiple productsEOQ(K)?

Page 5: 1 Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010 Inventory Optimization under Correlated Uncertainty Abhilasha Aswal G N S Prasanna, International

5Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010

Motivation

Inventory optimization example

Automobilestore

Car type I

Car type II

Car type III

Tyre type I

Tyre type II

Petrol

Drivers

Supplies

Page 6: 1 Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010 Inventory Optimization under Correlated Uncertainty Abhilasha Aswal G N S Prasanna, International

6Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010

Motivation

Ordering and holding costs

ProductOrdering Cost in Rs.

(per order)Holding Cost in Rs.

(per unit)

Car Type I 1000 50

Car Type II 1000 80

Car Type III 1000 10

Tyre Type I 250 0.5

Tyre Type II 500 (intl shipment) 0.5

Petrol 600 1

Drivers 750 300

Page 7: 1 Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010 Inventory Optimization under Correlated Uncertainty Abhilasha Aswal G N S Prasanna, International

7Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010

1 product versus 7 products

Exactly Known Demands, no uncertainty EOQ solution and Constrained Optimization solution match exactly:

But…

ProductDemand per

month

EOQ Solution Constrained Optimization Solution

Order Frequency

Order Quantity

CostOrder

FrequencyOrder

QuantityCost

Car Type I 40 1 40 2000 1 40 2000

Car Type II 25 1 25 2000 1 25 2000

Car Type III 50 0.5 100 1000 0.5 100 1000

Tyre Type I 250 0.5 500 250 0.5 500 250

Tyre Type II 125 0.25 500 250 0.25 500 250

Petrol 300 0.5 600 600 0.5 600 600

Drivers 5 1 5 1500 1 5 1500

Total 7600 7600

UNREALISTIC!!!We cannot know the future demands exactly.

Page 8: 1 Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010 Inventory Optimization under Correlated Uncertainty Abhilasha Aswal G N S Prasanna, International

8Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010

1 product versus 7 products

Bounded Uncorrelated Uncertainty Assuming the range of variation of the demands is known, we can get

bounds on the performance by optimizing for both the min value and the max value of the demands.

EOQ solution and Constrained Optimization solution are almost the same.

Product

EOQ solution Constrained Optimization

Order Frequency Order Quantity Order Frequency Order Quantity

Min Max Min Max Min Max Min Max

Car Type I 0.5 1 20 40 0.5 1 20 40

Car Type II 0 1 0 25 0 1 0 25

Car Type III 0.5 1 100 200 0.5 1 100 200

Tyre Type I 0.25 0.5 248.99 500 0.25 0.5 248 500

Tyre Type II 0.25 0.5 500 1000 0.25 0.5 500 1000

Petrol 0.25 0.5 300 600 0.25 0.5 300 600

Drivers 0.45 1 2.24 5 0.5 1 2 5

Page 9: 1 Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010 Inventory Optimization under Correlated Uncertainty Abhilasha Aswal G N S Prasanna, International

9Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010

1 product versus 7 products

Beyond EOQ: Correlated Uncertainty in Demand Considering the substitutive effects between a class of products (cars,

tyres etc.)

200 ≤ dem_tyre_1 + dem_tyre_2 ≤ 70065 ≤ dem_car_1 + dem_car_2 + dem_car_3 ≤ 250

Considering the complementary effects between products that track each other

5 ≤ (dem_car_1 + dem_car_2 + dem_car_3) – dem_petrol ≤ 20 5 ≤ dem_car_2 – dem_drivers ≤ 20

EOQ cannot incorporate such forms of uncertainty.

Page 10: 1 Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010 Inventory Optimization under Correlated Uncertainty Abhilasha Aswal G N S Prasanna, International

10Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010

1 product versus 7 products

Beyond EOQ: Correlated Uncertainty in Demand Min-Max solution for different scenarios:

Products

With Substitutive Constraints

With Complementary Constraints

With both Substitutive and Complementary constraints

Order Frequency

Order Quantity

Order Frequency

Order Quantity

Order Frequency

Order Quantity

Car Type I 0.75 25 0.5 38 0.5 40

Car Type II 0.5 13 0.5 22 1 10

Car Type III 0.75 125 0.75 121 0.5 180

Tyre Type I 0.25 362 0.75 250 0.75 200

Tyre Type II 0.75 500 0.75 373 0.5 400

Petrol 0.5 400 0.5 208 0.5 222.5

Drivers 0.5 5 0.5 2 0.5 3

Cost (Rs.) 4590.438 4593.688 4654.188

EOQ

Order Frequency

Order Quantity

1 40

1 25

0.5 100

0.5 500

0.25 500

0.5 600

1 5

7600

Page 11: 1 Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010 Inventory Optimization under Correlated Uncertainty Abhilasha Aswal G N S Prasanna, International

11Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010

1 product versus 7 products

Beyond EOQ: Correlated Uncertainty in Demand

Comparison of different uncertainty sets

Scenario sets Absolute Minimum Cost Absolute Maximum Cost

Bounds only 3349.5 9187.5

Bounds and Substitutive constraints

3412.5 9100

Bounds and Complementary constraints

4469.5 8972.5

Bounds, Substitutive and Complementary constraints

4482.5 8910

Page 12: 1 Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010 Inventory Optimization under Correlated Uncertainty Abhilasha Aswal G N S Prasanna, International

12Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010

Optimizing with Correlated DemandsMathematical Programming

Formalism

Page 13: 1 Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010 Inventory Optimization under Correlated Uncertainty Abhilasha Aswal G N S Prasanna, International

13Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010

Optimal Inventory policy using “ILP”

Min-max optimization, not an LP.

Duality?? Fixed costs and

breakpoints: non-convexities that preclude strong-duality from being achieved.

No breakpoints or fixed costs: min-max optimization QP

Heuristics have to be used in general.

0

0

)(

0

1

:Subject to

Max Minimize

1

1

1

1

1

0

1

0

pt

pt

pt

pt

pt

pt

pt

pt

pt

pt

pt

pt

pt

pt

pt

pt

N

p

T

t

pt

T-

t

Pptuncertaindecision

D

S

EDCP

DSInvInv

SMI

SMI

InvSy

Invhy

yCI

Page 14: 1 Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010 Inventory Optimization under Correlated Uncertainty Abhilasha Aswal G N S Prasanna, International

14Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010

Optimal Inventory policy by Sampling

A simple statistical sampling heuristic

Begin

for i = 1 to maxIteration{parameterSample = getParameterSample(constraint Set)bestPolicy = getBestPolicy(parameterSample)findCostBounds(bestPolicy)}chooseBestSolution()

End

Page 15: 1 Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010 Inventory Optimization under Correlated Uncertainty Abhilasha Aswal G N S Prasanna, International

15Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010

Optimizing with Correlated Demands:

Analytical Formulation: Generalized EOQ(K)

Page 16: 1 Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010 Inventory Optimization under Correlated Uncertainty Abhilasha Aswal G N S Prasanna, International

16Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010

Classical EOQ model

Per order fixed cost = f(Q) holding cost per unit time = h(Q)

* *

/

2 / ; 2

C Q h Q f Q D Q

Q fD h C Q fDh

Page 17: 1 Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010 Inventory Optimization under Correlated Uncertainty Abhilasha Aswal G N S Prasanna, International

17Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010

EOQ(K) with multiple products, uncertain demands

Additive SKU costsCase with 2 commodities, generalized to n

commodities

Page 18: 1 Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010 Inventory Optimization under Correlated Uncertainty Abhilasha Aswal G N S Prasanna, International

18Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010

EOQ(K) with multiple products, uncertain demands

Holding cost linear, ordering cost fixed

1 2

1 2

* *1 1 1 1 1 1 1 1 1

* *2 2 2 2 2 2 2 2 2

* * *1 2 1 1 2 2 1 1 1 2 2 2

max 1 1 1 2 2 2,

min 1 1 1 2 2 2,

2 / ; 2

2 / ; 2

, 2 2

max 2 2

min 2 2

D D CP

D D CP

Q f D h C D f D h

Q f D h C D f D h

C D D C D C D f D h f D h

C f D h f D h

C f D h f D h

Page 19: 1 Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010 Inventory Optimization under Correlated Uncertainty Abhilasha Aswal G N S Prasanna, International

19Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010

Analytical solution: Substitutive constraints

Holding cost linear, ordering cost fixed Under a substitutive constraint D1 + D2 <= D

2211**

min

22112211

22

2211

11*max

21

2221112*21

*121

*

,min20,,,0min

2,

22)()(),(

hfhfDDCDCC

hfhfDhfhf

Dhf

hfhf

DhfCC

DDD

hDfhDfDCDCDDC

Page 20: 1 Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010 Inventory Optimization under Correlated Uncertainty Abhilasha Aswal G N S Prasanna, International

20Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010

Analytical solution: Substitutive constraints - Example

2 products, demands D1 & D2

Costs:h1 = 2/unit

h2 = 3/unit

f1 = 5/order

f2 = 5/order

D1 + D2 = D = 100

Maximum cost

Minimum cost

71.7015101002

2 2211max

hfhfDC

72.44151002,101002min

2,2min 2211min

hfDhfDC

Page 21: 1 Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010 Inventory Optimization under Correlated Uncertainty Abhilasha Aswal G N S Prasanna, International

21Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010

Analytical solution: Complementary constraints Holding cost linear, ordering cost fixed Under a complementary constraint D1 – D2 <= D, with D1

and D2 limited to Dmax

DCDCC

DDDCC

,0,0,min

,***

min

maxmaxmax

Page 22: 1 Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010 Inventory Optimization under Correlated Uncertainty Abhilasha Aswal G N S Prasanna, International

22Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010

Analytical solution: Complementary constraints - Example

2 products, demands D1 & D2

Costs:h1 = 2/unit

h2 = 3/unit

f1 = 5/order

f2 = 5/order

Demand constraints:D1 - D2 = K = 20

D1 <= Dmax = 50

D2 <= Dmax = 50

Maximum cost

Minimum cost

83.451550210302

2)(2 22max11maxmax

hfDhfKDC

2015202,10202min

2,2min 2211min

hfKhfKC

Page 23: 1 Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010 Inventory Optimization under Correlated Uncertainty Abhilasha Aswal G N S Prasanna, International

23Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010

Both substitutive & complementary constraints

Holding cost linear, ordering cost fixed Under both substitutive and complementary constraints

Convex optimization techniques are required for this optimization.

1 2

1 2

* * *1 2 1 1 2 2 1 1 1 2 2 2

min 1 2 max

1 2

max 1 1 1 2 2 2,

min 1 1 1 2 2 2,

, 2 2

:

max 2 2

min 2 2

D D CP

D D CP

C D D C D C D f D h f D h

D D D DCP

D D

C f D h f D h

C f D h f D h

Page 24: 1 Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010 Inventory Optimization under Correlated Uncertainty Abhilasha Aswal G N S Prasanna, International

24Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010

Both substitutive & complementary constraints - Optimization

Objective function: concave Minimization: HARD! Envelope based bounding schemes

Heuristics to find upper bound. Simulated annealing based

Page 25: 1 Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010 Inventory Optimization under Correlated Uncertainty Abhilasha Aswal G N S Prasanna, International

25Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010

Both substitutive & complementary constraints - Example

2 products, demands D1 & D2

Costs:h1 = 2/unit

h2 = 3/unit

f1 = 5/order

f2 = 5/order

Demand constraints:150 <= D1 + D2 <= 200

-20 <= D1 – D2 <= 20

Maximum cost: 99.88

Minimum cost Enumerating all vertices (exact)

85.39 Simulated annealing heuristic

85.48499

Error: 0.111247 %

Page 26: 1 Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010 Inventory Optimization under Correlated Uncertainty Abhilasha Aswal G N S Prasanna, International

26Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010

Both substitutive & complementary constraints – Example (contd)

5 products, demands D1, D2, D3, D4 & D5

Costs:h1 = 2/unit

h2 = 3/unit

h3 = 4/unit

h4 = 5/unit

h5 = 6/unit

f1, f2, f3, f4, f5 = 5/order

Demand constraints:

D1 + D2 + D3 + D4 + D5 <= 1000

D1 + D2 + D3 + D4 + D5 >= 500

2 D1 - D2 <= 400

2 D1 - D2 >= 100

5 D5 - 2 D4 <= 900

5 D5 - 2 D4 >= 150

D2 + D4 <= 400

D2 + D4 >= 250

D1 <= 350

D1 >= 100

D3 >= 150

D3 <= 300

D4 >= 75

D4 <= 200

Page 27: 1 Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010 Inventory Optimization under Correlated Uncertainty Abhilasha Aswal G N S Prasanna, International

27Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010

Both substitutive & complementary constraints – Example (contd)

Maximum cost: 436.6448

Minimum cost: Enumerating all vertices (exact)

323.5942 Simulated annealing heuristic

324.4728 Error: 0.271505 %

Page 28: 1 Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010 Inventory Optimization under Correlated Uncertainty Abhilasha Aswal G N S Prasanna, International

28Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010

Inventory constraints

Constrained Inventory Levels If the inventory levels Qi and demands Di, are constrained as

The vector constraint above can incorporate constraints like Limits on total inventory capacity (Q1+Q2 <= Qtot) Balanced inventories across SKUs (Q1-Q2) <= ∆ Inventories tracking demand (Q1-D1<=Dmax)

1 2 1 2, , , 0Q Q D D QQQQQQQQQQQQQQ

Page 29: 1 Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010 Inventory Optimization under Correlated Uncertainty Abhilasha Aswal G N S Prasanna, International

29Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010

Inventory constraints

Constrained Inventory Levels

1 2

1 2

1 2

1 1 1 1 1 1 1 1 1

2 2 2 2 2 2 2 2 2

1 2 1 2 1 1 2 2

1 2

1 2 1 2

*1 2 , 1 2 1 2

*max [ , ] 1 2

*min [ , ] 1 2

, /

, /

, , ,

[ , ]

, , , 0

, min , , ,

max ,

min ,

Q Q

D D CP

D D CP

C Q D h Q f Q D Q

C Q D h Q f Q D Q

C Q Q D D C Q C Q

D D CP

Q Q D D

C D D C Q Q D D

C C D D

C C D D

QQQQQQQQQQQQQQ

Page 30: 1 Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010 Inventory Optimization under Correlated Uncertainty Abhilasha Aswal G N S Prasanna, International

30Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010

Related Work

McGill (1995)Inderfurth (1995)Dong & Lee (2003)Stefanescu et. al.

(2004)

Bertsimas, Sim, Thiele et. al.

Page 31: 1 Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010 Inventory Optimization under Correlated Uncertainty Abhilasha Aswal G N S Prasanna, International

31Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010

Related work

Bertsimas, Sim, Thiele - “Budget of uncertainty”

Uncertainty:

Normalized deviation for a parameter:

Sum of all normalized deviations limited:

N uncertain parameters polytope with 2N sides

In contrast, our polyhedral uncertainty sets: More general Much fewer sides

ijijijij aaaa ,

ij

ijijij

a

aaz

iz i

n

jij

,1

Page 32: 1 Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010 Inventory Optimization under Correlated Uncertainty Abhilasha Aswal G N S Prasanna, International

32Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010

Extensions:Generalized basestock

German Tank

Page 33: 1 Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010 Inventory Optimization under Correlated Uncertainty Abhilasha Aswal G N S Prasanna, International

33Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010

Basestock with correlated inventory

Page 34: 1 Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010 Inventory Optimization under Correlated Uncertainty Abhilasha Aswal G N S Prasanna, International

34Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010

The German Tank Problem

Classical German Tank Biased estimators

Maximum likelihood

Unbiased estimators Minimum Variance

unbiased estimator (UMVU)

Maximum Spacing estimator

Bias-corrected maximum likelihood estimator

Generalization Given correlated data

samples, drawn from a uniform distribution- estimating the bounded region formed by correlated constraints enclosing the samples.

Estimating the constraints without bias and with minimum variance.

Page 35: 1 Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010 Inventory Optimization under Correlated Uncertainty Abhilasha Aswal G N S Prasanna, International

35Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010

Information Theory and Relational Algebra

Uncertainty can be identified with Information. Information polyhedral volume

Relational algebra between alternative constraint polyhedra

Page 36: 1 Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010 Inventory Optimization under Correlated Uncertainty Abhilasha Aswal G N S Prasanna, International

36Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010

Conclusions

Generalized EOQ to Correlated Demands Analytical Solutions Computational Solutions

Enumerative versus Simulated Annealing

Extensions of formulations Generalized Basestock German Tank Information Theory and Relational Algebra

Page 37: 1 Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010 Inventory Optimization under Correlated Uncertainty Abhilasha Aswal G N S Prasanna, International

37Abhilasha Aswal & G N S Prasanna IIIT-B INFORMS 2010

Thank you