SlideShare a Scribd company logo
1 of 37
Forest Business Management
NRM 357
Credit hour (2+0)
B.Sc Forestry (Fifth Semester)
Prabin Pandit
Lecturer
Purbanchal University
College of Environment and Forestry (PUCEF)
foresterpandit@gmail.com
Linear Programming
• Linear programming is a widely used mathematical modelling technique to determine the
optimum allocation of scarce resources among competing demands.
• Resources typically include raw materials, manpower, machinery, time, money and space.
• The technique is very powerful and found especially useful because of its application to
many different types of real business problems in areas like finance, production, sales and
distribution, personnel, marketing and many more areas of management.
• As its name implies, the linear programming model consists of linear objectives and linear
constraints, which means that the variables in a model have a proportionate relationship.
For example, an increase in manpower resource will result in an increase in work output.
Maximization and Minimization
• The maximization or minimization of some quantity is the objective in all
linear programming problems.
• All LP problems have constraints that limit the degree to which the objective
can be pursued.
• A feasible solution satisfies all the problem's constraints.
• An optimal solution is a feasible solution that results in the largest possible
objective function value when maximizing (or smallest when minimizing).
Linear Programming (Example)
1. A company makes two products; Chair and Table both require processing on
Band saw and Sander machine. Table takes 10 and 15 minutes on Band saw
and Sander machine per unit respectively. Where as Chair takes 22 and 18
minutes on Band saw and Sander machine per unit respectively. Both the
machines are available for 2640 minutes per week. The products; Chair and
Table are sold for Rs 280 and Rs175 respectively per unit. Formulate a linear
programming to maximize revenue?
Linear Programming
Solution:
Tabulated form of the given problem is;
Products
Processing Time Required (minutes)
Selling price (Rs)
Band Saw Sander
Chair 10 15 200
Table 22 18 175
Availability of Machines 2640 min/week 2640 min/week Z
Decision variables;
• Let x be the number of chairs to be produced and y
be the number of tables to be produced.
Objective Functions;
Z = 200 x + 175 y
Constraints;
10x + 22y ≤ 2640
15x + 18y ≤ 2640
Now we can write the problem as follow;
Maximize:
Z = 200 x + 175 y
Subject to:
10x + 22y ≤ 2640
15x + 18y ≤ 2640
Where, x,y≥ 0
Linear Programming
2. A Factory can make Particle board and Plywood. They use two glues; phenol-
formaldehyde and urea-formaldehyde. To make one unit of Particle board, they need 3
liter of phenol-formaldehyde and 4 liter of urea-formaldehyde. Similarly, To make one
unit of Plywood, they need 2 liter of phenol-formaldehyde and 5 liter of urea-
formaldehyde. They have 30 liter of phenol-formaldehyde and 25 liter of Urea-
formaldehyde. Particle board and plywood are sold at Rs 800 and 900 per unit
respectively. find the best product need to show that total revenue will be maximum
Linear Programming
Products
Resources (Liter) Selling price
per unit (Rs)
phenol-formaldehyde urea-formaldehyde
Particle board 3 4 800
Plywood 2 5 900
Availability of
resources
30 25
Linear Programming
3. A furniture company produces tables and chairs. Each table requires 4 hours of Carpentry and two
hours of Painting work while each chair requires 3 hours of carpentry work and 1 hour of painting
work. During the current production period, 240 hours of carpentry time are available and 100 hours
of painting time are available. Each table sold at a profit of rupees 70 while each chair sold yields a
profit of Rs. 50. formulate a linear programming model for this problem.
Linear Programming
Products
Tasks (hour) Selling price
per unit (Rs)
Carpentry Painting
Tables 4 2 70
Chairs 3 1 50
Availability of
resources
240 100
Linear Programming
4. Consider a chocolate manufacturing company which produces two types of chocolate Kit Kat and
dairy milk. Both the chocolates requires milk and Choco only. To manufacture each unit of Kit Kat
and Dairy milk, the following quantities are required;
• Each unit of Kitkat requires 1 unit of milk and 3 unit of Choco
• Each unit of Diary milk requires 1 unit of milk and 2 unit of Choco.
The Company Kitchen has a total of 5 units of milk and 12 units of choco. On each sale the Company
makes a profit of Rs 6 per unit Kitkat sold and a profit of Rs. 5 per unit Diary milk sold. Now, the
company wishes to maximizing the profit. How many limits of Kitkat and Diary Milk Should it
Produces respectively?
Linear Programming
5. Using Simplex method, Maximize Z = 5x + 7y
subject to;
2x + 3y ≤ 13
3x + 2y ≤ 12 Where, x,y ≥ 0
Solution;
Let, S1 and S2 be the non negative slack variables. The linear programming problem (LPP) can be
written as;
2x + 3y + S1 + 0*S2 = 13
3x + 2y + 0*S1 + S2 = 12
- 5x - 7y + Z + 0*S1 + 0* S2 = 0
Where; x, y, S1 & S2 ≥ 0
Linear Programming
2x + 3y + S1 + 0*S2 = 13
3x + 2y + 0*S1 + S2 = 12
- 5x - 7y + 0*S1 + 0* S2 + Z = 0
Where; x, y, S1 & S2 ≥ 0
Simplex Tableau
X Y S1 S2 Z RHS Ratio
2 3 1 0 0 13
3 2 0 1 0 12
-5 -7 0 0 1 0
Linear Programming
X Y S1 S2 Z RHS Ratio
2 3 1 0 0 13
3 2 0 1 0 12
-5 -7 0 0 1 0
Here, -7 is the most negative entry in the last row. So, 2nd column is the pivot column.
13/3 = 4.3
12/2 = 6
Since, 13/3 = 4.3, 12/2 =6 and 4.3 is smaller than 6 so, 1st row is the pivot row.
Intersection of pivot row and pivot column is 3. So, 3 is the pivot number.
Linear Programming
X Y S1 S2 Z RHS Ratio
2 3 1 0 0 13 4.3
3 2 0 1 0 12 6
-5 -7 0 0 1 0
X Y S1 S2 Z RHS Ratio
2/3 1 1/3 0 0 13/3
3 2 0 1 0 12
-5 -7 0 0 1 0
Operation: Applying R1 R1* 1/3
First off all we have to make pivot element 1
Y
Linear Programming
X Y S1 S2 Z RHS Ratio
2/3 1 1/3 0 0 13/3
3 2 0 1 0 12
-5 -7 0 0 1 0
We have to make remaining value in pivot column (2 & -7) to 0
X Y S1 S2 Z RHS Ratio
2/3 1 1/3 0 0 13/3
3-4/3 = 5/3 0 -2/3 1 0
12-26/3 =
10/3
-5+14/3 =
-1/3
0 7/3 0 1
13*7/3 =
91/3
Operation: Applying R2 R2 - 2*R1 Applying R3 R3+ 7*R1
Y
Y
Linear Programming
This is not the optimal solution, there is Still Negative value in Last Row.
Again we have to remove the negative value in last row.
X Y S1 S2 Z RHS Ratio
2/3 1 1/3 0 0 13/3
5/3 0 -2/3 1 0 10/3
-1/3 0 7/3 0 1 91/3
X Y S1 S2 Z RHS Ratio
2/3 1 1/3 0 0 13/3 13/3*3/2 = 13/2
5/3 0 -2/3 1 0 10/3 2
-1/3 0 7/3 0 1 91/3
Here, -1/3 is the most negative entry in the last row. So, 1st column is the pivot column.
Since, 2 is smaller than 13/2 so, 2nd row is the pivot row
Intersection of pivot row and pivot column is 5/3. So, 5/3 is the pivot number.
Y
Y
Linear Programming
X Y S1 S2 Z RHS Ratio
2/3 1 1/3 0 0 13/3 13/3*3/2 = 13/2
5/3 0 -2/3 1 0 10/3 2
-1/3 0 7/3 0 1 91/3
Operation: Applying R2 R2* 3/5
First off all we have to make pivot element 1
X Y S1 S2 Z RHS Ratio
2/3 1 1/3 0 0 13/3
1 0 -2/5 3/5 0 2
-1/3 0 7/3 0 1 91/3
Y
X
Y
Linear Programming
X Y S1 S2 Z RHS Ratio
2/3 1 1/3 0 0 13/3
1 0 -2/5 3/5 0 2
-1/3 0 7/3 0 1 91/3
We have to make remaining value in pivot column (2/3 & -1/3) to 0
Operation: Applying R1 R1 – 2/3*R2 Applying R3 R3+ 1/3*R2
X Y S1 S2 Z RHS Ratio
0 1
(1/3)-(2/3*-
2/5) = 3/5
-2/5 0 3
1 0 -2/5 3/5 0 2
0 0 11/5 1/5 1 31
X
Y
Y
X
Linear Programming
Since all the values in the last row are non negative. So, optimal solution is obtained
Therefore;
Maximize Z = 31 at
Y = 3 and
X = 2
Basic variables X Y S1 S2 Z RHS
y 0 1
(1/3)-
(2/3*-2/5)
= 3/5
-2/5 0 3
x 1 0 -2/5 3/5 0 2
0 0 11/5 1/5 1 31
Linear Programming (Example)
1. A company makes two products; Chair and Table both require processing on
Band saw and Sander machine. Table takes 10 and 15 minutes on Band saw
and Sander machine per unit respectively. Where as Chair takes 22 and 18
minutes on Band saw and Sander machine per unit respectively. Both the
machines are available for 2640 minutes per week. The products; Chair and
Table are sold for Rs 280 and Rs175 respectively per unit. Formulate a linear
programming to maximize revenue?
Linear Programming
Solution:
Tabulated form of the given problem is;
Products
Processing Time Required (minutes)
Selling price (Rs)
Band Saw Sander
Chair 10 15 200
Table 22 18 175
Availability of Machines 2640 min/week 2640 min/week Z
Decision variables;
• Let x be the number of chairs to be produced and y
be the number of tables to be produced.
Objective Functions;
Z = 200 x + 175 y
Constraints;
10x + 22y ≤ 2640
15x + 18y ≤ 2640
Now we can write the problem as follow;
Maximize:
Z = 200 x + 175 y
Subject to:
10x + 22y ≤ 2640
15x + 18y ≤ 2640
Where, x,y≥ 0
Linear Programming
Solution;
Let, S1 and S2 be the non negative slack variables. The linear programming problem (LPP) can be written as;
10x + 22y + S1 + 0*S2 = 2640
15x + 18y + 0*S1 + S2 = 2640
- 200x - 145y + 0*S1 + 0* S2+ Z = 0
Where; x, y, S1 & S2 ≥ 0
X Y S1 S2 Z RHS Ratio
10 22 1 0 0 2640 264
15 18 0 1 0 2640 176
-200 -145 0 0 1 0
Here, -200 is the most negative entry in the last row. So, 3rd column is the pivot column. 176 is less than 264, so 2nd row is
the pivot row and 15 is the pivot number
Linear Programming
X Y S1 S2 Z RHS Ratio
10 22 1 0 0 2640 264
15 18 0 1 0 2640 176
-200 -145 0 0 1 0
Operation: Applying R2 R2* 1/15
X Y S1 S2 Z RHS Ratio
10 22 1 0 0 2640
1 6/5 0 1/15 0 176
-200 -145 0 0 1 0
X
Linear Programming
X Y S1 S2 Z RHS Ratio
10 22 1 0 0 2640
1 6/5 0 1/15 0 176
-200 -145 0 0 1 0
X
Operation: Applying R1 R1 – 10*R2 Applying R3 R3+ 200*R2
X Y S1 S2 Z RHS Ratio
0 10 1 2/3 0 880
1 6/5 0 1/15 0 176
0 65 0 40/3 1 35200
X
Since all the values in the last row are non negative. So, optimal solution is obtained
Therefore;
Maximize Z = 35200 at
Y = 0 and
X = 176
Thank You
Linear Programming
Using Simplex method, Maximize Z = 2*X1 - X2 + 2* X3
Subject to;
2*X1 + X2 ≤ 10
X1 + 2* X2 - 2* X3 ≤ 20
X2 + 2* X3 ≤ 5 Where, X1, X2 and X3 ≥ 0
Solution;
Let, S1, S2 and S3 be the non negative slack variables. The linear programming problem (LPP) can
be written as;
2*X1 + X2 + S1 + 0S2 + 0S3 = 10
X1 + 2* X2 - 2* X3 + 0S1 + S2 + 0S3 = 20
X2 + 2* X3 + 0S1 + 0S2 + S3 = 5
-2*X1 + X2 - 2* X3 + 0S1 + 0S2 + 0S3 + Z = 0
Where; x, y, S1 & S2 ≥ 0
Linear Programming
Solution;
Let, S1, S2 and S3 be the non negative slack variables. The linear programming problem (LPP) can be written
as;
2*X1 + X2 + S1 + 0S2 + 0S3 = 10
X1 + 2* X2 - 2* X3 + 0S1 + S2 + 0S3 = 20
X2 + 2* X3 + 0S1 + 0S2 + S3 = 5
-2*X1 + X2 - 2* X3 + 0S1 + 0S2 + 0S3 + Z = 0
Where; x, y, S1 & S2 ≥ 0
X1 X2 X3 S1 S2 S3 Z RHS Ratio
2 1 0 1 0 0 0 10
1 2 -2 0 1 0 0 20
0 1 2 0 0 1 0 5
-2 1 -2 0 0 0 1 0
Linear Programming
X1 X2 X3 S1 S2 S3 Z RHS Ratio
2 1 0 1 0 0 0 10
1 2 -2 0 1 0 0 20
0 1 2 0 0 1 0 5 5/2
-2 1 -2 0 0 0 1 0
• Here, -2 is the most negative entry in the last row. So, 3rd column (Also can select 1st column) is the pivot
column, row 3 is the pivot row and 2 is the pivot number.
Linear Programming
X1 X2 X3 S1 S2 S3 Z RHS Ratio
2 1 0 1 0 0 0 10
1 2 -2 0 1 0 0 20
0 1 2 0 0 1 0 5 5/2
-2 1 -2 0 0 0 1 0
X1 X2 X3 S1 S2 S3 Z RHS Ratio
2 1 0 1 0 0 0 10
1 2 -2 0 1 0 0 20
0 1/2 1 0 0 1/2 0 5/2
-2 1 -2 0 0 0 1 0
Operation: Applying R3 R3* 1/2
X3
Linear Programming
X1 X2 X3 S1 S2 S3 Z RHS Ratio
2 1 0 1 0 0 0 10
1 2 -2 0 1 0 0 20
0 1/2 1 0 0 1/2 0 5/2
-2 1 -2 0 0 0 1 0
Operation: Applying R3 R3* 1/2
X3
X1 X2 X3 S1 S2 S3 Z RHS Ratio
2 1 0 1 0 0 0 10 5
1 3 0 0 1 1 0 25 25
0 1/2 1 0 0 1/2 0 5/2
-2 2 0 0 0 1 1 5
Operation: Applying R2 R2 + 2*R3 Applying R4 R4+ 2*R3
There is still negative number in last row. Here, -2 is the most negative entry in the last row. So, 1st column is the pivot
column. 5 is less than 25, so 1st row is the pivot row and 2 is the pivot number
X3
Linear Programming
X1 X2 X3 S1 S2 S3 Z RHS Ratio
1 1/2 0 1/2 0 0 0 5 5
1 3 0 0 1 1 0 25 25
0 1/2 1 0 0 1/2 0 5/2
-2 2 0 0 0 1 1 5
Operation: Applying R1 R1*1/2
X3
X1
Operation: Applying R2 R2 - R1 Applying R4 R4+ 2*R3
X1 X2 X3 S1 S2 S3 Z RHS Ratio
1 1/2 0 1/2 0 0 0 5
0 5/2 0 -1/2 1 1 0 20
0 1/2 1 0 0 1/2 0 5/2
0 3 0 1 0 1 1 15
X1
X3
Since all the values in the last row are non negative. So, optimal solution is obtained
Therefore;
Maximize Z = 15 at
X1 = 5
X2 = 0
X3 = 5/2
Z = 2*X1 - X2 + 2* X3
15= 2*5 -0 +2*5/2
15= 15
Linear Programming
Solve the following linear programming problem by simplex method:
Z = 30x + 40y
Subject to;
2x + y ≤ 90
X + 2y ≤ 80
x + y ≤ 50
Where, x and y ≥ 0 ( PUCEF 2021)
Solution;
Let, S1, S2 and S3 be the non negative slack variables. The linear programming problem (LPP) can
be written as;
2x + y + S1 + 0S2 + 0S3 = 90
x + 2y + 0S1 + S2 + 0S3 = 80
X + y + 0S1 + 0S2 + S3 = 50
-30x - 40y+ 0S1 + 0S2 + 0S3 + Z = 0
Where; x, y, S1, S2 & S3 ≥ 0
Thank You
Linear Programming
Solve the following linear programming problem by simplex method:
Z = x + y + 3z
Subject to;
2x + y +3z ≥ 6
X + 2y+4z ≥ 8
3x + y – 2z ≥ 4
Where, x and y ≥ 0 ( Minimization Problem)
Solution;
X y z Constant
2 1 3 6
1 2 4 8
3 1 -2 4
1 1 3 0
Next, we form the
transpose of this
matrix by
interchanging its
rows and columns
X1 X2 X3 C
2 1 3 1
1 2 1 1
3 4 -2 3
6 8 4 0
Linear Programming
Solution………….
X1 X2 X3 C
2 1 3 1
1 2 1 1
3 4 -2 3
6 8 4 0
• Finally, we interpret the new matrix as a maximization problem as
follows.
• To do this, we introduce new variables, x1, x2, and x3. We call this
corresponding maximization problem the dual of the original
minimization problem.
• This gives the following dual problems;
Z = 6X1 + 8X2 + 4X3
Subject to;
2X1 + X2 + 3X3 ≤ 1
X1 + 2X2 + X3 ≤ 1
3X1 + 4X2 - 2X3 ≤ 3
Where, x and y ≥ 0

