Documente Academic
Documente Profesional
Documente Cultură
OPERATIONS
RESEARCH
A O R
Operations Research: An overview &
Introduction to Linear Programming
By: -
Hakeem–Ur–Rehman
IQTM–PU 1
WHAT IS OPERATIONS RESARCH?
“THE SCIENCE OF BETTER”
Operations research
A rational, structured approach to problem solving
Taking (often) a quantitative view of decision making
Systems approach to problem solving
• To improve operations in manufacturing, service and
governments through the use of scientific methods
and the development of specialized techniques
Optimal decision-making in, and modeling of, deterministic and probabilistic
systems that originate from real life. These applications, which occur in
government, business, engineering, economics, and the natural and social
sciences, are largely characterized by the need to allocate limited resources.
In these situations, considerable insight can be obtained from scientific
analysis, such as that provided by Operations Research.
[By: - Hiller-Lieberman]
2
OR: RESEARCH
OR: a new field which started in the late 1930's and has
grown and expanded tremendously in the last 30 years
4
OPERATIONS REASECH APPROACH…
SYSTEM Vs Its MODEL
5
OPERATIONS REASECH APPROACH…
3. Develop a computer-based procedure for deriving solutions from the
model
Mathematical representations are always approximations of the real world
Type of model dictates the type of algorithm to use to obtain solution
Models can be:
o DETERMINISTIC
o STOCHASTIC
6. Implementation
OR team explains system to management
Develop procedures required to put system into operation
Management trains personnel
6
MODEL & Its TYPES
MODEL: A model is a representation of the structure of a real life
system.
– In general, models can be classified as fellows:
• Iconic models
• Analogue models
• Symbolic models
9
WHAT IS LINEAR PROGRAMMING?
A linear programming problem (LP) is an optimization problem for which:
– We attempt to maximize (or minimize) a linear function of the decision variables.
(Objective Function)
– The values of the decision variables must satisfy a set of constraints, each of
which must be a linear inequality or linear equality.
– A sign restriction on each variable. For each variable Xi the sign restriction can
either say
– Xi ≥ 0,
– Xi ≤ 0,
– Xi unrestricted.
10
ASSUMPTIONS
LINEARITY OR PROPORTIONALITY:
IN LP MODEL
– Proportionality means that the objective function and constraint coefficients are strictly
proportional to the decision variable (e.g., If the first unit of production requires ‘2’ hours of
labor so it must the 50th and 100th unit also requires ‘2’ hours of labor).
DIVISIBILITY:
– Divisibility means that non integer (fractional) values of the decision variables are acceptable.
(e.g., LP allows a production program which uses 400 units of electronic component and
68.33 man hours of labor time to produce 40 units of black and white television sets and
25.7 units of colored television sets per week. If a fraction of a product cannot be produced,
Integer Programming is a special technique which can be used for finding non-fractional
values of resource usage and decision variables).
CERTAINTY:
– Certainty means that the values of the parameters are known and constant
ADDITIVITY:
– Additivity means the total effect of each decision variable (Profit, Cost, etc.) must equal the
sum of the effects contributed by each decision variable and terms of each constraint must
be additive (Total amount of resource consumed or provided) must equal the sum of the
resources used (or provided) by each decision variable.
– (e.g., if an objective is to maximize profit equal to Rs. 10 per unit of the first product made
plus Rs. 5 per unit of the second product made, and if one unit of each product is actually
produced, then the profit contributions of Rs. 10 and Rs. 5 must be added up to produce a
sum of Rs. 15).
NON–NEGATIVITY:
– Non – negativity means that the decision variables are permitted to have only the values
11
which are greater than or equal to zero.
DEVELOPMENT (FORMULATION) OF LP MODEL
PRODUCT (PRODUCTION) MIX PROBLEM # 1:
A firm is engaged in producing two products ‘A’ and ‘B’. Each unit of product ‘A’ requires
3Kg of raw material and 5 labor hour for processing, where as each unit of product ‘B’
requires 6Kg of raw material and 4 labor hours of the same type. Every month the firm
has the availability of 60Kg of raw material and 70 Labor hours. One unit of product ‘A’
sold earns profit Rs. 30 and one unit of product ‘B’ sold gives Rs. 40 as profit.
Formulate this problem as linear programming problem to determine as to how many
units of each of the products should be produced per month so that the firm can earn
maximum profit, assume all unit produced can be sold in the market.
CONSTRAINTS:
Decision Variables: Let X1 and X2 be the
Material Constraint: 3X1 + 6X2 ≤ 60
number of products ‘A’ and ‘B’ respectively.
Labor Constraint: 5X1 + 4X2 ≤ 70
Objective Function: Non–negativity Constraint: As X1 and X2, being the
Product – A: As, ‘X1’ are the units of product number of units produced of products ‘A’ and
‘A’, So, Product ‘A’ contributes a profit of Rs. ‘B’ cannot have negative values thus, X1≥0 and
30X1 from one unit of product. X2≥0. i.e. X1,X2 ≥ 0.
Product – B: As, X2 are the units of product ‘B’, The Complete LP problem model is:
So, Product ‘B’ contributes a profit of Rs. 40X2 Maximize: Z = 30X1 + 40X2
from one unit of product.
Subject to:
Maximize Z = 30X1 + 40X2 3X1 + 6X2 ≤ 60
5X1 + 4X2 ≤ 70
12
X1 , X2 ≥ 0
DEVELOPMENT (FORMULATION) OF LP MODEL
PRODUCT (PRODUCTION) MIX PROBLEM # 2: Four varieties of ties produced:
1. one is an expensive, all-silk tie,
2. one is an all-polyester tie, and
3. two are blends of polyester and cotton.
The table on the following slide illustrates the cost and availability (per monthly production planning period)
of the three materials used in the production process
Monthly cost &
availability of
material
Fifth Avenue’s goal is to maximize its monthly profit. It must decide upon a policy for product mix.
LINEAR PROGRAMMING: MODEL FORMULATION
DECISION VARIABLES: Let X1 = # of all-silk ties; X2 = # polyester ties; X3 = # of
blend 1 poly-cotton ties; X4 = # of blend 2 poly-cotton ties produced per month
Calculate profit for each tie: Profit = Sales price – Cost per yard X Yards per tie
Silk ties = $6.70 – $21 x 0.125 = $4.08
Polyester = $3.55 – $6 x 0.08 = $3.07
Poly-blend 1 = $4.31 – ($6 x 0.05 + $9 x 0.05) = $3.56
Poly-blend 2 = $4.81 – ($6 x 0.03 + $9 x 0.07) = $4.00
Objective function: maximize profit = $4.08X1 + $3.07X2 + $3.56X3 + $4.00X4
Subject to:
0.125X1 ≤ 800 (Total Silk Availability Constraint)
0.08X2 + 0.05X3 + 0.03X4 ≤ 3,000 (Total Polyester Availability Constraint)
0.05X3 + 0.07X4 ≤ 1,600 (Total Cotton Availability Constraint)
X1 ≥ 6,000 (Contract Constraint – 1)
X1 ≤ 7,000 (Demand Constraint – 1)
X2 ≥ 10,000 (Contract Constraint – 2)
X2 ≤ 14,000 (Demand Constraint – 2)
X3 ≥ 13,000 (Contract Constraint – 3)
X3 ≤ 16,000 (Demand Constraint – 3)
X4 ≥ 6,000 (Contract Constraint – 4)
X4 ≤ 8,500 (Demand Constraint – 4)
X1, X2, X3, X4 ≥ 0
LINEAR PROGRAMMING: MODEL FORMULATION
PORTFOLIO SELECTION PROBLEM:
Mr. Ali has Rs. 70, 000 to investment in several alternatives. The alternative
investments are national certificates with an 8.5% return, Defense Savings
Certificates with a 10% return, NIT with a 6.5% return, and khas deposit with a
return of 13%. Each alternative has the same time until maturity. In addition, each
investment alternative has a different perceived risk thus creating a desire to
diversify. Ali wants to know how much to invest in each alternative in order to
maximize the return.
The following guidelines have been established for diversifying the
investments and lessening the risk;
No more than 20% of the total investment should be in khas deposit.
The amount invested in Defense Savings Certificates should not exceed
the amount invested in the other three alternatives.
At least 30% of the investment should be in NIT and Defense Savings
Certificates.
The ratio of the amount invested in national certificates to the amount
invested in NIT should not exceed one to three.
Formulate the problem as a LP model.
LINEAR PROGRAMMING: MODEL FORMULATION
DECISION VARIABLES: Let X1, X2, X3 & X4 be the amount (Rs.) invested in national
certificates, Defense savings certificates, NIT, and khas deposit, respectively.
OBJECTIVE FUNCTION:
Minimize (the total cost):
Z = 20 (X1+X2+X3+X4) + 25(Y1+Y2+Y3+Y4) + 3 (I1+I2+I3)
CONSTRAINTS:
Demand Constraints:
X1 + Y1 = 1000 + I1
I1 + X2 + Y2 = 800 + I2
I2 + X3 + Y3 = 1200 + I3
I3 + X4 + Y4 = 900
Capacity Constraints:
Xj ≤ 800 Where j = 1, 2, 3, 4
Yj ≤ 200 Where j = 1, 2, 3, 4
Non–Negativity Constraints:
Xj , Yj , Ij ≥ 0
CONSTRAINTS:
Demand Constraints:
X1 + Y1 ≥ 1000
X1 + Y1 – 1000 + X2 + Y2 ≥ 800
X1 + Y1 + X2 + Y2 – 1000 – 800 + X3 + Y3 ≥ 1200
X1 + Y1 + X2 + Y2 + X3 + Y3 – 1000 – 800 – 1200 + X4 + Y4 ≥ 900
Capacity Constraints:
Xj ≤ 800 Where j = 1, 2, 3, 4
Yj ≤ 200 Where j = 1, 2, 3, 4
Non–Negativity Constraints:
Xj , Yj , Ij ≥ 0
12 Constraints & 8 Variables
LINEAR PROGRAMMING: MODEL FORMULATION
3 rd Way
DECISION VARIABLES:
Let Xijk = Quantity Produced in month ‘i’ (i = 1, 2, 3, 4) to meet the demand of month ‘j’ (j =
1, 2, 3, 4) using production type ‘k’ (k = 1, 2)
OBJECTIVE FUNCTION: Minimize (the total cost):
Z = 20 (X111+X121+X131+X141 + X221+X231+X241+X331+X341+X441)+ 25(X112+X122+X132+X142+
X222+X232+X242+X332+X342+X442) + 3 (X121+X122+X231+X232+X341+X342)+ 6 (X131+X132+X241+X242) +
9 (X141+X142)
CONSTRAINTS:
Demand Constraints:
X111 + X112 = 1000
X121 + X122 + X221 + X222 = 800
X131 + X132 + X231 + X232 + X331 + X332 = 1200
X141 + X142 + X241 + X242 + X341 + X342 + X441 + X442 = 900
Capacity Constraints:
X111 + X121 + X131 + X141 ≤ 800
X221 + X231 + X241 ≤ 800
X331 + X341 ≤ 800
X441 ≤ 800
X112 + X122 + X132 + X142 ≤ 200
X222 + X232 + X242 ≤ 200
X332 + X342 ≤ 200
X442 ≤ 200
Non–Negativity Constraints:
Xjjk ≥ 0
LINEAR PROGRAMMING: MODEL FORMULATION
The Medequip Company produces precision medical diagnostic
equipment at two factories. Three medical centers have placed orders
for this month’s production output. The below table shows what the
cost would be for shipping each unit from each factory to each of these
customers. Also shown are the number of units that will be produced
at each factory and the number of units ordered by each customer.
Maximize: Z = 2X1 + X2
Subject to: X1 – X2 ≤ 10
2X1 ≤ 40
X1, X2 ≥ 0
CLASSIFICATION OF LP SOLUTION
• UNBOUNDED SOLUTION: (EXAMPLE # 2)
31