Acc 421 Sim (Week 1-3)
Acc 421 Sim (Week 1-3)
1
College of Arts and Sciences Education
General Education - Mathematics
2nd Floor, DPT Building, Matina Campus, Davao City
Phone No.: (082)300-5456/305-0647 Local 134
2
College of Arts and Sciences Education
General Education - Mathematics
2nd Floor, DPT Building, Matina Campus, Davao City
Phone No.: (082)300-5456/305-0647 Local 134
3
College of Arts and Sciences Education
General Education - Mathematics
2nd Floor, DPT Building, Matina Campus, Davao City
Phone No.: (082)300-5456/305-0647 Local 134
Let us begin!
4
College of Arts and Sciences Education
General Education - Mathematics
2nd Floor, DPT Building, Matina Campus, Davao City
Phone No.: (082)300-5456/305-0647 Local 134
Metalanguage
In this section, the essential terms relevant to the study of the nature of
Mathematics and to demonstrate ULO-a will be operationally defined to establish a
common frame of reference as to how the texts work. You will encounter these terms
as we go through the study of the nature of mathematics. Please refer to these
definitions in case you will encounter difficulty in understanding some concepts.
5
College of Arts and Sciences Education
General Education - Mathematics
2nd Floor, DPT Building, Matina Campus, Davao City
Phone No.: (082)300-5456/305-0647 Local 134
5. Linear Programming
Linear programming is an optimization technique for a system of linear
constraints and a linear objective function. An objective function defines the
quantity to be optimized, and the goal of linear programming is to find the
values of the variables that maximize or minimize the objective function.
Essential Knowledge
To perform the aforesaid big picture (unit learning outcomes) for the first three
(3) weeks of the course, you need to fully understand the following essential
knowledge that will be laid down in the succeeding pages. Please note that you are
not limited to refer to these resources exclusively. Thus, you are expected to utilize
other books, research articles, and other resources that are available in the
university’s library e.g., ebrary, search.proquest.com, etc.
6
College of Arts and Sciences Education
General Education - Mathematics
2nd Floor, DPT Building, Matina Campus, Davao City
Phone No.: (082)300-5456/305-0647 Local 134
(and most difficult) phase of practicing OR. It also emphasizes that, while
mathematical modeling is a cornerstone of OR, intangible (unquantifiable) factors
(such as human behavior) must be accounted for in the final decision.
7
College of Arts and Sciences Education
General Education - Mathematics
2nd Floor, DPT Building, Matina Campus, Davao City
Phone No.: (082)300-5456/305-0647 Local 134
objective function. In the tickets example, the problem presents three feasible
alternatives, with the third alternative yielding the optimal solution.
Though OR models are designed to "optimize" a specific objective criterion
subject to a set of constraints, the quality of the resulting solution depends on the
completeness of the model in representing the real system. Take, for example, the
tickets model. If one is not able to identify all the dominant alternatives for purchasing
the tickets, then the resulting solution is optimum only relative to the choices
represented in the model. To be specific, if alternative 3 is left out of the model, then
the resulting "optimum" solution would call for purchasing the tickets for P1880,
which is a suboptimal solution. The conclusion is that "the" optimum solution of a
model is best only for that model. If the model happens to represent the real system
reasonably well, then its solution is optimum also for the real situation.
8
College of Arts and Sciences Education
General Education - Mathematics
2nd Floor, DPT Building, Matina Campus, Davao City
Phone No.: (082)300-5456/305-0647 Local 134
behavior of the real system. In a way, simulation may be regarded as the next best
thing to observing a real system. The main difference between queuing and
simulation is that queuing models are purely mathematical, and hence are subject
to specific assumptions that limit their scope of application. Simulation, on the other
hand, is flexible and can be used to analyze practically any queuing situation.
The use of simulation is not without drawbacks. The process of developing
simulation models is costly in both time and resources. Moreover, the execution of
simulation models, even on the fastest computer, is usually slow.
9
College of Arts and Sciences Education
General Education - Mathematics
2nd Floor, DPT Building, Matina Campus, Davao City
Phone No.: (082)300-5456/305-0647 Local 134
Phase 3, dealing with model solution, is the best defined and generally the
easiest to implement in an OR study, because it deals mostly with precise
mathematical models. Implementation of the remaining phases is more an art than
a theory.
Problem definition involves defining the scope of the problem under
investigation. This function should be carried out by the entire OR team. The aim is
to identify three principal elements of the decision problem: (1) description of the
decision alternatives, (2) determination of the objective of the study, and (3)
specification of the limitations under which the modeled system operates.
Model construction entails an attempt to translate the problem definition into
mathematical relationships. If the resulting model fits one of the standard
mathematical models, such as linear programming, we can usually reach a solution
by using available algorithms. Alternatively, if the mathematical relationships are too
complex to allow the determination of an analytic solution, the OR team may opt to
simplify the model and use a heuristic approach, or they may consider the use of
simulation, if appropriate. In some cases, mathematical, simulation, and heuristic
models may be combined to solve the decision problem.
Model solution is by far the simplest of all OR phases because it entails the
use of well-defined optimization algorithms. An important aspect of the model
10
College of Arts and Sciences Education
General Education - Mathematics
2nd Floor, DPT Building, Matina Campus, Davao City
Phone No.: (082)300-5456/305-0647 Local 134
11
College of Arts and Sciences Education
General Education - Mathematics
2nd Floor, DPT Building, Matina Campus, Davao City
Phone No.: (082)300-5456/305-0647 Local 134
12
College of Arts and Sciences Education
General Education - Mathematics
2nd Floor, DPT Building, Matina Campus, Davao City
Phone No.: (082)300-5456/305-0647 Local 134
Step 8. Determine the value of the objective function for the optimal
solution.
Example.
The company uses wood and labor to produce tables and chairs. Recall that
unit profit for tables is ₱6, and unit profit for chairs is ₱8. There are 300 board feet
(bf) of wood available, and 110 hours of labor available. It takes 30 bf and 5 hours to
make a table, and 20 bf and 10 hours to make a chair. Table 1 contains the
information for the LP problem. We will go through the step-by-step process of
solving this problem graphically.
Solution.
Step 1. Formulate the LP problem.
Table 1 will help us formulate the problem. The bottom row is used to formulate
the objective function. Objective functions are developed in such a way as to be
either maximized or minimized. In this case, the company’s management wishes to
maximize unit profit. The wood and labor rows are used to formulate the constraint
set. Finally, the nonnegativity conditions are stated.
Maximize: Z = 6X1 + 8X2 (objective function)
Subject to:
30X1 + 20X2 < 300 (wood constraint: 300 bf available)
13
College of Arts and Sciences Education
General Education - Mathematics
2nd Floor, DPT Building, Matina Campus, Davao City
Phone No.: (082)300-5456/305-0647 Local 134
Now plot the wood constraint line, using the intercepts X1 = 10 and X2 = 15.
Plot the labor constraint line, using the intercepts X1 = 22 and X2 = 11. See Figure
below.
14
College of Arts and Sciences Education
General Education - Mathematics
2nd Floor, DPT Building, Matina Campus, Davao City
Phone No.: (082)300-5456/305-0647 Local 134
for the wood constraint line, we get 30(20) + 20(10) < 300, which is not valid. In other
words, there simply isn’t enough wood to make 20 tables and 10 chairs.
Now plot the objective function lines when Z = 48 and Z = 72. See figure below.
We can see from the two objective function lines that as we move away from the
origin (0,0), Z increases.
15
College of Arts and Sciences Education
General Education - Mathematics
2nd Floor, DPT Building, Matina Campus, Davao City
Phone No.: (082)300-5456/305-0647 Local 134
To do so, multiply the labor equation by -2 and add it to the wood equation so
the X2 variable becomes zero and we can solve for X1.
30 X1 20 X 2 300 (wood)
2 5 X1 10 X 2 110 (labor)
20 X1 0 80
X1 4 tables
Next, substitute the number of tables calculated above into either of the
constraint equations to find the number of chairs. For this example, we will substitute
into both equations to illustrate that the same value is found.
Wood constraint: Labor constraint:
30 4 20 X 2 300 5 4 10 X 2 110
120 20 X 2 300 20 10 X 2 110
20 X 2 300 120 10 X 2 110 20
X 2 9 chairs X 2 9 chairs
16
College of Arts and Sciences Education
General Education - Mathematics
2nd Floor, DPT Building, Matina Campus, Davao City
Phone No.: (082)300-5456/305-0647 Local 134
Thus, the company’s optimal solution is to make four tables and nine chairs. In this
case, you could read this solution off the graph by finding the values on the x and y
axes corresponding to the most attractive corner. However, when the most attractive
corner corresponds to an optimal solution with fractions, it is not possible to read
directly from the graph. For example, the optimal solution to this problem might have
been 3.8 tables and 9.2 chairs, which we probably would not be able to read
accurately from the graph.
Step 8. Determine the value of the objective function for the optimal
solution. Plug in the number of tables and chairs and solve for Z:
Z = ₱6(4) + ₱8(9) = ₱96
Thus, we find that maximum profit of ₱96 can be obtained by producing four tables
and nine chairs.
17
College of Arts and Sciences Education
General Education - Mathematics
2nd Floor, DPT Building, Matina Campus, Davao City
Phone No.: (082)300-5456/305-0647 Local 134
Activity 1. Now that you know the most essential concepts operations research. Let
us try to check your understanding of these concepts by answering the
following questions.
1. Determine the feasible space for each of the following independent constraints,
given that X1, X2 ≥ 0.
a) –3X1 + X2 ≤ 6
b) X1 – 2X2 ≥ 5
c) 2X1 – 3X2 ≤ 12
d) X1 – X2 ≤ 0
e) –X1 + X2 ≥ 0
a) Maximize Z = X1 – X2
b) Maximize Z = –5X1 – 6X2
c) Maximize Z = –X1 + 2X2
d) Maximize z = –3X1+ X2
3. Amy, Jim, John, and Kelly are standing on the east bank of a river and wish to
cross to the west side using a canoe. The canoe can hold at most two people at
a time. Amy, being the most athletic, can row across the river in 1 minute. Jim,
John, and Kelly would take 2, 5, and 10 minutes, respectively. If two people are
in the canoe, the slower person dictates the crossing time. The objective is for all
four people to be on the other side of the river in the shortest time possible.
a) Identify at least two feasible plans for crossing the river (remember, the canoe
is the only mode of transportation and it cannot be shuttled empty).
b) Define the criterion for evaluating the alternatives.
c) What is the smallest time for moving all four people to the other side of the
river?
18
College of Arts and Sciences Education
General Education - Mathematics
2nd Floor, DPT Building, Matina Campus, Davao City
Phone No.: (082)300-5456/305-0647 Local 134
1. Royal Co. manufactures aluminum sheets and aluminum bars. The maximum
production capacity is estimated at either 800 sheets or 600 bars per day. The
maximum daily demand is 550 sheets and 580 bars. The profit per ton is ₱40 per
sheet and ₱35 per bar. Determine the optimal daily production mix.
2. In the Save Mart grocery store, shelf space is limited and must be used effectively
to increase profit. Two cereal items, Oatie and Wheatie, compete for a total shelf
space of 60 ft2. A box of Oatie occupies 0.2 ft2 and a box of Wheatie needs
0.4 ft2. The maximum daily demands of Oatie and Wheatie are 200 and 120
boxes, respectively. A box of Oatie nets ₱1.00 in profit and a box of Wheatie
₱1.35. Save Mart thinks that because the unit profit of Wheatie is 35% higher
than that of Oatie, Wheatie should be allocated 35% more space than Grano,
which amounts to allocating about 57% to Wheatie and 43% to Oatie. What do
you think?
3. Fuji Motorcycles can advertise its products on local radio and television (TV).
The advertising budget is limited to ₱10,000 a month. Each minute of radio
advertising costs ₱15 and each minute of TV commercials ₱300. Show & Sell
likes to advertise on radio at least twice as much as on TV. In the meantime, it is
not practical to use more than 400 minutes of radio advertising a month. From
past experience, advertising on TV is estimated to be 25 times as effective as on
radio. Determine the optimum allocation of the budget to radio and TV
advertising.
19
College of Arts and Sciences Education
General Education - Mathematics
2nd Floor, DPT Building, Matina Campus, Davao City
Phone No.: (082)300-5456/305-0647 Local 134
Activity 1. Based from the definition of the most essential terms and concepts in
the study of sets and the learning exercises that you have done,
please feel free to write your arguments or lessons learned below.
1.
2.
3.
20
College of Arts and Sciences Education
General Education - Mathematics
2nd Floor, DPT Building, Matina Campus, Davao City
Phone No.: (082)300-5456/305-0647 Local 134
1.
2.
3.
4.
5.
21