More Related Content

Similar to Maximize Revenue Using Linear Programming

Economicinterpretation 130723042249-phpapp01
Economicinterpretation 130723042249-phpapp01Economicinterpretation 130723042249-phpapp01
Economicinterpretation 130723042249-phpapp01kongara
 
Linear programming - Model formulation, Graphical Method
Linear programming  - Model formulation, Graphical MethodLinear programming  - Model formulation, Graphical Method
Linear programming - Model formulation, Graphical MethodJoseph Konnully
 
LinearProgramming-Graphicalnethod.ppt
LinearProgramming-Graphicalnethod.pptLinearProgramming-Graphicalnethod.ppt
LinearProgramming-Graphicalnethod.pptMayurkumarpatil1
 
Ap for b.tech. (mechanical) Assignment Problem
Ap for b.tech. (mechanical) Assignment Problem Ap for b.tech. (mechanical) Assignment Problem
Ap for b.tech. (mechanical) Assignment Problem Prashant Khandelwal
 
Linear programming in matlab
Linear programming in matlabLinear programming in matlab
Linear programming in matlabIAEME Publication
 
Linear programming graphical method
Linear programming graphical methodLinear programming graphical method
Linear programming graphical methodDr. Abdulfatah Salem
 
Lecture - Linear Programming.pdf
Lecture - Linear Programming.pdfLecture - Linear Programming.pdf
Lecture - Linear Programming.pdflucky141651
 
Formulation Lpp
Formulation  LppFormulation  Lpp
Formulation LppSachin MK
 
(Slides) Efficient Evaluation Methods of Elementary Functions Suitable for SI...
(Slides) Efficient Evaluation Methods of Elementary Functions Suitable for SI...(Slides) Efficient Evaluation Methods of Elementary Functions Suitable for SI...
(Slides) Efficient Evaluation Methods of Elementary Functions Suitable for SI...Naoki Shibata
 
Prod functions
Prod functionsProd functions
Prod functionsAagam Shah
 
graphical-copy-130308123000-phpapp02.pptx
graphical-copy-130308123000-phpapp02.pptxgraphical-copy-130308123000-phpapp02.pptx
graphical-copy-130308123000-phpapp02.pptxABHIJEETKUMAR992494
 
Mathematics TAKS Exit Level Review
Mathematics TAKS Exit Level ReviewMathematics TAKS Exit Level Review
Mathematics TAKS Exit Level Reviewguest3f17823
 
4. linear programming using excel solver
4. linear programming using excel solver4. linear programming using excel solver
4. linear programming using excel solverHakeem-Ur- Rehman
 

Similar to Maximize Revenue Using Linear Programming (20)

Economicinterpretation 130723042249-phpapp01
Economicinterpretation 130723042249-phpapp01Economicinterpretation 130723042249-phpapp01
Economicinterpretation 130723042249-phpapp01
 
