Linear Programming: Hamdy A. Taha, Operations Research: An Introduction, 8
Linear Programming: Hamdy A. Taha, Operations Research: An Introduction, 8
Linear Programming: Hamdy A. Taha, Operations Research: An Introduction, 8
Linear Programming
Hamdy A. Taha, Operations Research: An
introduction, 8th Edition
Step 1
- Study the given situation
- Find the key decision to be made
- Identify the decision variables of the
problem
Mathematical Step 2
- Formulate the objective function to be
formulation of optimized
Linear Step 3
- Formulate the constraints of the problem
Programming Step 4
model: - Add non-negativity restrictions or
constraints
The objective function , the set of
constraints and the non-negativity
restrictions together form an LP model.
EXAMPLE:
LP MODEL
Zapper.
Resources are limited to
1200 pounds of special plastic.
40 hours of production time per week.
Marketing requirement
Total production cannot exceed 800 dozens.
Number of dozens of Space Rays cannot exceed number of
dozens of Zappers by more than 450.
Technological input
Space Rays requires 2 pounds of plastic and 3 minutes of
labor per dozen.
Zappers requires 1 pound of plastic and 4 minutes of labor
per dozen.
show step-by-step!
Variables Profit ($) Resources Production time Total Mix
(Plastic/pound (minutes) production
)
Space Rays 8 2 3 1 1
(X1)
Zapper (X2) 5 1 4 1 -1
b) Objective Function:
Weekly profit, to be maximized
b) Objective
Max (Z) = 8X1 + 5X2
(Weekly profit)
ANSWER
c) Constraint
2X1 + 1X2 < = 1200 (Plastic)
3X1 + 4X2 < = 2400 (Production Time)
X1 + X2 < = 800 (Total production)
X1 - X2 < = 450 (Mix)
Xj> = 0, j = 1,2 (Nonnegativity)
X2
1200
The plastic constraint:
The Plastic constraint
2X1+X2<=1200
Total production constraint:
X1+X2<=800
600 Infeasible
Production mix
Production Feasible constraint:
Time X1-X2<=450 X1
600
3X1+4X2<=2400 800
14
X1
1200 X2
Let’s take a closer look
at the optimal point
800 Infeasible
600
Feasible
region X1
400 600 800
17
X2
1200
The plastic constraint:
The Plastic constraint
2X1+X2<=1200
Total production constraint:
X1+X2<=800
600
A (0,600)
Infeasible
Production mix
Production Feasible
B (480,240)
C (550,100) constraint:
Time E (0,0)
D (450,0) X1-X2<=450 X1
600
3X1+4X2<=2400 800
18
ANSWER
X2
1200
The plastic constraint:
The Plastic constraint
2X1+X2<=1200
Total production constraint:
X1+X2<=800
600
Infeasible
Production
Time Production mix
(200, 200) (550,100)
3X1+4X2 * (300,0) *
constraint:
<=2400 * X1-X2<=450 X1
600 800
Extreme
Interior
Boundary point
point
point
23