Stochastic Production Planning Model
Stochastic Production Planning Model
CORE Scholar
Browse all Theses and Dissertations Theses and Dissertations
2008
Repository Citation
Prajapati, Meenakshi, "A Stochastic Production Planning Model Under Uncertain Demand" (2008). Browse all Theses and Dissertations.
Paper 885.
This Thesis is brought to you for free and open access by the Theses and Dissertations at CORE Scholar. It has been accepted for inclusion in Browse all
Theses and Dissertations by an authorized administrator of CORE Scholar. For more information, please contact
corescholar@[Link].
A Stochastic Production Planning Model
by
MEENAKSHI PRAJAPATI
2008
Wright State University
Wright State University
November 6, 2008
Dr. S. Narayanan
Department Chair
Committee on
Final Examination
future demand. Although the deterministic version of the problem has been
the stochastic nature of the problem, for example, uncertainty in future de-
The thesis first addresses the forecast of the demand where seasonal fluc-
be used to improve the accuracy of forecast, error and uncertainty still ex-
ists. To deal with this uncertainty, a two stage stochastic scenario based
ing of production cost, labor cost, inventory cost and overtime cost under
uncertain demand.
The model is solved with data from a local manufacturing facility and the
usage and inventory holding cost and the proper selection of scenarios un-
duction plans and has dramatically increased the company’s bottom line.
inventory cost can be achieved for the company in the next few years.
iv
Contents
1 Introduction 1
2 Literature Survey 6
3 Demand Forecast 18
5 Computational Results 41
Month Production . . . . . . . . . . . . . . . . . . 44
Production . . . . . . . . . . . . . . . . . . . . . . 45
ios . . . . . . . . . . . . . . . . . . . . . . . . . . 48
6.1 Conclusions . . . . . . . . . . . . . . . . . . . . . . . . . . 57
vi
6.2 Implementation . . . . . . . . . . . . . . . . . . . . . . . . 58
Bibliography . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
vii
List of Figures
viii
List of Tables
Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Month Production . . . . . . . . . . . . . . . . . . . . . . . 45
5.5 EVIP and VSS Value for the Two Two-Stage Stochastic
Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
narios . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Cost 20% . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Cost 30% . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
x
Acknowledgement
I would like to thank my thesis committee members, Dr. Xinhui Zhang,
Dr. Frank Ciarallo and Dr. Yan Liu for their time, suggestions and valuable
comments. I would also like to thank Dr. Xinhui Zhang for the graduate
scholarship.
from his piercing insights and tastes for good research. His perpetual en-
and unconditional love. I am also thankful to my sisters Sarla and Renu and
encouragement, and loving kindness, I would not have made it through the
xi
Dedicated to:
xii
Chapter 1
Introduction
Deterministic models assumes that the data are known and typically model
ous human judgment based and quantitative models have been developed to
ten inadequate – large error bounds arise when one solves ”mean value”
literature, are less acceptable and deployed in practice. For some examples,
mer refers to uncertainties that are beyond the scope of control of the pro-
duction process, such as supply and demand uncertainty, while the latter
have been proposed, see Mula et al. (2006) for a survey, performing an all-
a model which can be used to derive optimal solutions. This is the focus of
this study.
2
1.2 Motivation and Contribution
face seasonal demands typically do not have sufficient capacity to meet de-
mand in the high demand season and must build inventory in the low de-
mand season in anticipation of high demand later (Krane and Braun (1991)
and Fair (1989)). The uncertainty of company and market growth raises
and semi-finished goods from overseas and a lead time of 40-45 working
days is the norm. With more manufacturing are being outsourced overseas,
the long lead time in purchasing materials has a dramatic impact on produc-
tion planning – purchasing decisions and production plans for future (3∼4)
mand and company growth calls for the solution of a stochastic production
planning problem. The goal is to develop a production plan for the next year
that yields solutions which serve as the baseline for different economic
growth scenarios. The model is solved with real data from a local com-
cost and the proper selection of scenarios under pessimistic, neutral and op-
production plans and has significantly increase the company’s bottom line.
data from the company. The results show the effectiveness and efficiency of
the stochastic model as compared with the deterministic model. The various
ning (Carino et al. (1998)), airline crew scheduling (Schaefer et al. (2005)),
these studies focus on the strategic issues such as capacity planning, this
purchasing lead time that has not been addressed in the literature.
5
Chapter 2
Literature Survey
problems.
The classical deterministic production planning problem has been the focus
recent survey, please see Fogarty et al. (1984), for some of the well-known
Parameters
6
f (t) fixed cost of producing in period t
C manufacturing capacity
Minimize
n n n
∑ CpP(t) + ∑ f (t)y(t) + ∑ ChI(t) (2.1)
t=1 t=1 t=1
Subject to
• Capacity constraints
7
• Non-negativity and integer constraints
The objective (2.1) here is to minimize the total cost including the labor
cost per year (term 1), production cost per year (term 2) and inventory cost
(term 3). Constraint (2.2) ensures that the available inventory in any period
plus the demand in that period equals to the summation of inventory from
the previous period and production during the current period. Constraint
(2.3) states the capacity limitation while constraint (2.4) ensures that the
planning (Swoveland (1975)) has received much attention from the litera-
drives. Liu and Tu (2008) solve a production planning problem where the
further assumes that stock outs are allowed and that inventory storage capac-
They used an adapted Frank Wolfe algorithm to solve their modified prob-
Stochastic programs, originated in the late fifties with the pioneering works
of Dantzig (1955), Beale (1955), and Birge (1959), are mathematical pro-
grams where some of the data in the objective or constraints are uncertain.
uncertain future. This technique, called scenario analysis, requires the user
ronment for the time period considered. Rockafellar and Wets (1991) then
posed the problem of optimizing the expected objective value of this collec-
tion of problems: that is, the sum of the objective values of the individual
currence. To analyze how the optimal solution would change with respect
Each decision and its execution can be subdivided into several stages, so that
The two-stage stochastic model makes decisions using a two stage frame-
work. The first stage decision variables are optimized before a realization
of the uncertain and random variables. After realization of the random vari-
The first stage decision variables are called the structural component
10
that is fixed in the second stage and free of any uncertainty in its input data.
The second stage decision variables are called the control component that is
In this study, two sets of variables are introduced to define the two-stage
stochastic model:
adjustment once the uncertain parameters are observed. Their optimal value
The definition of design and control variables is borrowed from the flex-
be defined in several ways. For example, the first stage could incorporate
variables related to the location and capacity of the facility such as work-
force size, production capacity and the second stage could represent how,
given these decisions, the detailed production plans should be carried out
11
or inventory levels managed under the realized demand. This results in a
ning model as seen in Eppen et al. (1989) and Karabuk and Wu (2008).
pressed as follows:
s.t Ax = b (2.6)
x≥0 (2.7)
y≥0 (2.10)
The second stage problem depends on the data ξω ≡ (q(ω), h(ω), T (ω)),
known beforehand. The matrices T (ω) and W are called the technology
of Dantzig (1955) and Beale (1955). Equation (2.6) denotes the structural
constraints whose coefficients are fixed and free of uncertainty, so they are
processed in the first stage. Equation (2.9) denotes the control constraints
12
and they are processed in the second stage. Therefore, Equations (2.5)-
(2.7) represent the first-stage model and Equations (2.8)-(2.10) represent the
corresponding right-hand side vector. T (ω) is the matrix that ties the two
(2.9), h(ω) − T (ω)x, is the goal constraint: violations of this constraint are
allowed, but the associated penalty cost, qT y, will influence the choice of x.
Consider the special case when random data have a discrete distribution
E[Q(x, ξ)] = ∑K
k=1 pk Q(x, ξk ), where
x, yk ≥ 0 k = 1, ...., K (2.15)
13
The vector of first-stage decision variables, x, is scenario independent. The
et al. (1998), Carino and Ziemba (1998) and Consigli and Dempster (1998)),
et al. (2000)) and airline crew scheduling (Schaefer et al. (2005) and Yen
planning.
Eppen et al. (1989) studied the capacity planning issues for a General
capacity for four of GM’s auto lines. The model incorporates elements of
strated that the shape of the distribution that describes demand is an impor-
14
Karabuk and Wu (2003) develop a strategic capacity planning model
the development of the model and illustrate its application with numerical
examples.
models for production planning where cost coefficient and RHS term uncer-
tainties are considered. The decisions are taken in two-stages for deciding
production levels.
ing, assembly and distribution supply chain planning problem under uncer-
Hill and Sawaya (2004) presents a stochastic model for finding the op-
devices.
15
Fleten and Kristoffersen (2008) develop a short-term multi-stage stochas-
tic production plan for a price-taking hydro-power plant operating under un-
certainty.
ily of products to minimize total costs that include production and inventory
holding costs over a rolling horizon. The demand in this paper is assumed
to be normally distributed.
Leung et al. (2006) addresses the production planning problem with ad-
proposed model.
problems. In this paper, they consider the role of product mix flexibility,
dynamic demands. Using a scenario based approach for capturing the evo-
16
Reaychen and Fang (2001) solve the production planning problem where
unit cost to subcontract, work force level, production capacity and market
17
Chapter 3
Demand Forecast
facility, the workforce size and composition, the production plans and the
propriate model.
data such as previous sales figures to make predictions about the future. The
forecast methods in this group include Time-Series and Causal models and
are typically used for middle term forecast, from a few months to a year.
18
Qualitative methods mainly rely on subjective data gathered from execu-
tives, sales team and consumers that predict future economic conditions for
a business.
seasonal demand for the manufacturing company to find the trend and sea-
and was able to obtain reasonable results with a Mean Absolute Percent-
age Error (MAPE) of 7%. These results are comparable to those provided
was combined with subjective forecasts from the sales team to derive pes-
planning model.
tern can be identified and forecasted separately. Breaking down the data into
forecast model typically assumes that sales are affected by four factors: the
nents - trend, seasonal, cyclical and random - and combine then to provide
the systematic pattern for a time series (Box et al. (1976) and Yaffee and
McGee (2000)).
1400 1100
1000
1200
900
1000
Demand Data
800
Trend
800
700
600
600
400
500
200 400
0 5 10 15 20 25 30 35 40 45 50 0 5 10 15 20 25 30 35 40 45 50
Time Period Time Period
1.3
100
1.2
50
1.1
Seasonal
Random
1 0
0.9
−50
0.8
−100
0.7
−150
0 5 10 15 20 25 30 35 40 45 50 0 5 10 15 20 25 30
Time Period Time Period
Figure 3.3: Seasonal Component of Series Figure 3.4: Random Component of Series
the entire data set. The cycle is a cyclical variations around the trend
line.
Yt = f (TCt , St , Rt ) (3.1)
Figures (3.1) to (3.4) illustrate how a series may be decomposed into three
components with other products and follows a similar seasonal demand pat-
mias (1993)), but also more suited for production planning purpose, since
Demand Data and Forecast Calculation: The aggregate demand data for
the past two and a half years of the manufacturing company from January
2005 to June 2007 are presented in Table (3.1). Here the first column repre-
sents the time period and the second column the demand in that period.
• Based on the data from January, 2005 to December, 2006, the values
tual demand) value by trend value. The average seasonal factors are
• Finally, the forecast is calculated by multiplying the trend with the av-
The trend, seasonal factors, the average factor and the forecast of 2007 are
curacy of the forecast model, we adopt the absolute percentage error (APE)
defined as:
kActual Demand − Forecast Datak
APE =
Actual Demand
Table (3.2) gives the forecast results and the absolute percentage errors
for the first six month of 2007. The decomposition forecast model was
As we can see from Table (3.2), the maximum APE of the decomposi-
tion forecast model was 17%, with an average of 7%. The maximum APE of
the company’s judgement forecast was 38% with an average APE of 23%.
As a side story, at the end of June 2007, we decided to re-run the model us-
ing data from January, 2005 to June, 2007 and updated the forecast for July
and August of 2007. The updated forecast for July 2007 was 878 units and
the real demand was 881 units – a 3 unit difference. The updated forecast
for August 2007 was 994 units and the real demand was 991 units – a 13
unit difference. The forecast has gained the trust of the company.
Figure (3.5) shows the results of the various forecast models from Jan-
uary 2005 to June 2008. Here, the line with plus sign represents the actual
demand, the dotted line the company’s forecast, and the line with circle the
1600
1400
Company Judgemental Forcast
1200 Actual Demand
Seasonal Decompotion Forcast
1000
800
600
400
200
0 5 10 15 20 25 30 35 40 45 50
Time Period in Months from 2005 to 2008
The Decomposition Forecast versus SAS Forecast: To see how the de-
the same demand data from January 2005 to December 2006 into Statistics
Analysis System (SAS) software package. SAS uses different types of fore-
cast models and the various forecast results and their mean square errors
provided are listed in (3.3). For details of these modeles, please refer to
(Brocklebank and Dickey (2003)). Based on the mean square error (MSE),
it can be seen that the seasonal decomposition model has the lowest forecast
Table (3.4) shows the results of the the decomposition forecast results
and that of the decomposition model from SAS. As we can see, the er-
rors from both the forecast model are rather close although SAS provided
24
slightly better results, the reason seems to be the additional feature embed-
ded in the SAS system such as smoothing of the demand to derive the trend
etc.
on the data from January, 2005 to June, 2007, we updated the forecast of the
demand from September 2007 to August 2008. Here, the values of intercept
and slope are calculated as 409.71 and 14.22 respectively. The trend, sea-
sonal factor, average factor and the forecast of the year 2007 and 2008 are
to discover the root of the fluctuation, there is no guarantee that they will
provide more accurate forecasts than simple models. Beside, market changes
could significantly change these forecast values – the key here is to develop
provides insight in the business trend and is used together with company’s
25
Table 3.1: Demand Data & Decomposition Forecast Results for 2007
Year Consumption Trend Seasonal Factors Average Factors Forecast
Jan-05 405 431 0.94 0.84 362
Feb-05 352 445 0.79 0.79 353
Mar-05 474 458 1.03 1.08 494
Apr-05 445 472 0.94 0.98 461
May-05 465 485 0.96 1.06 513
Jun-05 727 499 1.46 1.33 665
Jul-05 519 513 1.01 1.03 530
Aug-05 607 526 1.15 1.18 620
Sept-05 517 540 0.96 0.97 525
Oct-05 515 553 0.93 1.00 553
Nov-05 603 567 1.06 0.99 564
Dec-05 418 581 0.72 0.74 428
Jan-06 439 594 0.74 0.84 499
Feb-06 485 608 0.80 0.79 483
Mar-06 697 621 1.12 1.08 670
Apr-06 641 635 1.01 0.98 620
May-06 749 648 1.16 1.06 685
Jun-06 799 662 1.21 1.33 882
Jul-06 712 676 1.05 1.03 698
Aug-06 830 689 1.20 1.18 813
Sept-06 693 703 0.99 0.97 683
Oct-06 766 716 1.07 1.00 716
Nov-06 675 730 0.92 0.99 726
Dec-06 562 743 0.76 0.74 549
Jan-07 757 0.84 635
Feb-07 771 0.79 613
Mar-07 784 1.08 846
Apr-07 798 0.98 779
May-07 811 1.06 857
Jun-07 825 1.33 1099
Jul-07 839 1.03 866
Aug-07 852 1.18 1005
Sept-07 866 0.97 841
Oct-07 879 1.00 879
Nov-07 893 0.99 888
Dec-07 906 0.74 669
26
Table 3.2: Forecast Result Comparison with Company’s Judgmental Model
Year 2007 Consumption Our Forecast APE Company APE
(Forecast Model) Forecast (Company’s Model)
Jan-07 615 635 0.03 542 0.12
Feb-07 701 613 0.13 596 0.15
Mar-07 800 846 0.06 1026 0.28
Apr-07 944 779 0.17 1236 0.31
May-07 910 857 0.06 1253 0.38
Jun-07 1013 1099 0.08 1152 0.14
Jul-07 881 878 0.00 1099 0.25
Aug-07 981 994 0.01 1181 0.20
Sum (Error) 0.54 1.83
Average (Error) 0.07 0.23
27
Table 3.5: Forecast Data & Results of the Decomposition Model for September 2007 to August 2008
Year Consumption Trend Seasonal Factors Average Factors Forecast
Jan-05 405 424 0.96 0.83 353
Feb-05 352 438 0.80 0.83 365
Mar-05 474 452 1.05 1.06 479
Apr-05 445 467 0.95 1.04 487
May-05 465 481 0.97 1.07 517
Jun-05 727 495 1.47 1.29 640
Jul-05 519 509 1.02 1.03 526
Aug-05 607 523 1.16 1.18 616
Sep-05 517 538 0.96 0.97 522
Oct-05 515 552 0.93 1.00 550
Nov-05 603 566 1.07 0.99 561
Dec-05 418 580 0.72 0.73 426
Jan-06 439 595 0.74 0.88 520
Feb-06 485 609 0.80 0.88 533
Mar-06 697 623 1.12 1.06 658
Apr-06 641 637 1.01 1.03 659
May-06 749 651 1.15 1.04 677
Jun-06 799 666 1.20 1.36 903
Jul-06 712 680 1.05 1.03 702
Aug-06 830 694 1.20 1.15 798
Sept-06 693 708 0.98 0.94 664
Oct-06 766 722 1.06 0.93 669
Nov-06 675 737 0.92 0.92 676
Dec-06 562 751 0.75 0.69 516
Jan-07 615 765 0.80 0.88 670
Feb-07 701 779 0.90 0.88 682
Mar-07 800 794 1.01 1.06 838
Apr-07 944 808 1.17 1.03 836
May-07 910 822 1.11 1.04 854
Jun-07 1013 836 1.21 1.36 1134
Jul-07 850 1.03 878
Aug-07 865 1.15 994
Sept-07 879 0.94 823
Oct-07 893 0.93 827
Nov-07 907 0.92 833
Dec-07 921 0.69 633
Jan-08 936 0.88 819
Feb-08 950 0.88 831
Mar-08 964 1.06 1018
Apr-08 978 1.03 1013
May-08 993 1.04 1032
Jun-08 1007 1.36 1365
Jul-08 1021 1.03 1054
Aug-08 1035 1.15 1190
28
Chapter 4
Product demand is one of the key inputs and a major source of uncertainty
be 100% accurate and market changes could significantly change the de-
production facility and to deal with any specific realization of the demand
uncertainty.
stochastic model, the definition of the first and the second stage variable
models can be defined in several ways. For example, the first stage could
incorporate variables related to the location and capacity of the facility and
the second stage could represent how, given these decisions, the detailed
ther purchased from its parent company in Europe or from east Asia due to
lead time of more than 40∼45 working days is the norm, which means pur-
in advance before the demand is realized. The first stage decision in this
production decision for the next few (3∼4) months and the second stage de-
cision is to decide how, given these decisions, the detailed inventory, over-
30
time and production schedules under realized demand. This results in an
The first stage decision is how much material to purchase for the production
of the next 4 months, with an eye of the future seasonal demand. When
made to find, given these first stage purchasing and production decisions, the
are taken and the model needs to be solve every few months. The problem is
optimistic view of the future and therefore as the optimistic forecast. A third
riods of high demand. A minimum safety stock of 200 units has been
3. Hire/lay off. Laying off and rehiring are strategic decisions and is thus
not considered in this study. Workers cross trained and in a low demand
this study.
Notice again that the production plan for first four months are kept the
same, this represents the first stage decisions. When the purchasing decision
are known and demand are realized, the second-stage decisions are the de-
tailed overtime decisions and inventory level decisions that changes under
each scenario.
32
4.2 A Two-stage Stochastic Production Planning Model
timal production plan that minimizes the overall production, inventory and
Parameters
Indices:
s Index of scenario
Sets:
S Set of scenario
33
Deterministic Parameters:
under scenario s
I0 Initial inventory
α Overtime ratio
w Number of workers
Recourse Parameters:
34
Decision variables
scenario s (Units/hours)
scenario s (Units/hours)
Minimize
" #
S T T
∑ p(s) Cr .w + ∑ O(s,t).Co + ∑ (I(s,t)/12).Ch (4.1)
s=1 t=1 t=1
Subject to
• Capacity constraints
35
• Overtime and production occurrence constraints
• Non-negativity conditions
The objective (4.1) is to minimize the total cost, including the fixed an-
nual labor cost (term 1), overtime cost (term 2), and inventory cost (term 3).
Constraints (4.2) and (4.3) ensure that the beginning inventory plus produc-
tion and overtime during the current period equals the demand plus ending
pacity. Constraints (4.5) and (4.6) ensure that the overtime occurs only
36
when the regular production is at its maximum level and overtime cannot
production. Constraint (4.7) ensures that the production under all scenar-
ios remains greater than the minimum production. Constraint (4.8) ensures
that the ending inventory at each period is not less than the minimum safety
stock. Constraint (4.9) ensures that the productions under all scenarios re-
mains the same for first four months–the first stage decisions. Constraint
(4.10) ensures that all decision variables are non-negative and constraint
(4.11) ensures that the decision variables y(s,t) is binary. This problem is
Johnson (1979)).
The above stochastic program aims to minimize the expected value, the first
moment, of inventory and production cost and does not include any high or-
der moments or risk attribute of the decision maker, or the distribution of the
the inventory and production cost and to reduce the variability of solutions
under different scenarios, a robust model is used. The robust model aims to
obtain a solution that will not differ substantially among different scenarios
and to achieve this, minimizes fist order as well as higher order moments.
models (Keeney and Raiffa (1976) and Bai et al. (1997)). The former
presents a more general approach for handling risk aversion. In this study, a
the random variable be symmetric around its mean. Third and higher mo-
To do so, a variance of cost is added to the model for robustness and the
the model.
Parameters
λ Weighting scale
ε1 Lower bound
ε2 Upper bound
Variables
Mathematical Model
38
The robust production planning model can be formulated as follows.
!2
S S S
∑ ps ξs + λ ∑ ps ξs − ∑ psξs
′ ′
Min (4.12)
s=1 s=1 ′
s =1
K
W here ξs = cT x + ∑ pk (qTk yk ) (4.13)
k=1
′ ′
(∑s=1 ps ξs − ∑s′ =1 ps ξs )
S S
Sub ject to ε1 ≤ ≤ ε2 (4.14)
(∑Ss=1 ps ξs )
Equation(2.13) − (2.15) (4.15)
The first term of the objective function is the same as the stochastic model,
ios. Constraint (4.14) is used to keep the difference between scenarios cost
in an effort to get solutions that are less sensitive to change in the demand
Objective function
PC = Cr .w (4.16)
39
• Inventory cost
T
IC(s) = ∑ (I(s,t)/12).Ch.β (4.18)
t=1
Minimize
S
∑ p(s) [PC + OC(s) + IC(s)] (4.19)
s=1
" #2
S S
+λ ∑ p(s) (PC + OC(s) + IC(s)) − ∑
′
′ ′
p(s ) PC + OC(s ) + IC(s )
s=1 ′
s =1
Subject to
Equation (4.2)-(4.11)
The first part of objective function in equation (4.19) is the total cost as-
sociated with the labor cost per year, overtime workers cost and the in-
ventory cost. The second part in objective function is the square of the
difference between first part of the cost and each individual scenario cost.
Constraint (4.20) ensures that the difference between each individual sce-
nario cost should remain between ratio ε1 and ε2 and average cost.
lem, where all unknown variables are all required to be integers and some
Computational Results
All the stochastic and robust production planning models are implemented
in Xpress and solved using its integer linear and nonlinear solvers on a Pen-
for most of the models are within 4 to 5 seconds and has not posed a great
challenge. The results from various models are presented derive managerial
insights.
vide the smaller forecast values and is used as the pessimistic forecast (S(L))
Initial Inventory and Inventory Cost: The initial inventory, Is0 , is the
finished goods inventory at the end of August 2007. This value is currently
set at 1500 units. Notice that this is a rather large value due to the lack of
proper forecast and stochastic production planning models in the past. The
annual inventory holding cost is provided by company and is set at 10% per
year and the average cost per unit is $1000. The minimum inventory is set
(w) is 18 and is fixed. The average daily production rate, τ, is 2.89 unit and
with 90% efficiency, it becomes 2.60 unit. The company operates 8 hours a
day, 5 days a week, thus the regular production capacity is calculated as 983
Production and Overtime Costs: The regular production cost (Cr ) and
overtime production cost (Co ) are constant throughout the planning horizon
and are estimated to be $18 per hour and $27 per hour respectively. The
Given these parameters, the optimal level of production, inventory and over-
Under perfect information, it is assumed that each of the scenario can hap-
pen with the given probability, but the manager knows beforehand exactly
what scenario will happen. If this is the case, the manager would then take
optimal solution for each scenario as given in Table (5.2). This would leave
him with a cost of $731,475 for the pessimistic scenario, $750,608 for the
optimistic scenario, and $745,267 for the neutral scenario. The average cost
in the long run would be the average of three costs, namely $742,450 per
year. This is the cost that incurs under perfect information when the future
43
5.2.2 Two-Stage Stochastic Solution with the Same Four Month Production
production planning model shown in Table (5.3). This gives an optimal cost
of $747,145 per year, which includes production cost, inventory cost and
overtime cost. From the Table (5.3), we can see that most of the products
are produced from regular-time. The production for first four month is the
of knowing the future with certainty. The value can be calculated as the cost
pay for not knowing the future or the maximum money we would like to
44
pay to know the future.
A two stage stochastic model can also be derive to find solutions where all
the 12 month productions remain the same. Such a model would be useful to
such a model, we again set the first stage decision as the regular production,
but set all the production to be the same across the planning horizon. When
demand are realized, overtime and inventory can be adjusted to meet the
model with same 4 moth production as it has more constraints. The expected
value of perfect information and value of stochastic solution for the two two-
Table 5.4: Two-Stage Stochastic Model Production Plan with Same 12 Month Production
Time 1 2 3 4 5 6 7 8 9 10 11 12
Period
Scenario (L)
Demand 823 827 833 633 819 831 1018 1013 1032 1365 1054 1190
Production 650 650 650 650 966 983 983 983 983 983 983 983
Overtime 0 0 0 0 0 0 0 0 0 0 0 0
Inventory 1327 1150 967 984 1131 1283 1248 1218 1169 787 716 509
Scenario (H)
Demand 982 894 821 844 837 989 1002 790 1130 1409 1390 1250
Production 650 650 650 650 966 983 983 983 983 983 983 983
Overtime 0 0 0 0 0 0 0 0 0 197 197 197
Inventory 1168 924 753 559 688 682 663 856 709 480 270 200
Scenario (M)
Demand 869 885 824 633 836 950 1012 795 1036 1375 1385 1248
Production 650 650 650 650 966 983 983 983 983 983 983 983
Overtime 0 0 0 0 0 0 0 0 0 0 0 101
Inventory 1281 1046 872 889 1019 1052 1023 1211 1158 766 364 200
45
Table 5.5: EVIP and VSS Value for the Two Two-Stage Stochastic Models
Model Total Cost EVIP VSS VSS
(Expected Value) (Expected Demand)
Two-Stage (Same 12 Month) 754169 11719 -3305 -1730
Two-stage (Same 4 Month) 747145 4695 -10329 -8754
plan as the average of the production plan in all three scenarios, when they
are solved individually. This results in what is called the expected value
solution. This approach is common in optimization field but can have un-
favorable results. Table (5.6) shows the inventory level and overtime usage
for such a solution under the three scenarios, $763,033 in the first scenario,
$760,598 in the second scenario and $748,792 in the third scenario. The
The value of the stochastic solution(VSS) is the possible gain from solv-
ing the stochastic model and is calculated as the expected value solution cost
This is the benefit of solving the stochastic model over the average model,
the problem with the average of the demand of the three scenarios. This
approach is also called the solution under expected demand. Table (5.7)
46
Table 5.6: Inventory and Overtime Based on Expected Value
Time 1 2 3 4 5 6 7 8 9 10 11 12
Period
Scenario (L)
Demand 823 827 833 633 819 831 1018 1013 1032 1365 1054 1190
Production 650 650 730 789 874 983 983 983 983 983 983 983
Overtime 0 0 0 0 0 0 0 0 0 0 0 0
Inventory 1327 1150 1047 1203 1258 1410 1375 1345 1296 914 843 636
Scenario (H)
Demand 982 894 821 844 837 989 1002 790 1130 1409 1390 1250
Production 650 650 730 789 874 983 983 983 983 983 983 983
Overtime 0 0 0 0 0 0 0 0 0 70 197 197
Inventory 1168 924 833 778 815 809 790 983 836 480 270 200
Scenario (M)
Demand 869 885 824 633 836 950 1012 795 1036 1375 1385 1248
Production 650 650 730 789 874 983 983 983 983 983 983 983
Overtime 0 0 0 0 0 0 0 0 0 0 0 0
Inventory 1281 1046 952 1108 1146 1179 1150 1338 1285 893 491 226
shows the production plan under such a model. The cost of this expected
demand solution for the three scenarios are shown in Table (5.8).
and equals $8,754. This is the benefit of solving the stochastic model over
solution from the each individual solution, where as the solution under ex-
47
Table 5.8: Inventory and Overtime for All Scenarios Based on Expected Demand Production
Time 1 2 3 4 5 6 7 8 9 10 11 12
Period
Scenario (L)
Demand 823 827 833 633 819 831 1018 1013 1032 1365 1054 1190
Production 650 650 650 760 983 983 983 983 983 983 983 983
Overtime 0 0 0 0 0 0 0 0 0 0 0 0
Inventory 1327 1150 967 1094 1258 1410 1375 1345 1296 914 843 636
Scenario (H)
Demand 982 894 821 844 837 989 1002 790 1130 1409 1390 1250
Production 650 650 650 760 983 983 983 983 983 983 983 983
Overtime 0 0 0 0 0 0 0 0 0 70 197 197
Inventory 1168 924 753 669 815 809 790 983 836 480 270 200
Scenario (M)
Demand 869 885 824 633 836 950 1012 795 1036 1375 1385 1248
Production 650 650 650 760 983 983 983 983 983 983 983 983
Overtime 0 0 0 0 0 0 0 0 0 0 0 0
Inventory 1281 1046 872 999 1146 1179 1150 1338 1285 893 491 226
production cost, total cost and expected cost for different models discussed
in this section.
In this section, we considered the changes in the total costs by changing the
probability associated with the scenarios. Three cases have been considered
in this study. In case I, each scenario has equal probability. In case II, the
case III, the probability distribution is skewed towards the optimistic fore-
cast (S(H)). Table (5.10) shows the probability of each scenarios and Table
As can be seen, the total cost is reduced in Case II since a large prob-
48
Table 5.9: Cost Comparison of Various Models
Model Scenario Production Overtime Inventory Total Expected
Cost Cost Holding Cost cost cost
Perfect Information Solution
S(L) 648000 0 83475 731475
S(H) 648000 0 102608 750608 742450
S(M) 648000 0 97267 745267
Two-Stage Stochastic Model
(4 Month)
S(L) 648000 0 90200 738200
S(H) 648000 20022 84900 752922 747145
S(M) 648000 9221 93092 750313
Two-Stage Stochastic Model
(12 Month)
S(L) 648000 0 104075 752075
S(H) 648000 49098 66267 763365 754169
S(M) 648000 8391 90675 747066
Expected Value Solution
S(L) 648000 0 115033 763033
S(H) 648000 38548 74050 760598 757474
S(M) 648000 0 100792 748792
Expected Demand Solution
S(L) 648000 0 113458 761458
S(H) 648000 38548 72475 759023 755899
S(M) 648000 0 99217 747217
in case III since a large probability of high demand is present. Not surpris-
high (low) demand will result in high (low) costs because more units are
produced, more (less) overtime used, and more (fewer) inventory required
and case III are shown in Table (5.12) and (5.13) respectively.
49
Table 5.11: Sensitivity Analysis- Change of Probability Distribution
Case Production Cost Overtime Cost Inventory Holding Cost Total cost
Case I 648000 9748 89397 747145
Case II 648000 10293 85936 744229
Case III 648000 9853 91241 749094
In all previous experiments, scenarios S(L) and S(H) represents lower and
upper bound and scenario S(M) has random values between S(L) and S(H).
In this experiment, rather than choose lower and higher demand S(L) and
S(H) as the scenarios, three random scenarios are generated with demand
uniformly distributed between S(L) and S(H). The detailed production plans
are shown in Table (5.14). The cost associated with the three scenarios are
resents the lower, upper and medium scenario, shown in Figure (5.1) with
a discrete distribution. The mean is of the demand 0.5 and the variance is
0.408. The random sample of scenarios from low and high, however, repre-
The mean of the demand is 0.5 and variance is 0.288. Though the mean
demand of the two experiments are the same, the latter has a much smaller
overtime ratios. These overtime ratios are set 0%, 5%, 10%, 15%, 20%,
25% and 30% respectively. Table (5.15) and Figure (5.2) shows the changes
allowed, gives the highest cost of $751,228. When overtime ratio increases,
the total cost drops from $751,228 to $ 747,145. However, when overtime
52
Figure 5.1: Mean and Variance of two random samples
overtime cost to $36 per hour. These overtime is costly and will not appear
In this experiment, we studied the changes of total cost with respect to dif-
ferent inventory holding costs. The inventory holding cost are set at 0%,
5%, 10%, 15%, 20%, 25%, and 30% respectively. Table (5.16) shows the
total costs associated with the inventory holding values and the detailed pro-
duction plans for inventory holding cost of 20% and 30% are shown in Table
53
5
x 10
7.515
7.51
7.505
7.495
7.49
7.485
7.48
7.475
7.47
0 5 10 15 20 25 30
Overtime Ratio
As we can see, when inventory holding cost increases, the total cost
increases, more units are produced in overtime and the average units stored
holding cost increases, even regular production for first few months is kept
at the minimum and overtime is used to fulfill the demand. This seems
Though the robust solution has a slightly high total cost, it however,
has dramatically less changes in the cost for each scenario. The cost for
S(L) is $750,674, for S(M), $750,667, for S(H), $750,801. The small cost
want dramatic changes in its cost over years. The cost difference for all
55
Table 5.18: Inventory, Overtime and Production with Inventory Holding Cost 30%
Time 1 2 3 4 5 6 7 8 9 10 11 12
Period
Scenario (L)
Demand 823 827 833 633 819 831 1018 1013 1032 1365 1054 1190
Production 650 650 650 650 650 650 850 983 983 983 983 983
Overtime 0 0 0 0 0 0 0 0 0 195 81 197
Inventory 1327 1150 967 984 815 634 466 436 387 200 210 200
Scenario (H)
Demand 982 894 821 844 837 989 1002 790 1130 1409 1390 1250
Production 650 650 650 650 769 983 983 983 983 983 983 983
Overtime 0 0 0 0 0 0 0 0 197 197 197 197
Inventory 1168 924 753 559 491 485 466 659 709 480 270 200
Scenario (M)
Demand 869 885 824 633 836 950 1012 795 1036 1375 1385 1248
Production 650 650 650 650 650 742 983 983 983 983 983 983
Overtime 0 0 0 0 0 0 0 0 67 197 197 197
Inventory 1281 1046 872 889 703 495 466 654 668 473 268 200
56
Chapter 6
6.1 Conclusions
certainty and randomness in demand pattern makes it difficult for the man-
uncertain demand.
The model is solved with real data from a local company and compared
to issues such as overtime usage, inventory holding cost and the proper se-
scenarios. The stochastic model provide the best overall results and help
The initial inventory of thermal cooling unit , as collected from real data of
ning horizon (September 2007), is 1500 units. This makes the average in-
To find the optimal level of initial inventory, we resolve the model and
leave I0 as a variable and kept it equal to final inventory. The optimal level of
initial inventory is 200 units. As such, the average inventory from Septem-
ber 2008 to August 2009, as shown in Table (6.1) will be 551 units. This
inventory cost savings for the company. This is achieved through the use
creased.
59
Bibliography
124.
Bai, D., T. Carpenter, and J. Mulvey, 1997. Making a case for robust opti-
5:73–79.
Birge, J. R., 1982. The value of the stochastic solution in stochastic linear
Box, G., G. M. Jenkins, and G. Reinsel, 1976. Time Series Analysis: Fore-
cal issues, and uses of the russell- yasuda kasai financial planning model.
neering, 21:751–774.
81:131–161.
61
Dantzig, G. B., 1955. Linear programming under uncertainty. Management
Science, 1:197–206.
bos, 2000. Planning logistics operations in the oil industry. Journal of the
Fair, R. C., 1989. The production-smoothing model is alive and well. Jour-
56.
Research, 35:2656–2671.
San Francisco.
Hill, A. and W. Sawaya, 2004. Production planning for medical devices with
56-57:243–52.
Huang, H.-J. and G. Xu, 1998. Aggregate scheduling and network solving
59:510–520.
preferences and value tradeoffs. John Wiley and Sons, New York.
Liu, X. and Y. Tu, 2008. Production planning with limited inventory capac-
111:180–191.
Mula, J., R. Poler, J. Garca-Sabater, and F. Lario, 2006. Models for pro-
Research, 31:399–424.
Nahmias, S., 1993. Production and Operations Analysis (2nd ed.). Irwin,
New York.
16:119–147.
39:340–348.
San Diego.
66