4-The Simplex Method.ppt
4-The Simplex Method.ppt4-The Simplex Method.ppt
4-The Simplex Method.ppt
 
Linear programming - Model formulation, Graphical Method
Linear programming  - Model formulation, Graphical MethodLinear programming  - Model formulation, Graphical Method
Linear programming - Model formulation, Graphical Method
 
linearprogramming.pdf
linearprogramming.pdflinearprogramming.pdf
linearprogramming.pdf
 
LinearProgramming-Graphicalnethod.ppt
LinearProgramming-Graphicalnethod.pptLinearProgramming-Graphicalnethod.ppt
LinearProgramming-Graphicalnethod.ppt
 
Integer programming
Integer programmingInteger programming
Integer programming
 
Ap for b.tech. (mechanical) Assignment Problem
Ap for b.tech. (mechanical) Assignment Problem Ap for b.tech. (mechanical) Assignment Problem
Ap for b.tech. (mechanical) Assignment Problem
 
Linear programming in matlab
Linear programming in matlabLinear programming in matlab
Linear programming in matlab
 
Lp graphical and simplexx892
Lp graphical and simplexx892Lp graphical and simplexx892
Lp graphical and simplexx892
 
Linear programming graphical method
Linear programming graphical methodLinear programming graphical method
Linear programming graphical method
 
