Chapter 2 Part I-LPP
Chapter 2 Part I-LPP
Chapter 2 Part I-LPP
Class activity
Write at least three examples of non linear prgram
Cont’d
Objectives function
Is the function which represent the goal of
the economic agent
In LP model, a single, quantifiable objective
must be specified by the decision maker
Cont’d
e.g. if a unit price of product “N” is birr 10 and its unit cost is birr
7 while a unit price of product “M” is birr 15 while its cost is
birr 11, then the objective func. Can be:
Max.Z= 3X1+4X2
Cont’d
Decision variables(controllable variables)- will be
defined in terms of quantity to be produced
e.g. X+2y< 6
3x+2y<12
• x& y are decision variables to the first power
• 2, 6, 3 and 12 are coefficient, parameters or constants
Cont’d
2) Solution
-Find the optimum solution using Graphical or simplex methods
• .
Hours
Profit Contribution $50 $60 Available
Cutting hrs/unit in minutes 3 8 260
Assemb.hrs/unit in minutes 7 10 300
Other Limitations:
• Make no more than 450 chairs
• Make at least 100 tables
Summary of information
Nonnegativity:
Cannot make a negative number of chairs or tables
T>0
C>0
Model Summary
Max 7T + 5C (profit)
Subject to the constraints:
3T + 4C < 2400 (carpentry hrs)
2T + 1C < 1000 (painting hrs)
C < 450 (max # chairs)
T > 100 (min # tables)
T, C > 0 (nonnegativity)
Example 4. Product Mix Problem:
Fifth Avenue Industries
• Produce 4 types of men's ties
• Use 3 materials (limited resources)
Yards available
Material Cost per yard per month
Silk $20 1,000
Polyester $6 2,000
Cotton $9 1,250
Silk 0.125 0 0 0
Silk Tie
Profit = $6.70 – [(0.125 yds)($20/yd) + $0.75] = $3.45 per tie
Polyester
Profit = $3.55.– [(0.08 yds)($6/yd) + $0.75] = $2.32 per tie
Blend 1
Profit = $4.31– [(0.05yds)($6/yd)+(0.05yds)($9/yd) +$0.75] = $2.81 per tie
Blend 2
Profit = $4.81– [(0.03 yds)($6/yd) +(0.07yds)($9/yd) +$0.75] = $3.25 per tie
Objective Function (in $ of profit)
Decision variables
X1=amount invested in bonds
X2=amount invested in CD
X3=amount invested in the money market account
Objective function
Max. Z=0.8X1+0.9X2+0.7X3
Cont’d
• Constraints on bond
X1< 0.40(100000) X1<$40,000
Max. Z=0.8X1+0.9X2+0.7X3
s.t
X1<40,000
-2X2+X3> 0
X1+X2+X3<100000
X1,X2,X3 >0
Example 6. Media Selection Problem:
Win Big Gambling Club
• Promote gambling trips to the Bahamas
• Budget: $8,000 per week for advertising
• Use 4 types of advertising
Decision Variables
T = number of TV spots per week
N = number of newspaper ads per week
P = number of prime time radio spots per
week
A = number of afternoon radio spots per week
Objective Function (in num. audience reached)
Max 5000T + 8500N + 2400P + 2800A
Subject to the constraints:
Budget is $8000
800T + 925N + 290P + 380A < 8000
At Least 5 Radio Spots per Week
P+A>5
No More Than $1800 per Week for Radio
290P + 380A < 1800
s.t
A + B + C = 0.125
22A + 28B + 21C > 3
16A + 14B + 25C > 2
8A + 7B + 9C > 1
5A + 6C > 0.425
A, B, C > 0
Finding optimum solution for LPP
A. Graphical method
B. Simplex method
A) Solution using Graphical
• Graphing an LP model helps provide
insight into LP models and their solutions.
Max. Z=3X1+X2
s.t
2X1+X2<20
10X1+X2>36
2X1+5X2>36
X1,X2>0
Application example 1
• A special food for Ethiopian Athletes is to be developed from
two foods: food O and food R.
• The new food is to be designed so that it contains at least
16 mg of vitamin A, at least 20 mg of vitamin B and at least
12 mg of vitamin C.
• Each pound of food O costs $1.50 and contains 1 milligram
of vitamin A, 5 milligram of vitamin B and 1 milligram of
vitamin C.
• On the other hand, each pounds of food R costs $2.50 and
contains 2 milligram of vitamin A, 1 milligram of vitamin B
and 1 milligram of vitamin C.
• How many pounds of each food should be used in the
mixture in order to meet the above requirement at a
minimum cost? What is the minimum cost?
Example 2
• Recall the Flair Furniture Example and find
the solution using Graphical method
C
Carpentry
Constraint Line
3T + 4C = 2400 Infeasible
600
> 2400 hrs
3T
+
Intercepts 4C
=
24
00
(T = 0, C = 600) Feasible
< 2400 hrs
(T = 800, C = 0)
0
0 800 T
C
1000
Painting
Constraint Line
2T
+
2T + 1C = 1000
1C
600
= 100
0
Intercepts
(T = 0, C = 1000)
(T = 500, C = 0) 0
0 500 800 T
C
1000
Max Chair Line
C = 450
600
Min Table Line
450
T = 100
Feasible
Region
0
0 100 500 800 T
C
7T
Objective
+ 5C
Function Line
=$
4,0
500
7T + 5C = Profit
40
Optimal Point
(T = 320, C = 360)
7T
400
+5
C
=$
7T
300
2,8
+5
00
C
=$
200
2,1
100 00
0
0 100 200 300 400 500 T
C
100
Example: x < 10
x < 12
The second constraint is redundant
because it is less restrictive.
Special Situation in LP
2. Infeasibility – when no feasible solution
exists (there is no feasible region)
Example: x < 10
x > 15
Special Situation in LP
3. Alternate Optimal Solutions – when
there is more than one optimal solution
C
Max 2T + 2C 10
2T
Subject to:
+
All points on
2C
T + C < 10
=
Red segment
20
6
T < 5 are optimal
C< 6
T, C > 0
0
0 5 10 T
Special Situation in LP
4. Unbounded Solutions – when nothing
prevents the solution from becoming
infinitely large
ion
C
c t on
Max 2T + 2C ire luti
D so
Subject to: 2 of
2T + 3C > 6
T, C > 0 1
0
0 1 2 3 T
B) Solution using simplex method
• . Example1. Example2.
Standardize the following LPP using Maximize profit: 6x1 + 8x2
simplex method Subject to:
Min Z=3X1+4x2 Constraint 1: x2 < 4
s.t Constraint 2: x1 + x2 = 9
2X1+3X2>90 Constraint 3: 6x1 + 2x2 > 24
4x1+3X2>120 x1, x2 > 0
X1, X2>0
Cont’d
• Example 1.
Find the solution for the following LPP using
simplex method
Max. Z=7X1+4X2
s.t
X1+2X2< 6
3X1+2X2<12
X,Y>0
Example 2
• Find the solution for the following LPP
using simplex method
Maximize profit: x1 + 2x2
Subject to :
x1 + 5x2 <10
2x1 + 6x2 < 16
x1 , x2≥0
Exercise
NB: The basic procedure of simplex method for minimization is the same
as maximization with some exception( see the reading materials)
Example1.
Solve the following LPP using simplex method
Min C.=7x1 + 9X2
s.t.
3X1+6X2>36
8X1+4X2>64
X1,X2>0
Example 2
Solve the following LPP using the simplex method
Min Z=3X1+4x2
s.t
2X1+3X2>90
4x1+3X2>120
X1, X2>0
Mixed constraints
Example 1: Solve the following problem using
the simplex approach:
Maximize profit: 6x1 + 8x2
Subject to:
Constraint 1: x2 < 4
Constraint 2: x1 + x2 = 9
Constraint 3: 6x1 + 2x2 > 24
• x1, x2 > 0
Cont’d
The standard form to the above problem is: