Lecture 4 Chapter 2
Lecture 4 Chapter 2
x -x < 12 1
x < 2 2
x > 01
x > 0 2
- Objective
and the constraints are all linear in this
example.
1
.2 GRAPHICAL LP SOLUTION
2
2.2.1 Solution of a Maximization model
Example 2.2-1 (Reddy Mikks model)
Step 1:
1) Determination of the feasible solution space:
- Find the coordinates for all the 6 equations of
the restrictions (only take the equality sign)
6x1 + 4x2 < 24 1
x1 + 2x2 < 6 2
x2 - x1 < 1 3
x2 < 2 4
x1 > 0 5
x2 > 0 6 3
- Change all equations to equality signs
6x1 + 4x2 = 24 1
x1 + 2x2 = 6 2
x2 - x1 1 3
=
x2 = 2 4
x1 = 0 5
x2 = 0 6
4
5
Step 2:
2) Determination of the optimum solution from among
all the feasible points in the solution space:
- After finding out all the feasible half-spaces of all
the 6 equations, feasible space is obtained by the
line segments joining all the corner points A, B, C,
D ,E and F
- Any point within or on the boundary of the
solution space ABCDEF is feasible as it satisfies all
the constraints
- Feasible space ABCDEF consists of infinite number
of feasible points
6
Since optimum LP solution is always associated
with a corner point of the solution space, so
optimum solution can be found by enumerating all
the corner points as below:-
Corner point (x1, x2) z
A (0, 0) 0
B (4, 0) 20
(optimum
C (3,1.5) 21 solution)
D (2, 2) 18
E (1, 2) 13
F (0, 1) 4
- As number of constraints and variables
increases , the number of corner points also
increases
7
Example 2.2 (Diet Problem)
Ib per Ib of feedstuff
Feedstuff Protein Fiber Cost($/Ib)
Object:
Object:
Minimize Z = 0.3x1 +0.9x2
Subject:
X1 + X2 = 800 FeedStuff
15
Machine 5-ounce bottles 10-ounce bottles
X 80/min 30/min
Y 40/min 50/min
- X and Y machines can run 8 hours per day for 5
days a week
- Profit on 5-ounce bottle is 20 paise
- Profit on 10-ounce bottle is 30 paise
- Weekly production of the drink cannot exceed
500,000 ounces
- Market can utilize 30,000 (5-ounce) bottles and
8000 (10-ounce) bottles per week
- To maximize the profit
16
Solution:
17
Example 2.1-3
(Production Allocation Model)
18
Solution:
Let x1 = number of products of type A
x2 = number of products of type B
Objective:
- Profit of Rs.4 on type A , therefore 4x1 will be the profit on selling x1 units of type A
- Profit of Rs.5 on type B, therefore 5x2 will be the profit on selling x2 units of type B
Total profit,
z = 4x1 + 5x2
Constraints:
19
Complete LP model is,
Maximize z = 4x1 + 5x2
subject to
2x1 + 2x2 < 330 minutes
3x1 + 2x2 < 480 minutes
x1 > 0
x2 > 0
20