Download
Download
An owner of a bakery shop would like to determine how many 10-inch birthday
cakes he should produce each day in order to maximize his profit. His present
method of determining the quantity to bake is based on his best guess. For
example if he estimates the daily demand will be five cakes, then five cakes will
be produced for the day’s operation. Since it is more economical to process all the
cakes in one batch, all five cakes would be produced early in the morning.
The production costs are $2.00 per cake. And the profit for each cake is
$2.5. However, If over estimates the daily demand, some cakes will be left over at
the end of the day. The policy is to sell all leftover cakes to a local store that
specializes in day-old items. He is currently receiving $1.50 per cake for the
surplus cakes, thus incurring a loss of $0.50 per cake.
What he needs is a way to carry out his trial-and-error procedure without actually
performing the experiments.
Model development:
Let
When writing a mathematical model to describe how profits are related to the
production quantity x and d , we need only consider two separate case:
If x<= d, z = 2.5x
Z = 3.00 d- 0.5 x
To develop a general model that are appropriate for similar problems, we must
introduce some additional notation.
Let
s = day-old price
Case 1: The production quantity is less than or equal to demand
If x<= d, z = (p-c) x
Z = (p-s) d – (s-c) x
Assume that we have available data showing the daily demand during the past
month (10 days of operation) This history of daily demand is shown in the table
below
frequency _ of _ observation
Where relative _ frequency =
total _ number _ of _ observations
Manual Simulation:
Take a sheet of paper and cut it into twenty equal pieces. Following the historical
daily demand frequency in the table, write the number zero on one piece. On two
of the remaining pieces write the number one, which stands for the demand of
one unit. Then on one piece write the number two, on two pieces write the
number three… and so on.
Check the numbers you have written carefully, because this “deck” of twenty
pieces will be used in our simulation of the process. Note that your deck has 5%
0’s. 10%1’s, 5% 2’S, and so on. And represents the historical relative frequency
distribution of the above table Now shuffle your deck of twenty pieces of paper
so as to thoroughly mix up the numbers. Since the slips are all the same size, if we
select one slip of paper at random, we will have simulated drawing a specific daily
demand from the distribution shown in the table.
Let us now see how we can use this “deck” in the simulation of the shop
operation. The first step is the selection of the production quantity, Assume (x=3).
The second step in the simulation process is to select a “hypothetical” daily
production quantity. Now use the deck of twenty slips of paper to generate a
demand by selecting one slip of paper at random. Suppose the first slip drawn has
a 5 written on it. We shall then use a demand of 5 cakes for the first simulated
day of bakery shop operation. This level of demand corresponds to an
underproduction of 2 cakes. Since x<d, we can computer our first day’s profit
using the expression 2.5x=25(3)=$7.5. i.e. Total profit of $7.5.
We generate a hypothetical demand for the second day of our simulation by
returning the previously selected slip of paper to the deck, reshuffling all twenty
pieces of paper, and then drawing another slip at random. And compute the
profit z of the second day then add it to the profit of the first day to upgrade the
total profit.
Now Consider changing the production rate. Using the same set of hypothetical
daily demand for x=1,2,3,4,5,6,7,8.
From the table it is clear that the best production quantity that maximizes the
profit is at x=6. The results are based on only 10-day simulation.