Professional Documents
Culture Documents
Stochastic Programming Models
Stochastic Programming Models
Dynamic Programming
Module 4 – Stochastic 2
Programming Models A group of geologists have been sent to investigate the cause of massive landslides in Northern Luzon.
The trip would require travel on foot on the mountain slopes to gather soil samples. Three (3) types of
geological kits are to be used for purposes of gathering soil specimen. Each geologist must carry a
knapsack loaded with at least one kit but no more than 4 kits of the same type. In general, the more
kits of the same type, the better, since a greater quantity of samples can be gathered. Because these
SA MPLE PROB LE MS kits are heavy and would have to be carried for a long period of time, it is recommended that each
geologist carry only a limited load and the total weight of the kits in each knapsack must not exceed 10
kilograms. Data on each type of kit are as follows:
How many of each type of kit should a geologist carry to maximize the value of soil specimen
gathered? Solve using backward recursive approach.
Stage 2: Kit B Obj. Max. f2(S) = r2(x2) + f3(S2-2.5x2) Stage 1: Kit A Obj. Max. f1(S) = r1(x1) + f2(S1-1.5x1)
x2 Max Opt x1 Max Opt
S1 1 2 3 4 f1 x1
S2 1 2 3 4 f2 x2
10 19 22 21 19 22 2
3.5 10 10 1
4 10 10 1
5 13 13 1 Opt. f(X) = 22
6 15 11 15 1 Loading Kit No. Wt. Total Wt. Value
A 2 1.5 3 6
7 16 14 16 1
B 1 2.5 2.5 6
8 16 16 16 1,2 C 4 1 4 10
8.5 16 16 12 16 1,2 Total wt. of kits in knapsack = 9.5 22
1
6/22/2014
2
6/22/2014
Decision Theory
13 14
X Co. has the opportunity to bid on a government contract for 100,000 items to
be used in a top-secret military project. They estimated that these items could
be manufactured by their existing eqpt. at a cost of P125.00 per unit. However,
one of their engineers has suggested a new process for manufacturing the
items. The unit cost estimates for the new process are only P75.00 if all goes
well and P95.00 if there are minor complications. If major complications arise,
the costs could be prohibitive so they would have to return to the old process.
The engineers estimate the probability of minor complications at 0.5, major
complications at 0.2 and no complications at 0.3. The investment required for
the new process is P1M, which would not be recoverable. The company must
make its bid on the contract before the new process can be tested. The various
bids under consideration and the estimated probability of obtaining the
contract are presented below. What course of action do you recommend to the
company?
IE198D Quarter
Quarter 12SY2011-12
SY2012-13 IE198D Quarter 2 SY2012-13
If Shell chooses B, its market share will increase by 3%, will not change or will increase by Caltex
1% depending on whether Caltex chooses A, B or C, respectively. If Shell chooses C, its A B C Row Min.
market share will increase by 4%, by 3% or by 2%, depending on Caltex’s choice. A 3 -4 1 -4
Shell B 3 0 1 0
C 4 3 2 2
Formulate the Payoff Matrix for this Game. Determine the optimum advertising strategy for
Shell and Caltex. What is the game result? Col. Max. 4 3 2 Saddlepoint
=2
Solve the following game You are planning a vacation to Australia in June. The weather
advisory you got from the travel agency states that June is a rainy
Column month and there are never 2 sunny days in a row. The historical
pattern for weather conditions indicate that if today is sunny, the
Row C1 C2 C3 C4 C5 following day will have either rain or snow with equal
R1 0 -6 -8 -3 -2 probability. When there is rain or snow today, there is a 50%
chance that the following day will have the same weather and an
R2 -8 4 -2 14 -16 equal chance of the two other possibilities. Formulate the matrix
R3 4 -10 -8 2 -1 of transition probability for this Markov chain. If you are leaving
in 5 days for a 5-day vacation, what would be the daily weather
R4 6 4 -4 0 12 forecast during your vacation if the weather today in your
destination was sunny?
3
6/22/2014
The Director of the Bilibid Prisons has gathered data on the movement of people who
have been convicted and admitted to its facility. The following table summarizes the
probabilities of various annual movements. Given a pool of 10,000 persons who have
been admitted to the prison, 2,000 are currently in high security; 6,000 are in medium
security; 700 are on work release; 300 are living freely inside the compound and the rest
have been released. It has also been observed that some prisoners released from the
system re-enter the facility. In the long-run, how many persons are expected to be in
each of the jail classifications?
From/To High Security Med. Security Work Release Free Living Released
High Security 0.70 0.30 - - -
Med. Security 0.10 0.60 0.15 0.05 0.10
Work Release - 0.15 0.40 0.20 0.25
Free Living - 0.05 0.10 0.40 0.45
Released 0.02 0.08 - 0.10 0.80
The Kidney Center classifies its patients into 4 types: those in dialysis (D);
those who have lived more than a year with a transplanted kidney (T2);
those who are in their first year with a transplanted kidney from a living Kidney Center A Death
donor (LT); those who are in their first year with a kidney from a dead
donor (DT). Over the years, the center has determined the annual F D 7.692308 0 0 0 D 0.13 0.333333
movement of patients in these stages as follows: T2 5.128205 6.666667 0 0 T2 0.05 0.128205
Patient Type
D T2 LT DT Death
LT 5.15384 5 1 0 LT 0.06 0.153846
D 0.87 0 0 0 0.13 DT 5 4 0 1 DT 0.15 0.384615
T2 0.1 0.85 0 0 0.05 Death 0.39
Patient Type LT 0.19 0.75 0 0 0.06 F*A D 1
DT 0.25 0.6 0 0 0.15
Death 0 0 0 0 1
T2 1 Exp. Lifespan of DT =10 steps (years)
LT 1 % fr. D = 0.3333
What is the expected lifespan of a patient who has received a transplant DT 1
from a dead donor? What percentage of the patients who died comes from
those undergoing dialysis?
If there are r absorbing states and t transient states, the transition matrix will
have the following canonical form
Company Z has a key work center composed of a single machine.
Jobs arrive at this work center according to a Poisson process at a
Abs. Non-Abs.
mean rate of 2/day. The processing time for each job has an
Abs. I O
exponential distribution with a mean of ¼ day. Because the jobs are
Non-Abs. A N
bulky, those not being worked on are stored in a room located some
distance from the work center that results to some delay due to
F (fundamental matrix) = (I-N)-1, exp. no. of times a process stays in each non-
abs. state before it is absorbed. transportation. The work center in-charge is proposing to clear
some space next to the machine to accommodate 3 waiting jobs.
Prob. Of Absorption = FA, probability that a non-abs. state will end up in a Jobs in excess will continue to be stored in the old room. What
particular abs. state in the future proportion of the time will this temporary storage space be
adequate? What will be the % utilization of the old room if the
temporary storage is implemented?
4
6/22/2014
Given: λ = 2/day
An airline reservation system has six telephone lines manned by 4
µ = 4/day customer relations personnel. Incoming phone calls are believed to
be Poisson with a rate of 15/hour. The time to service a caller is
Temporary storage will not be adequate if there are exponential with a mean of 8 minutes. If a call comes in and all the
more than 4 in system. personnel are busy, then the call is automatically placed on hold
using the remaining lines, providing a line is available; otherwise,
Proportion of time that jobs are in temp. storage = p0 the call is lost. A busy signal means all lines are engaged. Callers
+ p1 + p2 + p3 + p4= 0.5 + (0.5*0.5) + (0.5*0.5*0.5) encountering a busy signal are assumed to place reservations with
another airline. It is also assumed that calls on hold never renege.
+ (0.5*0.5*0.5*0.5) + (0.5*0.5*0.5*0.5*0.5) = Is the system configuration adequate to ensure that the probability
0.96875 or 96.875% (temp. storage is adequate) of rejection is below 15%? If not, what recommendations can you
make regarding this system?
% utilization of old room = p(n>4) = 1 –
(po+p1+p2+p3+p4) = 1 – 0.96875 = 0.03125 or
3.125%
IE198D Quarter 2 SY2012-13 IE198D Quarter 2 SY2012-13
Five cars arrive at a pollution testing center every hour. P of parking = 1 – [P0 + P1 + P2 + P3]
The average time for testing emissions is 6 minutes. The
center can accommodate only 3 cars at any time. Any car, P0 = 1 – (5/10) = 0.5
which cannot be accommodated in the center, takes a risk
P1 = Po (5/10)1 = 0.5(0.5) = 0.25
of parking on the road with a “No Parking” sign and
where there is a 40% chance of being fined P500. The P2 = Po (5/10)2 = 0.5(0.5)2 = 0.125
owner of the testing center pays the fines. The center P3 = Po (5/10)3 = 0.5(0.5)3 = 0.0.625
operates 48 hours a week. Cars which have been tested
are picked up immediately by the customers. Compute P of parking = 1 – (0.5+0.25+0.125+0.0625) = 0.0625 or 6.25%
the weekly fines that the center pays because of its limited
space.
Expected weekly fines = Pparking (l) Pfine (500)
= 0.0625(5)(0.4)(500) = P3,000
5
6/22/2014
Because of early dismissal from a class, you suddenly find The manager of a farm cooperative is concerned about the yield he can expect from this year’s rice
yourself with a 30-minute break. Since your next class is a crop. His cooperative has the following historical data of annual yields.
laboratory and expected to last for 4.5 hours, you are Yield (cavans/hectare) 120 140 160 180
contemplating of taking a snack in the canteen. You Probability 0.18 0.26 0.44 0.12
estimate that if you can wait in line for food for no more
than 5 minutes, you can make it in time for your next class. The expected yield is 150 cavans/hectare; however, the manager would like to seea
simulation of expected yields in the next 10 years.
You believe that students taking a meal at this particular Develop the simulation model and simulate 10 years yield using the random digits below,
time arrive at an average rate of 30/hour in a manner starting with the first set of numbers, moving from left to right. Two-digit random numbers
which can be described by a Poisson distribution. The are to be sued to determine the yield. Start with the first 2 numbers and every 3rd pair of
canteen can serve 40 customers/hour with exponentially- numbers after that.
distributed service times. Given these data, should you take Random Digits
a snack? Justify your answer with computations. 0190453442 4800088084 1165628559 5407921254 3768932478 4020651657