OR_L03.pdf
OR_L03.pdfOR_L03.pdf
OR_L03.pdf
 
Lecture - Linear Programming.pdf
Lecture - Linear Programming.pdfLecture - Linear Programming.pdf
Lecture - Linear Programming.pdf
 
Formulation Lpp
Formulation  LppFormulation  Lpp
Formulation Lpp
 
(Slides) Efficient Evaluation Methods of Elementary Functions Suitable for SI...
(Slides) Efficient Evaluation Methods of Elementary Functions Suitable for SI...(Slides) Efficient Evaluation Methods of Elementary Functions Suitable for SI...
(Slides) Efficient Evaluation Methods of Elementary Functions Suitable for SI...
 
Prod functions
Prod functionsProd functions
Prod functions
 
simplex method
simplex methodsimplex method
simplex method
 
graphical-copy-130308123000-phpapp02.pptx
graphical-copy-130308123000-phpapp02.pptxgraphical-copy-130308123000-phpapp02.pptx
graphical-copy-130308123000-phpapp02.pptx
 
Operations research
Operations researchOperations research
Operations research
 
Mathematics TAKS Exit Level Review
Mathematics TAKS Exit Level ReviewMathematics TAKS Exit Level Review
Mathematics TAKS Exit Level Review
 
4. linear programming using excel solver
4. linear programming using excel solver4. linear programming using excel solver
4. linear programming using excel solver
 

More from Prabin Pandit

More from Prabin Pandit (20)

Presentation1.pptx
Presentation1.pptxPresentation1.pptx
Presentation1.pptx
 
Periodic Report.pptx
Periodic Report.pptxPeriodic Report.pptx
Periodic Report.pptx
 
Discussion.pptx
Discussion.pptxDiscussion.pptx
Discussion.pptx
 
Presentation1.pptx
Presentation1.pptxPresentation1.pptx
Presentation1.pptx
 
Scientific name.pptx
Scientific name.pptxScientific name.pptx
Scientific name.pptx
 
Challenges.pptx
Challenges.pptxChallenges.pptx
Challenges.pptx
 
Unit-10.pptx
Unit-10.pptxUnit-10.pptx
Unit-10.pptx
 
Unit-8.pptx
Unit-8.pptxUnit-8.pptx
Unit-8.pptx
 
upload.pptx
upload.pptxupload.pptx
upload.pptx
 
Today presentation birat veneer.pptx
Today presentation birat veneer.pptxToday presentation birat veneer.pptx
Today presentation birat veneer.pptx
 
Lecture3-formation2022.pptx
Lecture3-formation2022.pptxLecture3-formation2022.pptx
Lecture3-formation2022.pptx
 
relation with 11,2022.pptx
 relation with 11,2022.pptx relation with 11,2022.pptx
relation with 11,2022.pptx
 
Lecture6-Plan.pptx
Lecture6-Plan.pptxLecture6-Plan.pptx
Lecture6-Plan.pptx
 
Itta ToR.pptx
Itta ToR.pptxItta ToR.pptx
Itta ToR.pptx
 
unit-6.pptx
unit-6.pptxunit-6.pptx
unit-6.pptx
 
5 to on.pptx
5 to on.pptx5 to on.pptx
5 to on.pptx
 
Unit-11.pptx
Unit-11.pptxUnit-11.pptx
Unit-11.pptx
 
Wood properties.pptx
Wood properties.pptxWood properties.pptx
Wood properties.pptx
 
Chapter 1.pptx
Chapter 1.pptxChapter 1.pptx
Chapter 1.pptx
 
Unit 5 Marketing of Forest Products.pptx
Unit 5 Marketing of Forest Products.pptxUnit 5 Marketing of Forest Products.pptx
Unit 5 Marketing of Forest Products.pptx
 

Recently uploaded

KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 

Recently uploaded (20)

KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 

