Академический Документы
Профессиональный Документы
Культура Документы
References:
Quantitative Techniques for Business Management
Second Edition
By: Praxedes Soliva Victoriano
Operations Research
Third Edition
By Hamdy A. Taha
Topics:
I. Linear Equations and Linear Inequalities
II. Linear Programming: Graphical Method
III. Linear Programming: Simplex Maximization Method
IV. Linear Programming: Simplex Minimization Method
V. The Special-Purpose Algorithm of Linear Programming
a. Transportation Method
b. Assignment Method
VI. The Break-Even Point Analysis
VII. The Decision Theory
VIII. Forecasting
IX. Inventory
X. PERT-CPM
XI. Queuing
Operations Research (OR) – seeks the determination of the best (optimum) course of a
decision problem under the restriction of limited resources.
Philosophy
Indeed it can be argued that although OR is imperfect it offers the best available
approach to making a particular decision in many instances (which is not to say that using
OR will produce the right decision).
You can form your own judgment as to whether OR is better than this approach or
not.
Phases of an OR project
Drawing on our experience with the Two Mines problem we can identify the
phases that a (real-world) OR project might go through.
1. Problem identification
Diagnosis of the problem from its symptoms if not obvious (i.e. what is the
problem?)
It may be that a problem can be modeled in differing ways, and the choice of the
appropriate model may be crucial to the success of the OR project. In addition to
algorithmic considerations for solving the model (i.e. can we solve our model
numerically?) we must also consider the availability and accuracy of the real-world data
that is required as input to the model.
Note that the "data barrier" ("we don't have the data!!!") can appear here,
particularly if people are trying to block the project. Often data can be
collected/estimated, particularly if the potential benefits from the project are large
enough.
3
This issue of the data environment can affect the model that you build. If you
believe that certain data can never (realistically) be obtained there is perhaps little point
in building a model that uses such data.
Model validation involves running the algorithm for the model on the computer in
order to ensure:
- the results from the algorithm seem reasonable (or if they are
surprising we can at least understand why they are surprising).
Sometimes we feed the algorithm historical input data (if it is available
and is relevant) and compare the output with the historical result.
Note here that the factors which allow such questions to be asked and answered
are:
5. Implementation
This phase may involve the implementation of the results of the study or the
implementation of the algorithm for solving the model as an operational tool (usually in a
computer package).
In the first instance detailed instructions on what has to be done (including time
schedules) to implement the results must be issued. In the second instance operating
manuals and training schemes will have to be produced for the effective use of the
algorithm as an operational tool.
4
It is believed that many of the OR projects which successfully pass through the
first four phases given above fail at the implementation stage (i.e. the work that has been
done does not have a lasting effect). As a result one topic that has received attention in
terms of bringing an OR project to a successful conclusion (in terms of implementation)
is the issue of client involvement. By this is meant keeping the client (the
sponsor/originator of the project) informed and consulted during the course of the project
so that they come to identify with the project and want it to succeed. Achieving this is
really a matter of experience.
Problem
Formulation
Model
Algorithm
Numerical solution
Implementation
Example of an OR Problem
The Two Mines Company own two different mines that produce an ore which,
after being crushed, is graded into three classes: high, medium and low-grade. The
company has contracted to provide a smelting plant with 12 tons of high-grade, 8 tons of
medium-grade and 24 tons of low-grade ore per week. The two mines have different
operating characteristics as detailed below.
How many days per week should each mine be operated to fulfill the smelting
plant contract?
Note: this is clearly a very simple (even simplistic) example but, as with many
things, we have to start at a simple level in order to progress to a more complicated level.
Guessing
5
To explore the Two Mines problem further we might simply guess (i.e. use our
judgment) how many days per week to work and see how they turn out.
This does not seem like a good guess as it results in only 7 tons a day of high-
grade, insufficient to meet the contract requirement for 12 tons of high-grade a day. We
say that such a solution is infeasible.
This seems like a better guess as it results in sufficient ore to meet the contract.
We say that such a solution is feasible. However it is quite expensive (costly).
Solution
What we have is a verbal description of the Two Mines problem. What we need to
do is to translate that verbal description into an equivalent mathematical description.
In dealing with problems of this kind we often do best to consider them in the
order:
1. variables
2. constraints
3. objective.
We do this below and note here that this process is often called formulating the
problem (or more strictly formulating a mathematical representation of the problem).
(1) Variables
Let
(2) Constraints
It is best to first put each constraint into words and then express it in a
mathematical form.
Ore
High 6x + 1y >= 12
Medium 3x + 1y >= 8
Low 4x + 6y >= 24
Note we have an inequality here rather than an equality. This implies that we may
produce more of some grade of ore than we need. In fact we have the general rule: given
a choice between an equality and an inequality choose the inequality
For example - if we choose an equality for the ore production constraints we have
the three equations 6x+y=12, 3x+y=8 and 4x+6y=24 and there are no values of x and y
which satisfy all three equations (the problem is therefore said to be "over-constrained").
For example the values of x and y which satisfy 6x+y=12 and 3x+y=8 are x=4/3
and y=4, but these values do not satisfy 4x+6y=24.
The reason for this general rule is that choosing an inequality rather than an
equality gives us more flexibility in optimizing (maximizing or minimizing) the objective
(deciding values for the decision variables that optimize the objective).
days per week constraint - we cannot work more than a certain maximum
number of days a week e.g. for a 5 day week we have
x <= 5
y <= 5
Constraints of this type are often called implicit constraints because they are
implicit in the definition of the variables.
(3) Objective
minimize
180x + 160y
subject to
6x + y >= 12
3x + y >= 8
4x + 6y >= 24
x <= 5
y <= 5
x,y >= 0
Some notes
A key issue behind formulation is that it makes you think. Even if you never do
anything with the mathematics this process of trying to think clearly and logically about a
problem can be very valuable.
Often (strictly) the decision variables should be integer but for reasons of
simplicity we let them be fractional. This is especially relevant in problems where the
values of the decision variables are large because any fractional part can then usually be
ignored (note that often the data (numbers) that we use in formulating the LP will be
inaccurate anyway).
The way the complete mathematical representation of the problem is set out above
is the standard way (with the objective first, then the constraints and finally the reminder
that all variables are >=0).
Discussion
8
Just to confuse things the mathematical model of the problem is sometimes called
the formulation of the problem.
Our model has an objective, that is something which we are trying to optimize.
Having obtained the numerical solution of our model we have to translate that
solution back into the real-world situation.
Linear Equations – are algebraic statements showing expressions that are equal.
Linear Inequalities – are algebraic statements showing expressions that are not equal.
Common Symbols:
< is less than ≤ is less than or equal to
> is greater than ≥ is greater than or equal to
< is not less than ≠ is not equal to
> is not greater than
Activity # 1
Linear Programming
10
A good manager can maximize company’s profit and minimize its cost without
violating any limitation or restriction on existing variables, such as time and quantity of
available raw materials.
Optimum Solution – is a solution that makes the objective function as large as possible in
case of maximization process, and as small as possible in the case of minimization
process.
Feasible Solution – is the set of all points in the graph satisfying the constraint.
4. Graph the constraints and always solve for the coordinates at the point of
intersection of lines.
5. Substitute the coordinates at the vertices of the feasible region in the objective
function.
6. Formulate your decision by selecting the highest value of the objective if it is
maximization and the lowest value if it is minimization.
Problem # 1:
A steel producer makes two types of steel: regular and special steel. A ton of
regular steel requires 2 hours in the open-hearth furnace and 3 hours in the soaking pit; a
ton of special steel requires 2 hours in the open-hearth furnace and 5 hours in the soaking
pit. The open-hearth furnace is available 8 hours per day and the soaking pit is available
15 hours per day. The profit on a ton of regular steel is P4000 and it is P6000 on a ton of
special steel. Determine how many tons of each type of steel should be made to
maximize the profit considering that demand on regular steel is at least 1 ton.
Solution:
Let
Maximize:
Subject to:
Decision:
Problem # 2
12
A poultry raiser wants to mix two types of grain: A and B. A costs P40 and
contains 20 grams of fat, 10 grams of protein and 800 calories. Each unit of grain B costs
P48 and contains 30 grams of fat, 30 grams of protein and 600 calories. Suppose that the
poultry raiser wants each unit of the final product to yield at least 180 grams of fat, at
least 120 grams of protein and at least 4800 calories, how many units of each type of
grain should the poultry raiser use to minimize his cost?
Solution:
Let
Minimize:
Subject to:
Decision:
Problem # 3
A trust fund is planning to invest up to P600,000 in two of bond: A and B. Bond
A carries a dividend of 25 % and B, 30 %. Suppose the fund rules state that no more than
P400,000 may be invested in bond B, while at least P150,000 must be invested in bond A,
how much should be invested in each type of bond to maximize the fund’s return?
Solution:
Let
Maximize:
13
Subject to:
Decision:
Activity # 2
1. Minimize: 5 x 10 y
Subject to:
2 x y 10
x 3 y 15
x 0, y 0
2. Maximize: 30 x 40 y
Subject to:
4 x 2 y 32
x 3 y 18
x 0, y 0
3. An animal food producer mixes two types of animal food: x and y. Each unit of x
costs P100 and contains 40 grams of fat, 20 grams of protein and 1600 calories.
Each unit of y costs P80 and contains 60 grams of fat, 60 grams of protein and
1200 calories. Suppose the producer wants each unit of the final product to yield
at least 360 grams of fat, at least 240 grams of protein and at least 9600 calories,
how many of each type of grain should the producer use to minimize his costs?
4. The Nutrition Club serves a luncheon consisting of two dishes, A and B. Assume
each unit of A has 4 grams of fat, 4 grams of carbohydrates and 16 grams of
protein, whereas each unit of B has 8 grams of fat, 4 grams of carbohydrates and
24 grams of protein. If the nutritionists planning the luncheon want to provide no
more than 40 grams of fat, no more than 28 grams of carbohydrates, how many
unit of A and B should be served to maximize the amount of protein?