Professional Documents
Culture Documents
Open University
Fundamentals of
Prescriptive Analytics
A Business Analytics Course
Welcome! There are three types of business analytics according to purpose, namely: 1)
descriptive, 2) predictive and 3) prescriptive. This course tackles prescriptive analytics
which is operationalized by the multidisciplinary field of Operations Research. Hence,
this course particularly introduces topics relating to optimization models and algorithms,
queueing and simulation. For the most part, the course emphasizes on modelling to
produce adequate and sound prescriptions to solve business or management problems.
COURSE OBJECTIVES
COURSE OUTLINE
MODULE 1 – Introduction to Prescriptive Analytics and Operations Research
MODULE 2 – Modeling with Linear Programming
A. Definition of Linear Programming
B. Components of Linear Programming Model
C. Assumptions in Linear Programming
D. Formulation Techniques
COURSE MATERIALS
All learning resources will be made available for downloading so you can review them as
often as you wish without having to go online.
COURSE MATERIALS
Topics UPOU Videos* Other Online Resources**
Module 1 – • “Introduction Application of Business Analytics:
Introduction to to Big Data • http://technical.ly/baltimore/wp-
Prescriptive and content/uploads/sites/3/2012/10/ColdChainAn
Analytics and Business alyticsMagpieSensing-Whitepaper-Final.pdf
Operations Analytics” by
Research Prof. Erik
Paolo
Capistrano
• “Ethical
Implications
in Business
Analytics” by
Assumptions
in Linear
Programming
Model
Formulation • “LP
Techniques Modeling I”
by Prof.
Ramon
Miguel
Panis, UPD
• “Some LP
Tricks” by
Prof. Ramon
Module
Textbook
1 2 3 4 5 6
1. Essentials of Business Analytics by J.D. Ch. Ch. 8 Ch.
Camm, J.J. Cochran, M.J. Fry, J.W. 1 11
Ohlmann, D.R. Anderson, D.J. Sweeney
& T.A. Williams
As suggested in the preceding items, the following are the software programs to be
used:
Software
Refer to:
Programs
Microsoft https://support.office.com/en-us/article/Load-the-Solver-Add-in-in-Excel-
Excel Solver 612926fc-d53b-46b4-872c-e24772f078ca?ui=en-US&rs=en-
Add-in (Free) US&ad=US
Excel QM http://wps.prenhall.com/bp_taylor_introms_11/220/56508/14466195.cw/
(Free) content/
QM for http://wps.prenhall.com/bp_taylor_introms_11/220/56508/14466195.cw/
Windows content/
(Free)
STUDY SCHEDULE
Inclusive
Week Module/Activity Requirement
Dates
1 (to be Orientation, Module 1
specified)
2 Module 2 (Part 1) Exercise 1
3 Module 2 (Part 2) Exercise 2
COURSE REQUIREMENTS
1. Exercises (70% of final grade). Exercises are set of problems given to the
students. These are problems that are more straightforward than cases and
require one to build models and solved such models by employing the algorithms
taught in class either manually (partially or completely) or through software
programs. In an exercise, around three to four questions are provided, totaling to
30 points.
2. Project (20% of final grade). At the end of the semester, a project in the form of
term paper is submitted. The student identifies a subject company or
organization and is required to solve a problem or issue using the tools and
techniques learned in class. The problem to work on should be approved first by
the faculty-in-charge. Further, the student is required to submit a certification
from the project’s stakeholder (e.g. business owner, manager, supervisor)
expressing that you have provided a copy and discussed the results of the
project with the stakeholder. This requirement is worth 100 points.
3. Participation (10%). Your participation and activity log in the online classroom will
be monitored and graded.
GENERAL GUIDELINES
1. Exercises and project should be submitted only through MyPortal. Submissions
made through my email are not accepted. The deadline of submission for
exercises is usually one week after these were given. For late submissions, there
will be a corresponding deduction for each day the requirement is late. No make-
up exercises will be given.
2. Always observe academic integrity. Students caught cheating in any form will
automatically get a grade of 5.00.
3. Students are expected to read ahead on the lecture topics before these are
discussed in the virtual classroom to ensure lively interactions. Learn from
everyone. Feel free to share your experiences that you think are related to the
topics.
Introduction
Business analytics involves the use and processing of big data to make sound business
decisions. There are three types of business analytics according to purpose, namely: 1)
descriptive, 2) predictive and 3) prescriptive. This module tackles prescriptive analytics
which is operationalized by the multidisciplinary field of Operations Research.
Learning Objectives
After working on this module, you should be able to define and determine the
relationships of Business Analytics, Prescriptive Analytics and Operations Research.
Study Question
Is business analytics relevant or applicable only to “big” businesses?
The use of data and the results from processing thereof in Business Analytics do not
come without any ethical implications. Mr. Dominic Ligot discussed these implications in
his video entitled, “Ethical Implications of Business Analytics.” He cited four ethical
implications, namely: 1) awareness, disclosure and privacy issues [2:03], 2) data
While descriptive and predictive analytics are concerned with describing situations and
predicting results and patterns, respectively, prescriptive analytics is primarily concerned
with providing solutions or recommendations; hence, the term “prescriptive.” For an
overview of prescriptive analytics, one is referred to “Prescriptive Analytics” by Mr.
Dominic Ligot. In the video, it introduces the concept of optimization and simulation.
Activity 1-1
Open the link:
http://technical.ly/baltimore/wp-
content/uploads/sites/3/2012/10/ColdChainAnalyticsMagpieSensing-Whitepaper-
Final.pdf
Reflect on the application of prescriptive analytics illustrated in the article contained in
the link. Write down as many as you can other possible opportunities or problems that
prescriptive analytics can be applied.
Prof. Ramon Miguel Panis in his video, “Introduction to Operations Research” introduced
Operations Research [3:31] and brought the student back to its historical development
Study Question
References
UPOU Videos:
• “Introduction to Big Data and Business Analytics” by Prof. Erik Paolo Capistrano
• “Ethical Implications of Business Analytics by Mr. Dominic Ligot
• “Prescriptive Analytics” by Mr. Dominic Ligot
• “Introduction to Operations Research” by Prof. Ramon Miguel Panis, UPD
• http://technical.ly/baltimore/wp-
content/uploads/sites/3/2012/10/ColdChainAnalyticsMagpieSensing-Whitepaper-
Final.pdf
• Essentials of Business Analytics by J.D. Camm, J.J. Cochran, M.J. Fry, J.W.
Ohlmann, D.R. Anderson, D.J. Sweeney & T.A. Williams (Chapter 1)
• Introduction to Operations Research (10th ed.) by F.S. Hillier & G.J. Lieberman
(Chapter 1)
• Operations Research: An Introduction (8th ed.) by H.A. Taha (Chapter 1)
Introduction
One of the most important skills in Prescriptive Analytics or Operations Research is
modeling. There are many software resources that can solve linear programming models
at an instant. However, none so far are programs that can instantly provide the
appropriate model/s. Also, programs like the simple Excel Solver Add-in to more
complicated Matlab report solutions to practically any model inputted without regard to
the model’s adequacy and relevance. Hence, it is imperative for a business analyst to
develop his/her skills on modeling over time. This module provides basic knowledge and
techniques in formulating linear programming models.
Learning Objectives
Prof. Ramon Miguel Panis in his video [1:12], “LP Modeling I,” simply defined linear
programming model as a mathematical too/model used to solve optimization model. An
example of a linear programming model followed [1:26]. It can be seen from the example
that such model is a mathematical illustration of a scenario that maximizes or minimizes
something given or subject to some constraints; where all variables are expressed in
linear terms. Linearity in this case is described as the absence of absolute terms and
variables are neither exponents nor multiplied with other variables. It must be noted that
there are problems that can be formulated in a non-linear fashion. These models are
known as non-linear programing models and are, however, discussed elsewhere. Linear
and non-linear programming models are collectively known as mathematical models.
As discussed by Prof. Panis in the same video, there are three components of a linear
programming model: 1) decision variables [2:05], 2) objective/goal [3:00] and 3)
Prof. Panis also explained that a basic linear programming model follows four
assumptions, namely: 1) proportionality [5:23], 2) additivity [6:52], 3) certainty [7:47] and
4) divisibility [9:24]. Proportionality states that the contribution of the decision variables to
the objective function and constraints are directly proportional. Meanwhile, additivity
states that the total contribution of each variable in objective function and constraints is
the direct sum of the individual contribution of each variable. The coefficients of the
objective function and constraints are expressed with absolute certainty. This is the
assumption on certainty. Finally, divisibility means that the decision variables can have
fractional values.
The student should understand that in some instances, a strict integer value for a
decision variable is desired. In fact, in the assignment, shortest route and project
evaluation (CPM) models, the decision variables are expressed as binary (values can
only be zero or one). The assumption of divisibility these cases is dropped but still
maintaining the linearity nature of the model. Hence, the first instance refers to integer
LP (or integer programming) while the second set of models refers to binary
programming which is a type of integer programming. These are further explained by
Prof. Ramon Miguel Panis in his video, “LP Modeling II.” In this video, Prof. Panis
introduced the transportation, assignment and shortest route problems which will be
further tackled later in special problems in linear programming.
After knowing the components and assumptions of linear programming models, it is time
to be acquainted with problems requiring linear programming approach. To teach one
with some techniques in formulating linear programming models, two videos are
followed. In the same video of Prof Panis, the modeling exercise started at [10:30]. The
Activity 2-1
In the video “LP Modeling I” by Prof. Ramon Miguel Panis, starting from the second
problem [19:70], take time to read each of the remaining problems at [10:30], [19:17],
[26:28] and [36:30] by pausing it. Try to formulate the corresponding model for each
problem. Define the decision variables properly, state the objective function and express
the necessary constraints. Verify answers by playing back the video.
Second, the student is referred to the video “Some LP Tricks” by Prof. Ramon Miguel
Panis. There are problems that require non-linear programming models instead that
need to be converted to linear one to have a “better” optimal solution. This is the concept
of global optimal solution, a topic discussed elsewhere. Prof. Panis shared few
techniques to express a non-linear program to a linear one. He specifically covered three
types of problems, the fractional [01:13], absolute [09:39] and minimax-maximax [18:05].
A sample problem [24:23] is used to illustrate two of the three types simultaneously.
For more resources about the modeling, the student can visit the following links:
• https://ocw.mit.edu/courses/sloan-school-of-management/15-053-optimization-
methods-in-management-science-spring-2013/tutorials/MIT15_053S13_tut01.pdf
• http://mat.gsia.cmu.edu/classes/QUANT/NOTES/chap5.pdf
Note that for the second link, the material showcases not only modeling but also solving
linear programming models. At this point, you are advised to focus on the linear
programming part. The solving part will be tackled in the next module.
References
Introduction
After careful formulation of the linear programming model, it is now time to solve it.
Depending on the number of variables and convenience, a model can be solved through
the graphical method or the Simplex Algorithm. In this module, the student will be taught
how to perform these two methods manually and software-aided. Also, an overview of
sensitivity analysis and special cases in linear programming are presented in this
module.
Learning Objectives
A linear programming model with two variables can be conveniently solved through the
graphical method. It must be noted though that the graphical method uses the same
concept with Simplex Algorithm. A discussion on this can be found elsewhere. Prof.
Simon Anthony Lorenzo explained how to solve linear programming models using the
graphical method [0:45] through his video, “Solving Linear Programming Models.” The
video started with a problem requiring formulation.
One of the challenges in the graphical method is solving for the extreme points, as
introduced in the preceding video. In the following link,
https://ir.library.oregonstate.edu/downloads/3j3332677, the student is taught how to
compute for the extreme points through algebraic operations.
When there are three variables, it may be difficult to accurately graph and compute for
the extreme points; more so with linear programs that have more than three variables.
This is where Simplex Algorithm comes in. In the same video [7:40] of Prof. Lorenzo,
pay attention to his step-by-step illustration of the simplex algorithm. He started with a
For a more thorough discussion about the algorithm, the student may consult Section
7.1 and Section 7.2 of the material in the following link:
http://mat.gsia.cmu.edu/classes/QUANT/NOTES/chap7.pdf. Note that the material
reminds one to convert a Min problem to Max problem as part of the standardization
process. However, as explained by Prof. Lorenzo, if the problem is Min, then one should
select the variable associated to the most positive coefficient in the Z-row instead of the
one with the most negative coefficient. In fact, when using software, one has the liberty
to settle with a Min or Max objective function. It is also worthwhile to note in Section 7.2
that the iterations are represented graphically.
It must be noted that so far, what has been illustrated is the simplest form of Simplex
Algorithm. This means that only constraints of ≤-type were involved. When there are
constraints of ≥- and =-types, the standardization process calls for surplus and artificial
variables. Such types are mostly observable in Min problems. The way to deal with
these scenarios is through a more complicated execution of the Simplex Algorithm in the
form of either Big-M Method or Two-Phase Method. These methods are discussed
elsewhere. Problems requiring these methods are solved with the aid of software
solvers, instead, in this module. The student may refer to the following links:
Big-M • https://www.utdallas.edu/~scniu/OPRE-6201/documents/LP07-Big-M-
Method: Formulation.pdf
• http://faculty.smcm.edu/acjamieson/f12/480BigMExample.pdf
Two- • http://optlab.mcmaster.ca/feng/4O03/Two.Phase.Simplex.pdf
Phase • http://www.maths.qmul.ac.uk/~ffischer/teaching/opt/notes/notes8.pdf
Method:
Activity 3-1
In this activity, the student is taught how to solve linear programming models using
applicable software or programs. For this course, three readily available programs (Excel
Solver Add-in, QM for Windows and Excel QM) are used. To download or install, refer to
the following:
After installing these programs, the student is encouraged to watch the following tutorial
videos:
• Excel Solver Add-in: “Solving LP Models Using Excel Solver Add-in” by Prof.
Simon Anthony Lorenzo
• QM for Windows:
https://www.youtube.com/watch?v=Emm9hJcnD6Y
https://www.youtube.com/watch?v=6mUONySygyU
• Excel QM: https://www.youtube.com/watch?v=uSOZ8jbTsUE
Now, try to solve the following problems using the software programs:
• Problem at [0:45] in “Solving Linear Programming Models” by Prof. Simon
Anthony Lorenzo
• Problems at [19:70], [10:30], [19:17], [26:28] and [36:30] in “LP Modeling I” by
Prof. Ramon Miguel Panis
• Example 7.2.1 page 88
http://mat.gsia.cmu.edu/classes/QUANT/NOTES/chap7.pdf
• Exercise 62 page 92 http://mat.gsia.cmu.edu/classes/QUANT/NOTES/chap7.pdf
Activity 3-2
Using the same problem set in Activity 3-1, generate the corresponding sensitivity
reports. Verify the range of values given by trying to change the linear programming
models accordingly and executing again the Simplex Algorithm (similar with what Prof.
Lorenzo did). Did the solution remain optimal?
In Prof. Lorenzo’s video, these cases were illustrated graphically. Note that these cases
can also be detected in simplex tableaus. In the following link,
http://mat.gsia.cmu.edu/classes/QUANT/NOTES/chap7.pdf, its Section 7.3 illustrates
these cases with simplex tableaus. It is emphasized at this point that one must be
familiar already with the simplex algorithm/simplex tableaus.
• https://ir.library.oregonstate.edu/downloads/3j3332677
• http://mat.gsia.cmu.edu/classes/QUANT/NOTES/chap7.pdf
• https://www.youtube.com/watch?v=Emm9hJcnD6Y
• https://www.youtube.com/watch?v=6mUONySygyU
• https://www.youtube.com/watch?v=uSOZ8jbTsUE
• https://www.youtube.com/watch?v=mT9Hjylw_kQ.
• http://www.excel-easy.com/examples/sensitivity-analysis.html
• https://www.youtube.com/watch?v=_eMA0LWsRQQ
• https://www.utdallas.edu/~scniu/OPRE-6201/documents/LP07-Big-M-
Formulation.pdf
• http://faculty.smcm.edu/acjamieson/f12/480BigMExample.pdf
• http://optlab.mcmaster.ca/feng/4O03/Two.Phase.Simplex.pdf
• http://www.maths.qmul.ac.uk/~ffischer/teaching/opt/notes/notes8.pdf
Introduction
So far, the student has learned the general way of formulating and solving linear
programming models. There are linear programming problems that have unique or
special features/structures on their models which paved way to the development of
algorithms that particularly solve such problems. In this module, there are four special
LP problems covered: transportation, transshipment assignment and network models.
Network problems are further categorized as minimum spanning tree, maximum flow,
shortest route and project duration. The students are reminded that though these models
are special, these can be dealt or solved with the general Simplex Algorithm.
Learning Objectives
Note that the problem in Example 1 showcased an unbalanced problem where the total
supply exceeds total demand. In this case, the appropriate general model is shown in
the left box at [12:13]. In fact, the model can also be used for balanced problems. When
total supply and total demand are equal (balanced problem), then one should expect that
all supply points are exhausted, and all requirements are met. Thus, it is safe to settle
with equal signs instead, as exhibited in the right box at [12:13]. Finally, when the total
demand exceeds the total supply, then the problem is deemed infeasible because the
There are also problems that though do not literally involved shipping physical goods,
they can be modelled as transportation problems as illustrated in Example 2 [15:21]. In
this example, the departments and the product types are in essence the source and
destination points, respectively. Prof. Ani also demonstrated how to go about a situation
when there is an infeasible shipment (production in the case of Example 2) between a
source and a destination. Example 3 [22:05] and Example 4 [28:27] are similar to
Example 2 but are slightly more challenging. Meanwhile, the transportation problem is
also tackled by Prof. Ramon Miguel Panis in his video [1:56], “LP Modeling II,” in light of
his discussion on integer programming and binary integer programming. As a remark in
relation to the video of Prof. Panis, a transportation may not necessarily be an integer
programming problem. It depends on the nature of items or units being shipped.
To solve the problem manually, the transportation simplex algorithm is performed. The
algorithm requires three basic steps: 1) preparing the transportation tableau, 2) finding
an initial solution and 3) iterating the tableau until optimal solution is obtained. For the
first step, Prof. Ani introduced the transportation tableau in the early part of the video
[12:30] and demonstrated how to balance a transportation tableau using Example 1 (S1)
in the latter part [48:20] as required by the transportation simplex algorithm. Prof. Ani
proceeded then to finding an initial solution [49:58] for the problem using either the
Northwest Corner Method [51:00], Least Cost Method [57:31] or Vogel’s Approximation
Method (VAM) [1:02:22].
Study Question
Among these three, it is usually VAM that provides the best starting point since it
provides usually the lowest total transportation cost. What does this imply with respect to
the optimal solution and number of iterations required to find the optimal solution?
After obtaining an initial solution through any of the three, the balanced transportation
tableau was iterated using either the Stepping Stone Method [1:14:08] or Method of
Multipliers [1:24:26]. These methods basically follow the Simplex Algorithm learned in
Module 3 in terms of needing to find the leaving and entering variables. The stepping
Stone Method is more intuitive and easier to understand than the Method of Multipliers.
Activity 4-2
Provide the corresponding LP model of Example 2 [15:21], Example 3 [22:05] and
Example 4 [28:27] using the general models as seen in the video [12:13],
“Transportation Model.” Afterwards, solve each problem or model using the programs
installed from Activity 3-1.
For software illustrations under transportation problems, the student is referred to the
following links:
• QM for Windows: https://www.youtube.com/watch?v=bqxSwz3DMKg
• Excel QM: https://www.youtube.com/watch?v=pF0M1YAoKYg
Activity 4-2
The objective in assignment problem is to minimize the total assigning costs. In terms of
the model, it is noteworthy that the decision variables are binary in nature, they can take
only a value of one or zero. A value of one means that an assignment can be made
between a “source” and a “destination.” Otherwise, no assignment is observed. Prof. Ani
explained these well in his video, “Assignment Model.” Prof. Ramon Miguel Panis,
meanwhile, provided a supplementary video, “LP Modelling II,” on modelling assignment
problems found at [15:19] and [25:27].
The video of Prof Ani started with Example 1 [2:05] to illustrate the assignment problem.
The model is solved using Excel Solver. The example also illustrated that the same
technique in avoiding shipment or production (as that in transportation and
transshipment problems) can be applied to avoid undesirable assignments.
Activity 4-2
Example 1 [2:05] in the video, “Assignment Model,” was solved through Excel Solver
Add-in. Construct the corresponding assignment model of Example 1 by following the
general model presented in the video [1:58]. Further, solve the model using the
Hungarian Method. Verify optimal solution obtained using the applicable programs
(aside from Excel Solver Add-in) installed from Activity 3-1.
For a tutorial on how to use the Excel QM to solve assignment models, the student is
referred to the following link:
documents.saintleo.edu/docs/GBA334/GBA334_Assignment_Problem_Using_QM.pdf.
To better appreciate the network problems and their respective network representations,
an introductory discussion on network theory is provided by Prof. Panis in his video
titled, “Network Theory 1.” Here, he discusses the basic elements of a network or graph
such as nodes, arcs, weights, cycle, directed and undirected arcs or paths, tree, branch,
etc. The student is reminded to keep these terms in mind to facilitate discussions in the
succeeding problems.
From the video [7:07], “Network Theory 1,” one learned that a spanning tree is a tree
that connects all nodes in a graph. However, what we would like to have is spanning tree
that provides the least total distances between nodes. This describes the minimum
spanning tree problem, as introduced by Prof. Panis in [8:32]. Designing network wirings
and pipeline connections are just few of the many problems that can be modelled as
minimum spanning tree problem where the number or distances of connections are
minimized. This problem can be represented by a linear program which has a constraint
that guarantees the absence of cycles (recall that a tree has no cycles). We leave the
discussion on this elsewhere and focus on how to use solve a minimum spanning tree
problem without the model.
In the video [8:48], Prof. Panis discussed only one algorithm (Prim’s). The algorithm
starts with one node and then growing it into a minimum spanning tree is formed. This
algorithm is also demonstrated in the following link,
Activity 4-5
Using the example [8:48] used to demonstrate Prim’s Algorithm in the “Network Theory
1” video, use to solve the problem with Kruskal’s Algorithm. Further, solve the problem
using the applicable programs installed from Activity 3-1.
The shortest route problem involves determining the shortest route between two nodes.
A node may represent a coordinate or an intersection while an arc may represent
distance or time to travel between two nodes. The corresponding model aims to
minimize the total distance between two nodes. Prof. Panis, in his video [33:41], “LP
Modeling II,” presented how shortest route problems are modelled especially the
constraints. Such model is the same as the assignment problem where decision
variables can only take a value of 0 or 1. When the value is equal to one, it means that
one should pass through that arc being represented by that decision variable. This is to
ensure that that passing through multiple arcs simultaneously is prohibited. As for the
constraints, the principle is the same with that of transshipment problem.
There are two algorithms to solve a shortest route problem covered in the video,
“Network Theory 1” by Prof. Panis. These algorithms output the shortest route between
a desired start node and any other nodes in the network. Start and destination nodes are
also referred as source and sink nodes, respectively. Prof. Panis started with Dijkstra’s
(pronounced as “Days-tra’s”) Algorithm with the first example [13:17] and then presented
the second technique, commonly referred as the Dual LP technique, by working through
sample problems at [22:35] and [34:35]. The latter is based on the dual linear program
formulation of the shortest route problem. One obvious difference between the two is
that one (Dijkstra’s) starts with the start node while the other (Dual LP) starts with the
destination node.
A more general algorithm is the Floyd’s Algorithm. While the two algorithms earlier
provide the shortest route between a particular start node to any other nodes, the
Floyd’s Algorithm provides the shortest route between any two nodes. This means that it
can provide the shortest route for any combination of a desired start node and any other
node. An illustration of this algorithm is provided by the video contained in the following
link: https://www.youtube.com/watch?v=X6n30V6qCWU. The basic idea of this algorithm
is to check whether there is an incentive of passing through an intermediate node in
going from one node to another node. This means that if passing through an
intermediate node in going from one node to another would have shorter distance than
directly going from one node to another, then one must pass through that node.
Activity 4-6
In the “Network Theory 1” video, there were three examples at [12:17], [22:35] and
[34:35] presented that related to shortest route problem. For this activity, the student is
requested to do the following:
1. Formulate the corresponding models for each of the examples. Solve these
problems or models using the applicable programs installed from Activity 3-1.
2. Perform a manual execution of Dijkstra’s Algorithm to determine the shortest
route from Node A to Node G in Example [22:35] and from Node 10 to Node 1 in
Example [34:35].
3. Perform a manual execution of the Dual LP to determine the shortest route from
Node A to F in Example [12:17].
4. Perform a manual execution of Floyd’s Algorithm to determine the shortest route
from Node A to Node G in Example [22:35].
Activity 4-7
In the video, “Network Theory 2,” construct the corresponding linear program for each of
the two examples at [1:14] and [11:20]. Further, solve the problems or models using the
applicable programs installed from Activity 3-1.
A network model can be used also in project planning. The activities and their
relationships in a project can be illustrated as network either the activity-or-arc/arrow
(AOA) manner or activity-on-node (AON) manner. For AOA, an activity is represented by
two connected nodes. These nodes signify the start and end of the activity with the arc
representing the duration of the activity. On the other hand, as the term implies, AON
represents an activity through a single node and the duration of the activity is also
written in the node.
In project duration problem, the aim is to determine the duration of the project as
determined by the critical path. Prof. Panis, in “Network Theory 2” video [4:39], tackled
the Critical Path Method (CPM) following the AOA manner with deterministic durations.
Prof. Panis started with the description of critical and non-critical activities and the
concept of earliest start and latest completion/finish times and how these relate to
activities in the critical path. He then proceeded to the first example [16:55]. This was
followed by another example at [29:06]. The student is encouraged to visit the following
A CPM problem involves a model that can be constructed following the approach in
shortest route modelling except that the objective in CPM is to maximize the total flow
entering the network. The nature of the decision variables and the techniques in
expressing the constraints remain the same with that of the shortest route modelling.
Activities associated to decision variables with zero values are members of the critical
path and hence, determine the duration of the project which is the optimal z-value.
Meanwhile, the AOA representation is said to be more intuitive than AON because the
first clearly depicts the start and end points of an activity. However, the major drawback
of AOA is that the network representation gets complicated with the presence of dummy
activities especially when the number of activities increases, and the precedence
relationships become more complicated. It is for this reason the AON is thought to be
more straightforward in illustrating the network problem. The Project Evaluation and
Review Technique (PERT) basically uses the AOA representation.
PERT differs also from CPM because it considers probabilistic durations as described
earlier. It uses three time-estimates (optimistic, most likely and pessimistic estimates of
the duration) to determine the critical path and ultimately the duration of the project. For
a more comprehensive discussion and illustration about PERT, the student is referred to
the following link: http://tozalp.home.uludag.edu.tr/PERT.pdf
Activity 4-8
In the video “Network Theory 2,” formulate the corresponding linear program for the two
examples of CPM problems at [16:55] and [29:06]. Further, solve the problems or
models using the programs installed from Activity 3-1.
For a tutorial on how to use the QM for Windows to solve project duration problems, the
student is referred to the following link:
https://www.youtube.com/watch?v=ZODPznjzsgw
UPOU Videos:
• “LP Modeling II” by Prof. Ramon Miguel Panis, UPD
• “Transportation Model” by Prof. Angelo Ani, UPLB
• “Transshipment Model” by Prof. Angelo Ani, UPLB
• “Assignment Model” by Prof. Angelo Ani, UPLB
• “Network Theory 1” by Prof. Ramon Miguel Panis, UPD
• “Network Theory 2” by Prof. Ramon Miguel Panis, UPD
Introduction
The preceding modules presented or discussed models that are deterministic in nature.
This means that the values of the problem parameters are exact and do not deviate from
these values. This module on queuing, together with the succeeding module on
simulation, tackle probabilistic or stochastic models. Some parameters of the situations
being analyzed in these models are not constant. Instead, they follow certain probability
distributions, implying the presence of variability.
Queuing Theory, as a discipline, is the science of waiting lines. This module introduces
queuing and covers some of the basic queuing models. The material focuses on the
recognition of the corresponding models appropriate to common queuing situations.
Many examples dealing with different situations are provided so students can effectively
differentiate these models. Performance measures are then evaluated using available
queuing formulas and spreadsheet templates. The derivation of the formulas, however,
is beyond the scope of the material. If interested, one may refer to any standard
operations research book for sample derivations.
Learning Objectives
In his video “Queuing Theory,” Prof. Angelo Ani defined queuing theory as the
mathematical analysis of waiting lines in different forms and cases. A simple queuing
system has a queue where customers stay while they wait for service and a service
facility that contains at least one server which performs the service. It is also
emphasized that customers and servers are not necessarily humans as they may also
be inanimate objects such as machines, calls, and equipment. Waiting lines occur when
there is a temporary imbalance between supply (capacity) and demand.
Prof. Ani, in the same video, explained the set of performance metrics that characterize
queuing systems [13:50], and how Little’s Law provides the relationships among some of
these metrics [17:15]. In particular, most queuing systems are assessed in terms of the
average number of customers in queue (Lq) and in the whole system (L) and the
average waiting time of customers in queue (Wq) and in the whole system (W). Other
metrics include server utilization and probability of balking customers or those customers
who cannot enter the queuing system.
Before dwelling with the different queuing models covered in this module, the birth-and-
death model of Markovian queues is also presented. Markovian models assume that
interarrival times and service times are exponentially distributed. Since exponential
distribution exhibits the memoryless property, Markovian models are relatively more
mathematically tractable than non-Markovian counterparts while at the same time
capturing the variability displayed by realistic queuing systems. These computations
provided will be helpful when one wishes to derive queuing formulas, or when one
analyzes a Markovian queue that doesn’t follow all the assumptions of available simple
models. This introduction also presents common terms used in modelling queues such
as birth and death rates.
Activity 5-1
Task: From Activity 3-1, identify what data would need to undergo ETL. What would their
final forms be?
Tools & Resources (Video): Activity 3-1 and “Extraction, Transformation, and Loading”
by Raymond Lagria
• M/M/1. This is one of the most basic queuing models. This is a Markovian queuing
model with a single server. In the runway example, the runway represents the server
while the planes are the customers. The second example deals with the queue in the
cashier of a grocery store. This example illustrates that even modest improvement in
the service time can lead to significant improvement in system performance.
• M/M/s. This is similar to the M/M/1 model except that the system has two or more
servers. The contact center example presents a common application of the model. It
also highlights how the number of servers affects the metrics. In the second example
concerning patients queuing for dentists, it is emphasized how an M/M/s model
differs from multiple M/M/1 models. One must focus attention to the performance
measures of the two alternatives presented so one can choose the better one.
• G/G/∞. The presence of infinite servers is a reality when the customers serve
themselves. Hence, this model is aptly called as the self-service model. It is
emphasized that the G/G/∞ model does not require the inter-arrival time or the
service time to be strictly exponential. Formula for the four major metrics (L, Lq, W,
and Wq) are available, while the additional formula for the steady-state probabilities
(Pn) is provided when inter-arrival time is Markovian (i.e., M/G/∞). The presence of
customers in a gym modelled as an M/G/∞ is used as an example.
• M/M/s/GD/K/∞. These are queues with limited system capacity. Examples provided
include a drive-thru queue where vehicle spaces are limited and a queuing system
for videoke booths in an amusement arcade. In this model, not all customers can
enter the system either because of a physical limitation such as unavailable queuing
spaces or because of customer behavior that prefers not to wait. Unlike in the
previous models where all customers are assumed to enter the system, some
customers in the M/M/s/GD/K/∞ left without even joining the queuing system.
• M/M/s/GD/N/N. This queuing system assumes that the input population is finite. This
means that the number of customers that can enter the system is limited. In the first
example, the five machines that require setup act as the customers in the queuing
system with the employee as the server. Since there are only 5 machines, input
population is set at N = 5. The example also highlights how the model got its
alternative name – Machine-repair model – noting that the example can be modified
such that repair is performed on the machine instead of setup. Another example
discussing the queuing system in Supply Station of a hospital is also presented.
• M/G/1. In some situations with single server, the service time is not necessarily
exponential but the inter-arrival time is. These are modelled as M/G/1. The
Pollaczek-Khinchin equation may be tapped to evaluate the performance of the
system. Two examples are provided. In these examples, the effects of different
levels of variability in service times are explored and compared. It is concluded that
lower variability in service times leads to better system performance.
• Other Models. Two situations that do not perfectly fit the models above are
presented. The first one involves cooperating servers. This evaluates the
performance of a system where servers can are help one another when only few
customers are available to be served. The second one considers balking wherein the
arrival rate of customers that enter the system depends on the number of customers
already inside the system. These two models are considered as advanced and may
be skipped if desired. These two examples though illustrate how birth-and-death
analysis of Markovian queues can be employed to evaluate the systems.
Activity 5-2
• In the “Queuing Theory” video, solve the examples using the applicable
programs installed from Activity 3-1. Further, for familiarity with the formulas of
the different models, replicate the spreadsheet solutions presented in the video.
•
• For a tutorial on how to use the Excel QM to solve queuing problems, the student
is referred to the following link:
http://documents.saintleo.edu/docs/GBA334/GBA334_Queuing_Theory_Using_
QM.pdf.
Study Question
Which of the following models result in zero waiting time in queue (i.e., Wq = 0): (a)
M/G/∞, (b) M/M/3/FCFS/6/6, (c) M/M/5/FCFS/5/∞?
While the major differences among the models are captured by the Kendall-Lee notation,
some subtle assumptions and characteristics of the models should be emphasized as
well.
• The models above assume that the arrival and service rates are stationary. This
means that rates do not exhibit fluctuations over time. There are no peak and lean
periods. This somehow limits the applications of the models as some real-life
queuing scenarios display observable patterns such as arrival of customers in fast
food outlets or arrival of vehicles in toll booths.
• Customers who are able to enter the system will patiently wait until the completion of
service. If some customers join the queue for some time but eventually become
impatient and leave, more complex models involving reneging must be employed.
Reneging is a customer behavior illustrated by a customer that already joins the
queue leaves prior to receiving service. Reneging is observed when a caller decides
to cancel a call to a contact center when he is put on hold for quite some time without
even connecting to an agent. Reneging is likewise experienced when a customer,
after spending time in queue, leaves the queue for a hair salon service when she
feels she cannot be serviced immediately. Reneging is different from balking as it
suggests that the customer already joins and spends some time in the queue, while
balking denotes that the customer does not enter or refuse to enter the queuing
system.
Study Question
Increasing the number of servers in a queuing system basically improves the average
length of queue and the average waiting time of customers. However, there are several
considerations in doing so. Cite and explain at least three considerations.
Study Question
Consider a parking lot where vehicles enter the lot when a parking space is available.
Otherwise, an arriving vehicle immediately leaves. Identify if the statements below are
correct or not. Assume exponential inter-arrival time of vehicles and exponential stay
time of vehicles in the parking lot. The capacity of the parking lot is 40 vehicles.
a. The system has a finite system capacity.
b. Average waiting time in queue (Wq) can be improved by adding additional
parking spaces.
c. If average stay time of vehicle in the system is reduced, this will result in lower
probability of balking.
UPOU Videos:
• “Queuing Theory” by Prof. Angelo Ani, UPLB
Introduction
From the basic linear programming problems to the special ones (transportation,
transshipment, assignment and network problems), we have so far worked with
optimization problems or techniques. Sometimes, a process or system may be difficult to
model as linear program due to its complexity. In this module, the concept of simulation,
a non-optimization technique, is introduced, and the Monte Carlo process of simulation
is discussed further.
Learning Objectives
1. Define simulation;
2. Discuss the simulation methodology; and
3. Illustrate Monte Carlo Simulation using at least one software.
6.1. Simulation
Study Question
Simulation does not provide optimal solutions unlike linear programming. Results in
simulation vary due to the probabilistic nature of the technique. Does this mean
In the same video of Prof. Boydon, the simulation methodology was clearly discussed.
The methodology starts with the “capture” step where historical data are gathered, and
the parameters needed are identified. Afterwards, test data based on the parameters set
are generated together with the simulation model in the “imitate” step. The next step is
the “run and replicate” step where the verified and validated model is executed, and
proposed changes or alternatives are tried. Finally, the resulting data is evaluated using
analytical tools and implemented when necessary in the “test and evaluate” step.
One specific type of simulation is the Monte Carlo Simulation. This type utilizes statistical
sampling to produce probability distributions of possible outcome values based on the
probability distributions of input variables. The name “Monte Carlo” was selected as the
code for the classified technique during the WWII. The name was based on the famous
Monte Carlo casino in Monaco.
Prof. Boydon illustrated Monte Carlo Simulation using three spreadsheet examples, dice
simulation [6:18], simple queueing simulation [11:04] and simple inventory simulation
[26:51]. To appreciate the second example, the student should have sufficient familiarity
with the basic models of queueing at this point.
Study Question
Monte Carlo Simulation, as illustrated in the second example, can be applied to
queueing problems. Meanwhile, the basic queueing models and the corresponding
formulas to describe a queueing system were learned from the previous module. What
are the instances that favor the use of Monte Carlo Simulation to describe a queueing
system?
Activity 6-1
Think of a situation or process, preferably business in nature, and design a Monte Carlo
Simulation Plan. Identify the data needed and the parameters and variables of interest.
Afterwards, create the necessary spreadsheet and run the simulation at least 500 times.
References
UPOU Videos:
• “Simulation” by Prof. Christian John Immanuel S. Boydon, UPD
Introduction
This exercise assesses the familiarity of the student with the components and assumptions of linear
programming. Further, this exercise develops the modeling skills of the student starting with basic linear
programming problems.
Problems
The MMC company makes a dog food from several ingredients. Two of the ingredients, cereal and meat,
provide nutrient A and nutrient B. The company wants to know how many ounces of cereal and meat it
should include in each package of dog food to meet the minimum requirements of 48 milligrams of nutrient A
and 12 milligrams of nutrient B while minimizing cost. These requirements were based on the
recommendations of veterinarians. An ounce of cereal contributes 8 milligrams of nutrient A and 1 milligram
of nutrient B, whereas an ounce of meat contributes 6 milligrams of A and 2 milligrams of B. An ounce of
cereal costs $5.00, and an ounce of meat costs $3.00. Let x and x be the amount of cereal and meat (in
1 2
(Most of the time, tabulating the information gathered makes modeling easier.)
Nutrient A Nutrient Cost
Ingredient
(milligrams per ounce) (milligram per ounce) ($ per ounce)
Cereal
Meat
Required (milligrams)
Provide what is required. Each item is worth 2 pts. For a total of 8 pts.
For problems 5-8, refer to the following model claimed to be a linear program:
Max Z = 3x x + x + x
1 2 3 4
Cite four instances in the model that will invalidate the claim. Each item is worth 1 pt. for a total of 4 points.
5. ____________________________
6. ____________________________
7. ____________________________
8. ____________________________
PART 2. Multiple Choice. Write the letter corresponding to your answer. Each item is worth 2 pts. for a total
of 8 pts.
ABC company produces two types of feeds, Mighties and Growies. Sorghum and corn are the two
ingredients of these feeds. Mighties requires one pound of sorghum while Growies requires two pounds of it.
Also, Mighties require two pounds of corn while Growies require one pound of it. There are 300,000 pounds
of sorghum and 200,000 pounds of corn available per month. Due to some limitations, the company can only
manufacture at most 80,000 packages per month. One package of Mighties is sold at Php 280.00 while for
Growies, Php 200.00. Note that the cost for blending and packing is Php 2.50 per package for Mighties and
Php 2.00 per package for Growies. Further, one pound of sorghum costs Php 2.00 while one pound of corn
is more expensive by Php 3.00. The company holds that it can sell packages as much as it can produce. Let
x and x be the number of packages of Mighties and Growies to be produced, respectively.
1 2
9. The statement “Let x and x be the number of packages of Mighties and Growies to be produced,
1 2
10. Which of the following best illustrates the objective of the problem?
A. Max Z = 280x + 200x 1 2
B. x + 2x ≤ 300,000
1 2
C. x ≥ 80,000
1
D. 2x + x ≤ 200,000
1 2
12. Supposed that a fractional value of 4.2 packages for x is allowed, what assumption in linear 1
programming is observed?
Introduction
This exercise is slightly more challenging the Exercise 1. The aim of this exercise is to encourage the
student to “think outside the box” and used the linear programming tricks learned previously in formulating
the required models.
Problems
Write the letter corresponding to your answer. Each item is worth 2 pts. for a total of 10 points.
1. Supposed that the objective function is Max Z=2x1+3x2+5x1+x2+1 given that 2x + 7x ≤ 23, which 1 2
A. Max Z = 2y + 3y + 5t 1 2
B. y +y +t≥0
1 2
C. y +y +t=0
1 2
D. 2y + 7y ≤ 23t
1 2
2. Supposed that the objective function is Max Z = 3|x | + x considering that x + x = 5, which among
1 2 1 2
A. Max Z = 3(x + – x ) + x 1 1
-
2
B. x ,x,x≥0
1
+
1
-
2
C. x –x +x=5
1
+
1
-
2
3. Supposed that the objective function is Max Min {3x + x , x + 4x , x – x }, which among the following
1 2 1 2 1 2
A. 3x + x ≥ t
1 2
B. x + 4x ≥ t
1 2
C. Max Z=t
D. All of the above
Consider MMC restaurant that is open seven days a week. Based on experience, the number of workers
needed on a particular day is given as follows:
Every worker works five consecutive days, and then takes two days off, repeating this pattern indefinitely.
The aim is to minimize the number of workers that staff the restaurant given the workforce requirement for
each day? Let x be the number of workers who will start working on day i, i = Mon, Tue, Wed, Thu, Fri, Sat
i
and Sun.
B. x + x + x + x + x ≥ 11
7 3 4 5 6
C. x + x + x + x + x ≥ 18
7 2 3 4 5
D. x + x + x + x + x ≥ 16
4 7 1 2 3
The products – model 1, 2, and 3 – are manufactured in the company’s departments. Model 1, 2, and 3 take
8 mins, 6 mins, and 10 minutes of labor time per unit, respectively, in the assembly department. A total of
100 man-hours is available in the said department. Meanwhile, if the finishing department produces only
model 1 in a day, it can produce a total of 800 units. If it produces only model 2, it can finish 900 units; and
only model 3, 600 units in a day. Let x , x , and x be the number of units of model 1, 2, and 3 to be produced
1 2 3
5. Setup the constraint(s) required to model the capacity of the assembly department.
A. 8x + 6x + 10x ≤ 100(60)
1 2 3
B. x /8 + x /6 + x /10 ≤ 100(60)
1 2 3
6. Setup the constraint(s) required to model the capacity of the finishing department.
A. 8x + 9x + 6x ≤ 8(9)(6)
1 2 3
Products A and B are manufactured in a company. Both require the inputs X, Y, and Z according to 1:1:3
and 2:1:3 ratios, respectively. The costs per lb of the inputs are: X, $0.5; Y, $1.0, and; Z, $0.5. Inputs X and
Z have unlimited market supply but only 5,000 lbs of Y is available. The company can sell the products at $4
and $5 per lb of A, and B, respectively. Let x be the amount of input i (i=1 for X, 2 for Y, and 3 for Z) used to
ij
produce product j (j=1 for A, 2 for B). Let y be the total amount of product j produced. A linear program that
j
B. x + x + 0.33x = y
11 21 31 1
C. 0.2x = y 11 1
D. x = 0.2y
11 1
B. x + x + x ≤ 5,000
21 22 23
C. x + x ≤ 5,000
21 22
B. 0.5(x + x + x )
11 12 13
C. 0.5(x + x )
11 12
D. 0.5(x + x )
11 21
There are four investment opportunities that an individual can undertake. Marie wishes to invest in these
plans a total combined amount of Php 500,000. Let xi be the amount invested in plan i, i = 1, 2, 3, and 4.
She hopes to withdraw the money after one year, providing annual interest as shown. At most Php 100,000
can be allocated to Plan 3.
Plan 1 2 3 4
Return 12% 14% 16% 9%
C. x ≤ 100,000
3
D. x, x, x, x ≥ 0
1 2 3 4
Introduction
This exercise assesses the students understanding about the concepts and foundations related to the
graphical method and simplex algorithm as means of solving linear programming. Further, this exercise
serves as the stepping stone towards familiarity with several programs such as Excel Solver Add-in, QM for
Windows and Excel QM among others.
Problems
PART 1. Multiple Choice. Write the letter corresponding to your answer. Each item is worth 2 pts. for a total
of 12 pts.
For items 1-3, refer to the graph of the feasible region of an LP below with objective function of Max Z
= 2x + 3x :
1 2
1. Which among the following points do not belong in the feasible region?
A. Origin
B. C
C. B
D. E
2. Which among the following points represents the optimal solution to the LP?
A. A
B. B
C. C
D. D
B. Max Z = x 2
C. Max Z = -2x + 3x 1 2
D. Min Z = 2x + 3x 1 2
For items, refer to the following iteration of an LP Problem with maximization objective:
BV Z x 1 x
2 s 1 s 2 s
3 Sol’n
Z 1 0 -30 60 0 0 360
x1 0 1 0 1 0 0 6
s2 0 0 1 0 1 0 4
s3 0 0 8 -6 0 1 12
A. 1
B. 0
C. 6
D. Cannot be determined
B. x2
C. s3
D. s1
B. s2
C. s3
D. x2
7. Which among the following is not a row in the simplex tableau after iterating the current tableau?
A. Z 1 0 0 75/2 0 15/4 405
B. S1 0 0 0 3/4 1 -1/8 5/2
C. X1 0 1 0 1 0 0 6
D. X2 0 0 1 -3/4 0 1/8 3/2
model. Print the generated results. Each problem is worth 2 pts. for a total of 6 pts.
Problem 7 Problem 8
Let Let
x – number of units of Product 1 to be soldx – number of units of Product 1 to be bought
1 1
x – 2x ≤ 10
1 2 2x + 2x ≥ 10
1 2
5x + 3x ≤ 150
1 2 6x + 2x ≥ 18
1 2
x, x ≥ 0
1 2 x, x ≥ 0
1 2
Answers: Answers:
x = ____________
1 x = ____________
1
x = ____________
2 x = ____________
2
Z = ____________ Z = ____________
Problem 9
Let
x – number of units of Product 1 to be produced
1
Subject to:
10x + 8x + 9x3 + 15x4 ≤ 5,000
1 2
2x + 3x + 3x ≤ 1,800
1 2 3
x + x + x + x = 600
1 2 3 4
x ≥ 150
3
x, x x, x ≥ 0
1 2, 3 4
Answers:
x = ____________
1
x = ____________
2
Z = ____________
Introduction
This exercise assesses the student’s ability to perform and interpret sensitivity analysis results with the aid
of software tools such as Excel Solver Add-in.
Problems
A nutritionist-dietician wants to develop a meal at lowest cost that is rich is calories, calcium, fiber and
protein while low in fat and cholesterol. The nutritionist-dietician would like to consider the following food
items (with corresponding nutrient contribution and cost per unit) in making such meal.
7. Orange 65 0 0 1 52 1 1 0.40
Based on literature, the meal should observe at least 410 calories, 5 milligrams of iron, 350 milligrams of
calcium, 30 grams of protein, and 10 grams of fiber. Furthermore, fat content and cholesterol should not
exceed 20 grams and 30 milligrams, respectively.
If x to x represents the items in order, formulate the linear programming model and using Solver Excel
1 10
Add-in, generate the corresponding solution and sensitivity analysis report. Each question is worth 1 pt. for a
total of 20 pts.
3. x = ______________
10
4. Z = ______________
value value
1 unit increase in the fiber requirement 5. ___ ___ ___
$0.03 increase in oatmeal cost per cup increase 8. ___ ___ ___
2g increase in protein contribution of egg per unit 11. ___ ___ ___
17. To remain optimal, to what extent the calorie requirement can be increased?
18. To remain optimal, what should be the possible values for the fiber requirement?
19. To remain optimal, the allowable decrease in the costs of bacon per slice should be
______________.
20. To remain optimal, the allowable increase in the costs of dry cereal per cup should be
______________.
Introduction
This exercise familiarizes the students with the special cases in linear programming. The student is
expected at this point have a good grasp with the graphical illustrations/concepts of linear programming.
Problems
+ 2x 2 + 3x Subject to:
2 + 2x 2
x ≥2
1 4x + 2x ≤ 12 4x ≤ 8
1 2 2 2x ≤ 2
2
2x ≥ 8
2 3x ≥ 3 2 x =6 1 x + 2x ≤ 2
1 2
x, x ≥ 0
1 2 2x ≥ 2 1 x, x ≥ 0 1 2 x, x ≥ 0
1 2
x, x ≥ 0
1 2
Figure 2
Figure 1
Introduction
This is the first exercise on special LP problems. This exercise tests the ability of the students to formulate
transportation models and solve it manually or through software.
Problems
PART 1. Multiple Choice. Write the letter corresponding to your answer. Each item is worth 2 pts. for a total
of 14 pts.
A sand processing company transports sand bags from three plants to three construction sites. The supply
capacities of the three plants, the demand requirements at the three sites, and the transportation costs per
ton are as follows:
Construction Site
Plant Supply
1 2 3
1 $8 5 6 120 tons
2 15 10 12 80
3 3 9 10 80
Demand 110 tons 50 90
1. When the Northwest Corner Method is used, how many tons of sand bags should be transported
from Plant 2 to Construction Site 2 in the initial solution?
A. 10
B. 50
C. 20
D. 40
2. Which among the following constraints is not appropriate for the corresponding LP model of the
problem?
A. x + x + x ≤ $19.00
11 12 13
B. x ,x ,x ≥0
13 23 33
C. x + x + x ≥ 90
13 23 33
D. Cannot be determined
Table 1. Initial solution with Northwest Corner Rule. Table 2. Initial solution with Least Cost Method.
Destination Destination Destination Destination Destination Destination
1 (1) 2 (2) 3 (3) 1 (1) 2 (2) 3 (3)
Source $8 5 6 Source $8 5 6
1 (1) x =120
11 1 (1) x =70
12 50
Source 15 10 12 Source 15 10 12
2 (2) 30 50 2 (2) 30 50
Source 3 9 10 Source 3 9 10
3 (3) 20 60 3 (3) 80
Dummy 0 0 0 Dummy 0 0 0
(4) 40 (4) 40
Table 3. Solution for a particular transportation problem. Table 4. Solution for a particular transportation problem.
Destination Destination Destination Destination Destination Destination
1 (1) 2 (2) 3 (3) 1 (1) 2 (2) 3 (3)
Source $8 5 6 Source $8 5 6
1 (1) x =120
11 (-8) (-9) 1 (1) x =30
11 (1) 90
Source 15 10 12 Source 15 10 12
2 (2) (10) 70 10 2 (2) (1) 70 10
Source 3 9 10 Source 3 9 10
3 (3) 30 (1) 50 3 (3) 80 (10) (9)
Dummy 0 0 0 Dummy 0 0 0
(4) (7) (2) 40 (4) 40 (4) (2)
Note: (Rate of improvement) Note: (Rate of improvement)
4. Which between Table 1 and Table 2 is better in terms of finding the optimal solution?
A. Table 1
B. Table 2
C. Both are equally advantageous
D. Cannot be determined
B. x 23
C. x 21
D. x 11
transportation problem below. Print the generated results. Each item is worth 1 pt. for a total of 6 pts.
Mighty Utilities, Inc., supplies natural gas to customers in a three-county area. The company purchases
natural gas from two companies: Southern Tagalog Gas and Northwest Corner Gas. Demand forecasts for
the coming winter season are Hamilton John County, 450 units; Butler John County, 250 units; and
Clermont Voyance County, 350 units. Contracts to provide the following quantities have been written:
Southern Gas, 500 units; and Northwest Gas, 850 units. Distribution costs for the counties vary, depending
upon the location of the suppliers. The distribution costs per unit (in thousands of dollars) are as follows:
To
From
H.J. County (1) B.J. County (2) C.V. County (3)
S.T. Gas (1) 10 20 15
N.C. Gas (2) 12 15 18
Answers:
8. x11 = _______________
9. x12 = _______________
10. x13 = _______________
11. x21 =_______________
12. x22 =_______________
13. x23 = _______________
Introduction
This exercise tests the ability of the students to formulate transshipment models and solve it manually or
through software.
Problems
PART 1. Identification. Complete the following LP Model corresponding to the transshipment problem
depicted by the following figure. Each item is worth 1 pt. for a total of 9 pts.
Decision Variables:
Let x be the number of units to be shipped from
ij
Objective Function:
1.______
Constraints:
Node 1: 300 = x + x + x 13 14 15
2.______: x + x + x = 100
37 47 57
Node 3: x + x = 3.______
13 23
Node 2: 6.______ = x + x + x 23 24 25
PART 2. Software Exercise. Solve the transshipment problem in Part 1 using any software of choice. This
problem is worth 11 pts.
Answers:
10. x = ___________________
13
11. x = ___________________
14
12. x = ___________________
23
13. x = ___________________
24
14. x = ___________________
25
15. x = ___________________
36
16. x = ___________________
37
17. x = ___________________
38
18. x = ___________________
46
19. x = ___________________
47
20. Z = ___________________
Introduction
This exercise tests the ability of the students to formulate assignment models and solve it manually or
through software.
Problems
PART 1. Multiple Choice. Write the letter corresponding to your answer. Each item is worth 2 pts. for a total
of 8 pts.
1. Which among the following is not part of the corresponding assignment model if x denotes such
ij
assignment where i the person (A, B, C) while j is the task (1, 2, 3)?
A. x +x +x =1
A1 A2 A3
B. Min 800 + 500 + 500 + 1,100 + 1,600 + 1000 + 1,200 + 1,300 + 2,300
C. X +x +X =1
A1 B1 C1
2. If Person C should not be assigned to Task 2, what is the best way to avoid such assignment?
A. Assign lower costs to other assignments
B. Assign way higher cost for Person C – Task 2 assignment
C. Remove Person C and Task 2 in the assignment problem
D. There is nothing that we can do
PART 2. Identification. Provide the required information. Each item is worth 2 pts. for a total of 6 points.
Below is the final (optimal) assignment tableau following the Hungarian Method.
Introduction
This is the first exercise on network problems. It covers minimum spanning tree and shortest route
problems. This exercise tests the ability of the students to solve the preceding problems manually or
software-aided.
Problems
PART 1. Multiple Choice. Write the letter corresponding to your answer. Each item is worth 2 pts. for a total
of 12 pts.
1. If it makes no difference which one is the main control site, which among the following arcs is not
part of the minimum spanning tree?
A. 3-5
B. 1-5
C. 1-2
D. 2-3
2. What is the minimum distance route for the conduit between the locations?
A. 217
B. 177
C. 154
D. 202
3. Which among the following paths is part of the optimal route going from node 1 to node 6?
A. 2→4
B. 4→5
C. 1→3
D. 5→6
4. How many minutes would be saved if the shortest route is taken instead of the route 1→3→5→6?
A. 5
B. 6
C. 1
D. Cannot be determined
Consider the distance and sequence tables of the optimal iteration in Floyd’s Algorithm:
1 2 3 4 5 1 2 3 4 5
1 - 6 3 5 8 1 - 4 1 3 2
2 4 - 7 1 2 2 2 - 1 2 2
3 3 3 - 2 5 3 3 4 - 3 2
4 5 1 8 - 3 4 2 4 1 - 2
5 5 1 6 2 - 5 2 5 5 2 -
5. Which among the following paths is not part of the shortest route from 1 to 6 conveyed by the
provided tables?
A. 3→4
B. 4→2
C. 2→5
D. 1→4
6. Which among the following paths is not part of the shortest route from 4 to 6 conveyed by the
provided tables?
A. 4→1
B. 4→2
C. 2→1
D. 1→3
If the information provided in the table is for a minimum spanning tree problem, identify 4 arcs included in
the minimum spanning tree.
7. _____________________
8. _____________________
9. _____________________
10. _____________________
If the information provided in the table is for a shortest route problem requiring route from node 1 to node 7,
identify 3 optimal paths and the minimum total distance.
Paths:
11. _____________________
12. _____________________
13. _____________________
14. _____________________
Introduction
This exercise covers maximum flow and project duration problems. This exercise tests the ability of the
students to solve the preceding problems manually or software-aided.
Problems
Software Exercise. Using any software of choice, provide the required information. This problem is worth
20 pts.
1. The adjacent figure illustrates a highway network system. Figures on arcs are expressed in
thousand vehicles per hour. Node 1 and Node 6 are the source and sink (destination) nodes,
respectively.
Answers:
What is the maximum number of cars that can pass through the highway network? _________________
In the optimal solution, how many cars can pass through arc 1-5? _________________
In the optimal solution, how many cars can pass through arc 4-6? _________________
2. Doug Casey oversees planning and coordinating next spring’s sales management training program
for his company. Doug listed the following activity information for this project:
Introduction
This is the first exercise on queueing. It covers three models, namely: M/M/1, M/M/s and self-service
models. This exercise tests the ability of the students to solve the preceding models software-aided.
Problems
Software Exercise. Using any software of choice, provide the required information. Each item is worth 2
pts. for a total of 20 pts.
MBC Wholesale Fruit Distributors employ one worker whose job is to load fruit on outgoing company trucks.
Trucks arrive at the loading gate at an average of 24 per day, or 3 per hour, according to a Poisson
distribution. The worker loads them at a rate of 4 per hour, following approximately the exponential
distribution in service times.
Relating to the second problem, the company believes that adding a second fruit loader will substantially
improve the firm’s efficiency. He estimates that the loading gate will double the loading rate from 4 trucks per
hour to 8 trucks per hour.
It is common in malls that children are left in playground areas alongside their respective guardian. In a
particular playground, a child plays on the average 15 minutes with 5 minutes deviation. Children come to
the playground at an arrival rate of 20 per hour following the Poisson distribution. Assume infinite capacity
for the 24/7 playground service.
Introduction
This is the second exercise on queueing. It covers some of the remaining models in Module 5. This exercise
tests the ability of the students to solve the preceding models software-aided.
Problems
Software Exercise. Using any software of choice, provide the required information. Each item is worth 2
pts. for a total of 20 pts.
MBC Wholesale Fruit Distributors employ one worker whose job is to load fruit on outgoing company trucks.
Trucks arrive at the loading gate at an average of 24 per day, or 3 per hour, according to a Poisson
distribution. The worker loads them at a rate of 4 per hour, following approximately the exponential
distribution in service times. This time, the single-server or worker can handle only 30 trucks. If the truck can
no longer be accommodated, then it will go somewhere else.
Relating to the second problem, the company believes that adding a second fruit loader will substantially
improve the firm’s efficiency. He estimates that the loading gate will double the loading rate from 4 trucks per
hour to 8 trucks per hour. Further, the 30-truck rule policy in the system is held.
A photocopying business has 6 photocopier machines. These machines are running except when they are
recalibrated by attendants. These machines may wait for an attendant to be available since the attendants
may be recalibrating other machines. There are three attendants, and each can recalibrate a machine for 15
minutes following the exponential distribution. After each recalibration process, each machine can run 3
hours before it requires another calibration.
Simulation (Part 1)
Introduction
This is the first exercise on Monte Carlo Simulation. It requires the student to properly depict the problem,
identify the variables relevant to the simulation problem and execute simulation using a software.
Problem
Software Exercise. Using any software of choice, perform Monte Carlo Simulation 50 times to answer the
questions at the end of the problem. This problem is worth 20 points.
Dr. Phil Pines, a dentist, tries hard to schedule appointments so that patients do not have to wait beyond
their appointment time. His May 20 schedule is shown in the following table:
Not every patient arrives exactly on schedule, and expected times to examine patients are just that
expected. Some examinations take longer than expected, and some take less time.
1. Will he be able to make the flight? In your simulation, how many times Dr. Pines will not be able to
catch his flight out of the 50 instances?
2. On the average, how many minutes does a patient wait for his turn?
3. On the average, how many minutes does the doctor need to wait for his scheduled patient?
4. Cite three other possible assumptions that will support your simulation.
Introduction
This is the second exercise on Monte Carlo Simulation. It requires the student to properly depict the
problem, identify the variables relevant to the simulation problem and execute simulation using a software.
Problem
Software Exercise. Using any software of choice, perform Monte Carlo Simulation 50 times to answer the
questions at the end of the problem. This problem is worth 20 points.
A car rental agency wants to determine how many rental cars it should maintain. By looking at previous
records, the agency determined probability distributions for the number of car rentals per day and the
duration (in days), as provided below:
1. Using a fleet of four rental cars for 20 days, compute the probability that the agency will not have a
car available upon demand. Should the agency expand its fleet?
2. Cite three assumptions held.