Maximize Revenue Using Linear Programming

  • 1. Forest Business Management NRM 357 Credit hour (2+0) B.Sc Forestry (Fifth Semester) Prabin Pandit Lecturer Purbanchal University College of Environment and Forestry (PUCEF) foresterpandit@gmail.com
  • 2. Linear Programming • Linear programming is a widely used mathematical modelling technique to determine the optimum allocation of scarce resources among competing demands. • Resources typically include raw materials, manpower, machinery, time, money and space. • The technique is very powerful and found especially useful because of its application to many different types of real business problems in areas like finance, production, sales and distribution, personnel, marketing and many more areas of management. • As its name implies, the linear programming model consists of linear objectives and linear constraints, which means that the variables in a model have a proportionate relationship. For example, an increase in manpower resource will result in an increase in work output.
  • 3. Maximization and Minimization • The maximization or minimization of some quantity is the objective in all linear programming problems. • All LP problems have constraints that limit the degree to which the objective can be pursued. • A feasible solution satisfies all the problem's constraints. • An optimal solution is a feasible solution that results in the largest possible objective function value when maximizing (or smallest when minimizing).
  • 4. Linear Programming (Example) 1. A company makes two products; Chair and Table both require processing on Band saw and Sander machine. Table takes 10 and 15 minutes on Band saw and Sander machine per unit respectively. Where as Chair takes 22 and 18 minutes on Band saw and Sander machine per unit respectively. Both the machines are available for 2640 minutes per week. The products; Chair and Table are sold for Rs 280 and Rs175 respectively per unit. Formulate a linear programming to maximize revenue?
  • 5. Linear Programming Solution: Tabulated form of the given problem is; Products Processing Time Required (minutes) Selling price (Rs) Band Saw Sander Chair 10 15 200 Table 22 18 175 Availability of Machines 2640 min/week 2640 min/week Z Decision variables; • Let x be the number of chairs to be produced and y be the number of tables to be produced. Objective Functions; Z = 200 x + 175 y Constraints; 10x + 22y ≤ 2640 15x + 18y ≤ 2640 Now we can write the problem as follow; Maximize: Z = 200 x + 175 y Subject to: 10x + 22y ≤ 2640 15x + 18y ≤ 2640 Where, x,y≥ 0
  • 6. Linear Programming 2. A Factory can make Particle board and Plywood. They use two glues; phenol- formaldehyde and urea-formaldehyde. To make one unit of Particle board, they need 3 liter of phenol-formaldehyde and 4 liter of urea-formaldehyde. Similarly, To make one unit of Plywood, they need 2 liter of phenol-formaldehyde and 5 liter of urea- formaldehyde. They have 30 liter of phenol-formaldehyde and 25 liter of Urea- formaldehyde. Particle board and plywood are sold at Rs 800 and 900 per unit respectively. find the best product need to show that total revenue will be maximum
  • 7. Linear Programming Products Resources (Liter) Selling price per unit (Rs) phenol-formaldehyde urea-formaldehyde Particle board 3 4 800 Plywood 2 5 900 Availability of resources 30 25
  • 8. Linear Programming 3. A furniture company produces tables and chairs. Each table requires 4 hours of Carpentry and two hours of Painting work while each chair requires 3 hours of carpentry work and 1 hour of painting work. During the current production period, 240 hours of carpentry time are available and 100 hours of painting time are available. Each table sold at a profit of rupees 70 while each chair sold yields a profit of Rs. 50. formulate a linear programming model for this problem.
  • 9. Linear Programming Products Tasks (hour) Selling price per unit (Rs) Carpentry Painting Tables 4 2 70 Chairs 3 1 50 Availability of resources 240 100
  • 10. Linear Programming 4. Consider a chocolate manufacturing company which produces two types of chocolate Kit Kat and dairy milk. Both the chocolates requires milk and Choco only. To manufacture each unit of Kit Kat and Dairy milk, the following quantities are required; • Each unit of Kitkat requires 1 unit of milk and 3 unit of Choco • Each unit of Diary milk requires 1 unit of milk and 2 unit of Choco. The Company Kitchen has a total of 5 units of milk and 12 units of choco. On each sale the Company makes a profit of Rs 6 per unit Kitkat sold and a profit of Rs. 5 per unit Diary milk sold. Now, the company wishes to maximizing the profit. How many limits of Kitkat and Diary Milk Should it Produces respectively?
  • 11. Linear Programming 5. Using Simplex method, Maximize Z = 5x + 7y subject to; 2x + 3y ≤ 13 3x + 2y ≤ 12 Where, x,y ≥ 0 Solution; Let, S1 and S2 be the non negative slack variables. The linear programming problem (LPP) can be written as; 2x + 3y + S1 + 0*S2 = 13 3x + 2y + 0*S1 + S2 = 12 - 5x - 7y + Z + 0*S1 + 0* S2 = 0 Where; x, y, S1 & S2 ≥ 0
  • 12. Linear Programming 2x + 3y + S1 + 0*S2 = 13 3x + 2y + 0*S1 + S2 = 12 - 5x - 7y + 0*S1 + 0* S2 + Z = 0 Where; x, y, S1 & S2 ≥ 0 Simplex Tableau X Y S1 S2 Z RHS Ratio 2 3 1 0 0 13 3 2 0 1 0 12 -5 -7 0 0 1 0
  • 13. Linear Programming X Y S1 S2 Z RHS Ratio 2 3 1 0 0 13 3 2 0 1 0 12 -5 -7 0 0 1 0 Here, -7 is the most negative entry in the last row. So, 2nd column is the pivot column. 13/3 = 4.3 12/2 = 6 Since, 13/3 = 4.3, 12/2 =6 and 4.3 is smaller than 6 so, 1st row is the pivot row. Intersection of pivot row and pivot column is 3. So, 3 is the pivot number.
  • 14. Linear Programming X Y S1 S2 Z RHS Ratio 2 3 1 0 0 13 4.3 3 2 0 1 0 12 6 -5 -7 0 0 1 0 X Y S1 S2 Z RHS Ratio 2/3 1 1/3 0 0 13/3 3 2 0 1 0 12 -5 -7 0 0 1 0 Operation: Applying R1 R1* 1/3 First off all we have to make pivot element 1 Y
  • 15. Linear Programming X Y S1 S2 Z RHS Ratio 2/3 1 1/3 0 0 13/3 3 2 0 1 0 12 -5 -7 0 0 1 0 We have to make remaining value in pivot column (2 & -7) to 0 X Y S1 S2 Z RHS Ratio 2/3 1 1/3 0 0 13/3 3-4/3 = 5/3 0 -2/3 1 0 12-26/3 = 10/3 -5+14/3 = -1/3 0 7/3 0 1 13*7/3 = 91/3 Operation: Applying R2 R2 - 2*R1 Applying R3 R3+ 7*R1 Y Y
  • 16. Linear Programming This is not the optimal solution, there is Still Negative value in Last Row. Again we have to remove the negative value in last row. X Y S1 S2 Z RHS Ratio 2/3 1 1/3 0 0 13/3 5/3 0 -2/3 1 0 10/3 -1/3 0 7/3 0 1 91/3 X Y S1 S2 Z RHS Ratio 2/3 1 1/3 0 0 13/3 13/3*3/2 = 13/2 5/3 0 -2/3 1 0 10/3 2 -1/3 0 7/3 0 1 91/3 Here, -1/3 is the most negative entry in the last row. So, 1st column is the pivot column. Since, 2 is smaller than 13/2 so, 2nd row is the pivot row Intersection of pivot row and pivot column is 5/3. So, 5/3 is the pivot number. Y Y
  • 17. Linear Programming X Y S1 S2 Z RHS Ratio 2/3 1 1/3 0 0 13/3 13/3*3/2 = 13/2 5/3 0 -2/3 1 0 10/3 2 -1/3 0 7/3 0 1 91/3 Operation: Applying R2 R2* 3/5 First off all we have to make pivot element 1 X Y S1 S2 Z RHS Ratio 2/3 1 1/3 0 0 13/3 1 0 -2/5 3/5 0 2 -1/3 0 7/3 0 1 91/3 Y X Y
  • 18. Linear Programming X Y S1 S2 Z RHS Ratio 2/3 1 1/3 0 0 13/3 1 0 -2/5 3/5 0 2 -1/3 0 7/3 0 1 91/3 We have to make remaining value in pivot column (2/3 & -1/3) to 0 Operation: Applying R1 R1 – 2/3*R2 Applying R3 R3+ 1/3*R2 X Y S1 S2 Z RHS Ratio 0 1 (1/3)-(2/3*- 2/5) = 3/5 -2/5 0 3 1 0 -2/5 3/5 0 2 0 0 11/5 1/5 1 31 X Y Y X
  • 19. Linear Programming Since all the values in the last row are non negative. So, optimal solution is obtained Therefore; Maximize Z = 31 at Y = 3 and X = 2 Basic variables X Y S1 S2 Z RHS y 0 1 (1/3)- (2/3*-2/5) = 3/5 -2/5 0 3 x 1 0 -2/5 3/5 0 2 0 0 11/5 1/5 1 31
  • 20. Linear Programming (Example) 1. A company makes two products; Chair and Table both require processing on Band saw and Sander machine. Table takes 10 and 15 minutes on Band saw and Sander machine per unit respectively. Where as Chair takes 22 and 18 minutes on Band saw and Sander machine per unit respectively. Both the machines are available for 2640 minutes per week. The products; Chair and Table are sold for Rs 280 and Rs175 respectively per unit. Formulate a linear programming to maximize revenue?
  • 21. Linear Programming Solution: Tabulated form of the given problem is; Products Processing Time Required (minutes) Selling price (Rs) Band Saw Sander Chair 10 15 200 Table 22 18 175 Availability of Machines 2640 min/week 2640 min/week Z Decision variables; • Let x be the number of chairs to be produced and y be the number of tables to be produced. Objective Functions; Z = 200 x + 175 y Constraints; 10x + 22y ≤ 2640 15x + 18y ≤ 2640 Now we can write the problem as follow; Maximize: Z = 200 x + 175 y Subject to: 10x + 22y ≤ 2640 15x + 18y ≤ 2640 Where, x,y≥ 0
  • 22. Linear Programming Solution; Let, S1 and S2 be the non negative slack variables. The linear programming problem (LPP) can be written as; 10x + 22y + S1 + 0*S2 = 2640 15x + 18y + 0*S1 + S2 = 2640 - 200x - 145y + 0*S1 + 0* S2+ Z = 0 Where; x, y, S1 & S2 ≥ 0 X Y S1 S2 Z RHS Ratio 10 22 1 0 0 2640 264 15 18 0 1 0 2640 176 -200 -145 0 0 1 0 Here, -200 is the most negative entry in the last row. So, 3rd column is the pivot column. 176 is less than 264, so 2nd row is the pivot row and 15 is the pivot number
  • 23. Linear Programming X Y S1 S2 Z RHS Ratio 10 22 1 0 0 2640 264 15 18 0 1 0 2640 176 -200 -145 0 0 1 0 Operation: Applying R2 R2* 1/15 X Y S1 S2 Z RHS Ratio 10 22 1 0 0 2640 1 6/5 0 1/15 0 176 -200 -145 0 0 1 0 X
  • 24. Linear Programming X Y S1 S2 Z RHS Ratio 10 22 1 0 0 2640 1 6/5 0 1/15 0 176 -200 -145 0 0 1 0 X Operation: Applying R1 R1 – 10*R2 Applying R3 R3+ 200*R2 X Y S1 S2 Z RHS Ratio 0 10 1 2/3 0 880 1 6/5 0 1/15 0 176 0 65 0 40/3 1 35200 X
  • 25. Since all the values in the last row are non negative. So, optimal solution is obtained Therefore; Maximize Z = 35200 at Y = 0 and X = 176
  • 27. Linear Programming Using Simplex method, Maximize Z = 2*X1 - X2 + 2* X3 Subject to; 2*X1 + X2 ≤ 10 X1 + 2* X2 - 2* X3 ≤ 20 X2 + 2* X3 ≤ 5 Where, X1, X2 and X3 ≥ 0 Solution; Let, S1, S2 and S3 be the non negative slack variables. The linear programming problem (LPP) can be written as; 2*X1 + X2 + S1 + 0S2 + 0S3 = 10 X1 + 2* X2 - 2* X3 + 0S1 + S2 + 0S3 = 20 X2 + 2* X3 + 0S1 + 0S2 + S3 = 5 -2*X1 + X2 - 2* X3 + 0S1 + 0S2 + 0S3 + Z = 0 Where; x, y, S1 & S2 ≥ 0
  • 28. Linear Programming Solution; Let, S1, S2 and S3 be the non negative slack variables. The linear programming problem (LPP) can be written as; 2*X1 + X2 + S1 + 0S2 + 0S3 = 10 X1 + 2* X2 - 2* X3 + 0S1 + S2 + 0S3 = 20 X2 + 2* X3 + 0S1 + 0S2 + S3 = 5 -2*X1 + X2 - 2* X3 + 0S1 + 0S2 + 0S3 + Z = 0 Where; x, y, S1 & S2 ≥ 0 X1 X2 X3 S1 S2 S3 Z RHS Ratio 2 1 0 1 0 0 0 10 1 2 -2 0 1 0 0 20 0 1 2 0 0 1 0 5 -2 1 -2 0 0 0 1 0
  • 29. Linear Programming X1 X2 X3 S1 S2 S3 Z RHS Ratio 2 1 0 1 0 0 0 10 1 2 -2 0 1 0 0 20 0 1 2 0 0 1 0 5 5/2 -2 1 -2 0 0 0 1 0 • Here, -2 is the most negative entry in the last row. So, 3rd column (Also can select 1st column) is the pivot column, row 3 is the pivot row and 2 is the pivot number.
  • 30. Linear Programming X1 X2 X3 S1 S2 S3 Z RHS Ratio 2 1 0 1 0 0 0 10 1 2 -2 0 1 0 0 20 0 1 2 0 0 1 0 5 5/2 -2 1 -2 0 0 0 1 0 X1 X2 X3 S1 S2 S3 Z RHS Ratio 2 1 0 1 0 0 0 10 1 2 -2 0 1 0 0 20 0 1/2 1 0 0 1/2 0 5/2 -2 1 -2 0 0 0 1 0 Operation: Applying R3 R3* 1/2 X3
  • 31. Linear Programming X1 X2 X3 S1 S2 S3 Z RHS Ratio 2 1 0 1 0 0 0 10 1 2 -2 0 1 0 0 20 0 1/2 1 0 0 1/2 0 5/2 -2 1 -2 0 0 0 1 0 Operation: Applying R3 R3* 1/2 X3 X1 X2 X3 S1 S2 S3 Z RHS Ratio 2 1 0 1 0 0 0 10 5 1 3 0 0 1 1 0 25 25 0 1/2 1 0 0 1/2 0 5/2 -2 2 0 0 0 1 1 5 Operation: Applying R2 R2 + 2*R3 Applying R4 R4+ 2*R3 There is still negative number in last row. Here, -2 is the most negative entry in the last row. So, 1st column is the pivot column. 5 is less than 25, so 1st row is the pivot row and 2 is the pivot number X3
  • 32. Linear Programming X1 X2 X3 S1 S2 S3 Z RHS Ratio 1 1/2 0 1/2 0 0 0 5 5 1 3 0 0 1 1 0 25 25 0 1/2 1 0 0 1/2 0 5/2 -2 2 0 0 0 1 1 5 Operation: Applying R1 R1*1/2 X3 X1 Operation: Applying R2 R2 - R1 Applying R4 R4+ 2*R3 X1 X2 X3 S1 S2 S3 Z RHS Ratio 1 1/2 0 1/2 0 0 0 5 0 5/2 0 -1/2 1 1 0 20 0 1/2 1 0 0 1/2 0 5/2 0 3 0 1 0 1 1 15 X1 X3
  • 33. Since all the values in the last row are non negative. So, optimal solution is obtained Therefore; Maximize Z = 15 at X1 = 5 X2 = 0 X3 = 5/2 Z = 2*X1 - X2 + 2* X3 15= 2*5 -0 +2*5/2 15= 15
  • 34. Linear Programming Solve the following linear programming problem by simplex method: Z = 30x + 40y Subject to; 2x + y ≤ 90 X + 2y ≤ 80 x + y ≤ 50 Where, x and y ≥ 0 ( PUCEF 2021) Solution; Let, S1, S2 and S3 be the non negative slack variables. The linear programming problem (LPP) can be written as; 2x + y + S1 + 0S2 + 0S3 = 90 x + 2y + 0S1 + S2 + 0S3 = 80 X + y + 0S1 + 0S2 + S3 = 50 -30x - 40y+ 0S1 + 0S2 + 0S3 + Z = 0 Where; x, y, S1, S2 & S3 ≥ 0
  • 36. Linear Programming Solve the following linear programming problem by simplex method: Z = x + y + 3z Subject to; 2x + y +3z ≥ 6 X + 2y+4z ≥ 8 3x + y – 2z ≥ 4 Where, x and y ≥ 0 ( Minimization Problem) Solution; X y z Constant 2 1 3 6 1 2 4 8 3 1 -2 4 1 1 3 0 Next, we form the transpose of this matrix by interchanging its rows and columns X1 X2 X3 C 2 1 3 1 1 2 1 1 3 4 -2 3 6 8 4 0
  • 37. Linear Programming Solution…………. X1 X2 X3 C 2 1 3 1 1 2 1 1 3 4 -2 3 6 8 4 0 • Finally, we interpret the new matrix as a maximization problem as follows. • To do this, we introduce new variables, x1, x2, and x3. We call this corresponding maximization problem the dual of the original minimization problem. • This gives the following dual problems; Z = 6X1 + 8X2 + 4X3 Subject to; 2X1 + X2 + 3X3 ≤ 1 X1 + 2X2 + X3 ≤ 1 3X1 + 4X2 - 2X3 ≤ 3 Where, x and y ≥ 0