MBA OR CH21 final c
MBA OR CH21 final c
am1x1+am2x2+…+amnxn.(≤ = ≥) bm
x1,x2,x3… xn ≥ 0 non-negativity
LINEAR MATHEMATICAL PROGRAMMING
Example
The agriculture research institute suggested to a farmer
to spread out at least 4800kg of a special phosphate
fertilizer and not less than 7200kg of a special nitrogen
fertilizer to raise productivity of crops in his field. There
are two sources for obtaining these- mixtures A and B.
both of these are available in bags weighing 100kg each
and they cost birr 40 and birr 24 respectively. Mixture A
contains phosphate and nitrogen equivalent of 20kg and
80kg respectively, while mixture B contains these
ingredients equivalent of 50kg each. Formulate LPM
LINEAR MATHEMATICAL PROGRAMMING
Solution
Step1: Problem definition
The farmer wants to attain the requirement suggested by agriculture
institute at minimum cost. Therefore, the objective is cost minimization
Step2. Identify decision variables
Based on the statement, the farmer would like to determine the
quantity of mixture A and B to be purchase. The decision variable are
the quantity of mixture A and B. thus,
X1 = quantity of mixture A to purchase.
X2 = quantity of mixture B to purchase.
Step3. Determine Objective Function
The cost per unit of mixture A is 40, and mixture B is 24. so the
appropriate objective function is:
Minimize cost= 40X1 + 24X2
This is because, each unit of X1 costs 40 and X2
Costs 24 to objective function
LINEAR MATHEMATICAL PROGRAMMING
Step 4. Identify and formulate the constraints
Here we have two constraints: structural and non-negativity constraints.
There are two structural constraint of minimum requirements suggested by
the agriculture institute: Phosphate and Nitrogen requirement .
20X1 + 50X2 ≥ 4800 -------- Phosphate requirement
80X1 + 50X2 ≥ 7200 -------- Nitrogen requirement
X1, X2 ≥ 0 -------------------- non-negativity
Step 5. Building and validating the model
Min C= 40X1 + 24X2
Subject to:
20X1 + 50X2 ≥ 4800
80X1 + 50X2 ≥ 7200
X1, X2 ≥ 0
LINEAR MATHEMATICAL PROGRAMMING
2) ABC private limited company is engaged in the production of
power and traction transformers. Both of these categories of
transformers pass through three basic processes: core
preparation, core to coil assembly, and vapor phase drying. A
power transformer yields a contribution of Birr 50,000 and
traction transformer contributes Birr 10,000. The time required
in the production of these two products in terms of hours for
each of the processes is as follows.
Power transformer Traction Transformer
Core preparation 75 15
Core to Coil Assembly 160 30
Vapor Phase Drying 45 10
x2 + x3 = 1000 lb
LINEAR MATHEMATICAL PROGRAMMING
✓ It is simple
✓ It is easy to understand, and
✓ It saves time.
Example: Solve the following LPM using graphic approach
Max Z= 60X1 + 50X2
Subject to
AT: 4X1 + 10X2 ≤ 100
IT : 2X1 + X2 ≤ 22
SS: 3X1 + 3X2 ≤ 39
NN: X1, X2 ≥ 0
Graphical solution method involves the following steps.
Steps in graphic solution
1. Plot each of the constraint on the graph
▪ 1st plotting the non-negativity of constraints, the area feasibility for
these two constraint has been shaded in order to plot the remaining
constraint;
▪ Convert the inequalities in to an equality
▪ Set x1 = 0, and find the value for x2
▪ Set x2 = 0, and find the value for x1
▪ plot the line to the graph
▪ Determine the feasible solution space and shaded it.
LINEAR MATHEMATICAL PROGRAMMING
X1
39
LINEAR MATHEMATICAL PROGRAMMING
LINEAR MATHEMATICAL PROGRAMMING
Step 2. Identify the feasible region:
▪ The feasible region is the solution space that satisfies all the
constraints simultaneously. It is the intersection of the entire
region represented by all constraints of the problem. We
shade in the feasible region depending on the inequality sign.
▪ If the inequality sign is less than or equal to, it represents the
region of the plane below the plotted line. If the inequality
sign is greater than or equal to, it represents the region of the
plane above the plotted line
Step 3. Locate the optimal solution:
▪ The feasible region contains an infinite number of points that
would satisfy all the constraints of the problem. Point that will
make the objective function optimum will be our optimal
solution. This point is always found among the corner points
of the solution space.
LINEAR MATHEMATICAL PROGRAMMING
Interpretation:
▪ For a firm to maximize its profit (740), it should produce 9 units of the
Model I microcomputer and 4 units of model II.
▪ what are the values of decision variables at each corner point? (Hint:
Solve simultaneously those lines which intersected each other). Can
you mention some of the characteristics of the LP graphs consisting of
sign? ≤
LINEAR MATHEMATICAL PROGRAMMING
Objective function approach
Steps
➢ Graph the constraints
➢ Identify the feasible solution space
➢ Set the objective function equal to same amount divisible by each of the
objective function coefficient. This will yield integer value for x1, and x2
that helps to plot the line simply.
➢ Now determine the optimal point by moving a line away from the origin
(for maximization problem) or towards the origin (for minimization
problem) parallel to the objective function line.
➢ After identifying the optimal point determine which two constraints
intersect there.
➢ Solve their equation simultaneously to obtain the value of x1 and x2 at the
optimal point
➢ Substitute the values obtained in the previous step in to the objective
function to determine the value of the objective function at the optimal
LINEAR MATHEMATICAL PROGRAMMING
Objective Function:
Weekly profit, to be maximized
49
LINEAR MATHEMATICAL PROGRAMMING
50
LINEAR MATHEMATICAL PROGRAMMING
X1
51
LINEAR MATHEMATICAL PROGRAMMING
Graphical Analysis – the Feasible Region
X2
Infeasible
Production Feasible
Time
3X1+4X2 2400 X1
500 700
52
LINEAR MATHEMATICAL PROGRAMMING
54
LINEAR MATHEMATICAL PROGRAMMING
Graphical approach/methods
Exercise: solve graphically the following LPM
Minimize C= 3X1 + 5X2
Subject to :
Minimize = 40X1 + 24X2----------Total cost
-3X1 + 4X2 ≤ 12 Subject to:
2X1 + 3X2 ≥ 12 20X1 + 50X2 ≥ 4800 -------- Phosphate requirement
80X1 + 50X2 ≥ 7200 -------- Nitrogen requirement
2X1 – X2 ≥ -2 X1, X2 ≥ 0
X1 ≤ 4 : X2 ≥ 2
X1, X2 ≥ 0
Maximize Z = 10X1 + 15X2
Subject to :
2X1 + X2 ≤ 26
2X1 + 4X2 ≤ 56
X1 – X2 ≥ -5
X1, X2 ≥ 0
LINEAR MATHEMATICAL PROGRAMMING
Graphical approach/methods
Special issues
This section points out some special issues that may arise during the
formulation or solution of LP problems. These issues are:
Unbounded problems:
an unbounded problem exists when the value of the objective function can
be increased without limit. The reason for it may be concluded to wrong
formulation of the problem such as incorrectly maximizing instead of
minimizing and/or errors in the given problem. Checking or rethinking the
problem statement will resolve the problem.
Example
Max Z = 10X1 + 20X2
Subject to:
2X1 + 4X2 ≥ 16
X1 + 5X2 ≥ 15
X1, X2 ≥ 0
LINEAR MATHEMATICAL PROGRAMMING
Graphical approach/methods
Unbounded problems:
LINEAR MATHEMATICAL PROGRAMMING
Graphical approach/methods
Redundant Constraint:
A constraint that does not form a unique point of the boundary of
the feasible solution space. A constraint is redundant if its
removal would not alter the feasible solution space.
Example
Max Z = 3X1 +2X2
Subject to:
X1 ≤ 25
2X1 +3X2 ≤ 60
2X1 +X2 ≤ 20
X1, X2 ≥ 0
Here, the 1st and 2nd constraints are redundant because they do
not form a unique boundary of the feasible solution space’
LINEAR MATHEMATICAL PROGRAMMING
Graphical approach/methods
Redundant Constraint:
LINEAR MATHEMATICAL PROGRAMMING
Graphical approach/methods
Infeasibility:
➢ it means there are no points that simultaneously
satisfy all constraints in the problem. In some cases
after plotting all the constraints on the graph, feasible
area (common region) that represents all the
constraints of the problem cannot be obtained.
Example
Max Z = 3X1 +2X2
Subject to:
2X1 +X2 ≤ 2
3X1 +4X2 ≥ 12
X1, X2 ≥ 0
LINEAR MATHEMATICAL PROGRAMMING
Graphical approach/methods
Infeasibility:
LINEAR MATHEMATICAL PROGRAMMING
Graphical approach/methods
Multiple optimal solutions:
➢ if objective function fails on more than one optimal point there
solution is said to be multiple optimal solution. i.e., different
combination of values of the decision variable will yield the same
optimal value for the objective function. The only way this
situation can exist when the slope of the objective function and
one of the constraints equation are the same.
Example
Max Z = 8X1 + 16X2
Subject to:
X1 +X2 ≤ 200
3X1 + 6X2 ≤ 900
X1 ≤ 125
X1, X2 ≥ 0
LINEAR MATHEMATICAL PROGRAMMING
Graphical approach/methods
Multiple optimal solutions:
LINEAR MATHEMATICAL PROGRAMMING
Cj-Zi
60 50 0 0 0 Haile Y (PhD)
2. The simplex method
Second table
Basic V Cj 60 50 0 0 0 Quantity
X1 X2 S1 S2 S3
S1 0 0 8 1 -2 0 56
X1 11
60 1 1/2 0 1/2 0
S3 0 6
0 3/2 0 -3/2 1
Zi 60 30 0 30 0 660
Cj-Zi
0 20 0 -30 0
Haile Y (PhD)
2. The simplex method
Third table
Basic V Cj 60 50 0 0 0 Quantity
X1 X2 S1 S2 S3
S1 0 0 0 1 6 -16/3 24
X1 60 1 0 0 1 -1/3 9
X2 50 4
0 1 0 -1 2/3
Zi 60 50 0 10 40/3 740
Haile Y (PhD)
LINEAR MATHEMATICAL PROGRAMMING
In standard form
Max! 6X + 8Y + 0S1 + 0S3 - MA1 – MA3
Subject to: Y+ S1 = 4
X+Y + A1 = 9
6X+ 2Y –S3 + A3 = 24
All variables ≥ 0
Saunders, Lewis and Thornhill, Research Methods for Business Students, 5th Edition, © Mark Saunders, Philip Lewis and Adrian Thornhill 75
2009
Slide 1.76
2.76
Initial table
BV CBV 6 8 0 0 -M -M Quantity
X Y S1 S3 A2 A3
S1 0 0 1 1 0 0 0 4
A2 -M 1 1 0 0 1 0 9
A3 -M 6 2 0 -1 0 1 24
Saunders, Lewis and Thornhill, Research Methods for Business Students, 5th Edition, © Mark Saunders, Philip Lewis and Adrian Thornhill 76
2009
Slide 1.77
2.77
Second table
BV CBV 6 8 0 0 -M -M Quantity
X Y S1 S3 A2 A3
S1 0 0 1 1 0 0 0 4
A2 -M 0 2/3 0 1/6 1 0 5
X 6 1 1/3 0 -1/6 0 1 4
Z 6 2-2M/3 0 -1M/6 -1 -M -M 24 - 5M
C-Z 0 6+2M/3 0 1+ M/6 0 0
Saunders, Lewis and Thornhill, Research Methods for Business Students, 5th Edition, © Mark Saunders, Philip Lewis and Adrian Thornhill 77
2009
Slide 1.78
2.78
Third table
BV CBV 6 8 0 0 -M Quantity
X Y S1 S3 A2
Y 0 0 1 1 0 0 4
A2 -M 0 0 -2/3 1/6 1 7/3
X 6 1 0 -1/3 -1/6 0 8/3
Saunders, Lewis and Thornhill, Research Methods for Business Students, 5th Edition, © Mark Saunders, Philip Lewis and Adrian Thornhill 78
2009
Slide 1.79
2.79
Fourth table
BV CBV 6 8 0 0 Quantity
X Y S1 S3
Y 8 0 1 1 0 4
S3 0 0 0 -4 1 14
X 6 1 0 -1 0 5
Z 6 8 2 0 62
C-Z 0 0 -2 0
Saunders, Lewis and Thornhill, Research Methods for Business Students, 5th Edition, © Mark Saunders, Philip Lewis and Adrian Thornhill 79
2009
LINEAR MATHEMATICAL PROGRAMMING
2. The simplex method
C. Minimization linear programming problems
Steps
1. Formulate the LPM, and express in the standard form by introducing surplus and
artificial variables in the left hand side of the constraints.
➢ Assign a 0 and M as coefficient for surplus and artificial variable respectively
in the objective function. M is considered a very large number so as to finally
drive out the artificial variable out of basic solution.
2. Set up the initial simplex tableau and initial solution
3. Test for optimality of the solution. If all the entries of C – Z row are positive and
zero, the solution is optimal. If at least one of the C – Z number is less than zero,
the current solution can be further improved.
➢ Determine the variable to enter the basic solution. Identify the column with the
largest number with negative sign in the C – Z row of the table.
➢ Determine the departing variable from the basic solution. If an artificial variable
goes out of solution, discard it totally. The same procedure, as in maximization
case, is employed to determine the departing variable.
4. Update the new solution. Evaluate the entries and repeated step 3 and 4 until an
optimal solution is obtained.
LINEAR MATHEMATICAL PROGRAMMING
Example
Minimize Z= 7X + 9Y
Subject to: 3X + 6Y ≥ 36
8X + 4Y ≥ 64
X, Y ≥ 0
Saunders, Lewis and Thornhill, Research Methods for Business Students, 5th Edition, © Mark Saunders, Philip Lewis and Adrian Thornhill 82
2009
Slide 1.83
2.83
In standard form
Minimize Z= 7X + 9Y + 0S1 + 0S2+MA1+MA2
Subject to: 3X + 6Y –S1 +A1 = 36
8X + 4Y –S2 + A2 = 64
All variables ≥ 0
Saunders, Lewis and Thornhill, Research Methods for Business Students, 5th Edition, © Mark Saunders, Philip Lewis and Adrian Thornhill 83
2009
Slide 1.84
2.84
A1 M 3 6 -1 0 1 0 36
A2 M 8 4 0 -1 0 1 64
Saunders, Lewis and Thornhill, Research Methods for Business Students, 5th Edition, © Mark Saunders, Philip Lewis and Adrian Thornhill 84
2009
Slide 1.85
2.85
2nd table
BV CBV 7 9 0 0 M M
X Y S1 S2 A1 A2
A1 M 0 9/2 -1 3/8 1 0 12
X 7 1 1/2 0 -1/8 0 1/8 8
Saunders, Lewis and Thornhill, Research Methods for Business Students, 5th Edition, © Mark Saunders, Philip Lewis and Adrian Thornhill 85
2009
Slide 1.86
2.86
3rd Table
BV CBV 7 9 0 0
X Y S1 S2
Saunders, Lewis and Thornhill, Research Methods for Business Students, 5th Edition, © Mark Saunders, Philip Lewis and Adrian Thornhill 86
2009
LINEAR MATHEMATICAL PROGRAMMING
X1 60 11
1 1/2 0 1/2 0
S3 0 6
0 3/2 0 -3/2 1
Zi 60 30 0 30 0 660
Cj-Zi
0 0 0 -30 0
LINEAR MATHEMATICAL PROGRAMMING
X1 60 9
1 0 0 1 -1/3
X2 30 4
0 1 0 -1 2/3
Zi 60 30 0 30 0 660
Cj-Zi
0 0 0 -30 0
LINEAR MATHEMATICAL PROGRAMMING
2. The simplex method
2. Unbounded solution (problem):
➢ unbounded solution exists when all the ratio values (values of
quantity column divided by values in the pivot column) are
negative or zero (no positive value) while determining the
leaving variable
3. Degeneracy solution:
➢ In the process of developing the next simplex tableau for a
tableau that is not optimal, the leaving variable must be
identified. When there is a tie for the lowest non-negative ratio
(two equal values of leaving variable) referred to as degeneracy.
4. Infeasibility solution:
➢ In the simplex approach, infeasibility can be recognized by the
presence of an artificial variable in a solution that appears
optimal.