Operation Research
Operation Research
Operation Research
2
Modeling Problem in OR
Many different types of problems are called OR
problems , and there may be many different
approaches to solution for a particular problem. Yet
certain tasks are common to all OR enquiries.
Three critical stages OR Model construction are:
1. Defining the Problem. Identifying the problem:
its objectives, its constraints, and its decision
variables.
2. Formulating the model of the problem (Building
a Mathematical Model).
3. Solving a Mathematical Model.
3
1- Defining the Problem
OR is Applied When –
Designing and implementing new
operations.
Evaluating ongoing Operations and
Procedures.
Determining and recommending corrective
actions.
4
How to Start and How to Proceed
Identify the problem.
Observe the problem from various points
of view.
Keep things simple.
Identify constraints.
Work with management, get feedback .
5
2- Building a Mathematical
Model
Gather Data --
Consider time / cost issues.
6
Mathematical modeling formulation: The general OR
model can be organized in the following general
format:-
subject to
Constraints
7
3- Solving a Mathematical Model
Choose an Appropriate Solution Technique
An optimization algorithm.
A heuristic algorithm.
8
EXAMPLES
Example 1:
Wilson company produces three
products: desk, chairs, and molded
steel. It is trying to decide on the
number of desks (D), chair (C), and
pound of model steels (M)
9
Assumption :
1- If the nets $ 50 profit on each desk
produced, $30 on each chair produced,
and $ 6 per pound of modeled steel
produced. What the total profit?
The answer :
Total profit for production run can be
modeled by the expression
50 D + 30 C + 6 M
10
2- if 7 pounds of raw steel are needed to
manufacture a desk, 3 pounds to
manufacture a chair, and 1.15 pounds to
produce a pound of model steel. What the
amount of raw steel used during the
production?
The answer:
The amount of raw steel used during the
production run is modeled by the
expression:
7D + 3C + 1.5 M 11
3- Wilson has only 2000 pounds of raw steel
available.
And at least 100 desk must be produced to
satisfy contract commitment.
The answer:
The function constraint can be modeled as :
7 D + 3C + 1.5 M <= 2000 (raw steel)
D >= 100 (contract)
12
The Mathematical model for this
problem is formulated as :
MAXIMIZE 50 D + 30 C + 6 M
SUBJECT TO
7D + 3C + 1.5M <= 2000 (Raw steel)
D >= 100 (contract)
13
Application Example
An OR study done for the San Francisco Police Department resulted in the
development of a computerized system for optimally scheduling and
deploying police patrol officers. The new system provided annual savings
of $11 million, an annual $3 million increase in traffic citation revenues,
and a 20 percent improvement in response times. In assessing the
appropriate objectives for this study, three fundamental objectives were
identified:
1. Maintain a high level of citizen safety.
2. Maintain a high level of officer morale.
3. Minimize the cost of operations.
To satisfy the first objective, the police department and city government
jointly established a desired level of protection. The mathematical model
then imposed the requirement that this level of protection be achieved.
Similarly, the model imposed the requirement of balancing the workload
equitably among officers in order to work toward the second objective.
Finally, the third objective was incorporated by adopting the long-term
goal of minimizing the number of officers needed to meet the first two
objectives. 14
Things to Do
PROBLEM SET 1.1A
15
Modeling with Linear
Programming (CH 2)
16
Linear Programming
Linear programming is a model that consists of
linear relationships representing a firm’s
decision(s), given an objective and resource
constraints.
Steps in applying the linear programming technique.
First, the problem must be identified as being solvable by
linear programming.
Second, the unstructured problem must be formulated as a
mathematical model.
Third, the model must be solved by using established
mathematical techniques.
17
Components of Linear Programming
The LP model, as in any OR model, has
three basic components.
1. Decision variables that we seek to determine.
2. Objective (goal) that we need to optimize
(maximize or minimize).
3. Constraints that the solution must satisfy.
18
Model Formulation
Decision variables are mathematical symbols that
represent levels of activity.
The objective function is a linear mathematical
relationship that describes the objective of the firm in
terms of the decision variables. The objective function
always consists of either maximizing or minimizing
some value (e.g., maximize the profit or minimize the
cost of producing radios).
A model constraint is a linear relationship that
represents a restriction on decision Making.
Parameters are numerical values that are included in
the objective functions and constraints.
19
Model Formulation (cont)
Non-negativity constraints restrict the decision
variables to zero or positive values.
A feasible solution does not violate any of the
constraints.
20
Mathematical formulation of
Linear Programming model:
Step 1
- Study the given situation
- Find the key decision to be made
- Identify the decision variables of the problem
Step 2
- Formulate the objective function to be optimized
Step 3
- Formulate the constraints of the problem
Step 4
- Add non-negativity restrictions or constraints
The objective function , the set of constraints and the non-
negativity
restrictions together form an LP model.
21
TWO-VARIABLE LP MODEL
EXAMPLE:
Zapper.
22
Marketing requirement
Total production cannot exceed 800 dozens.
23
Current production plan calls for:
Producing as much as possible of the more
profitable product, Space Ray ($8 profit per
dozen).
Use resources left over to produce Zappers ($5
profit
per dozen).
The current production plan consists of:
Space Rays = 550 dozens
Objective Function:
25
The Linear Programming Model
subject to
2X1 + 1X2 < = 1200 (Plastic)
3X1 + 4X2 < = 2400 (Production Time)
X1 + X2 < = 800 (Total production)
X1 - X2 < = 450 (Mix)
Xj> = 0, j = 1,2 (Nonnegativity)
26
Feasible Solutions for Linear
Programs
FEASIBLE
REGION
Using a graphical presentation we can represent all
the constraints,
The objective function, and the three types of
feasible points.
27
The plastic constraint:
2X1+X2<=1200
2X1+X2=1200
3X1+4X2=2400 X1= 480
X2= 240
2X1+X2=1200
X1-X2=450 X1= 550
X2= 100 28
By Compensation on :
Max 8X1 + 5X2
(X1, X2) Objective fn
(0,0) 0
(450,0) 3600
(480,240) 5040
(550,100) 4900
(0,600) 3000
29
Type of feasible points
Interior point: satisfies all constraint but
non with equality.
Boundary points: satisfies all
constraints, at least one with equality
Extreme point: satisfies all constraints,
two with equality.
30
X2
1200
The plastic constraint:
2X1+X2<=1200
The Plastic constraint
Infeasible
600
Production
Time
Production mix
3X1+4X2
constraint:
<=2400 (200, (550,10 X1-X2<=450
200) (300,0)
0)
** *
X1
600 800
Extreme
Interior
Boundary point
point
point 31
Summery of graphical solution
procedure
32
Example 2.1-1
(The Reddy Mikks Company)
33
34
35