SlideShare uma empresa Scribd logo
1 de 27
Linear Programming
Dr Ravindra Singh
Contents
• Introduction
• History
• Applications
• Linear programming model
• Example of Linear Programming Problems
• Graphical Solution to Linear Programming
Problem
• Sensitivity analysis
2
Introduction
• Linear Programming is a mathematical modeling
technique used to determine a level of operational
activity in order to achieve an objective.
• Mathematical programming is used to find the best or
optimal solution to a problem that requires a decision or
set of decisions about how best to use a set of limited
resources to achieve a state goal of objectives.
3
• Steps involved in mathematical programming
– Conversion of stated problem into a mathematical model that
abstracts all the essential elements of the problem.
– Exploration of different solutions of the problem.
– Find out the most suitable or optimum solution.
• Linear programming requires that all the mathematical
functions in the model be linear functions.
4
LP Model Formulation
• Decision variables
– mathematical symbols representing levels of activity of an operation
• Objective function
– a linear relationship reflecting the objective of an operation
– most frequent objective of business firms is to maximize profit
– most frequent objective of individual operational units (such as a
production or packaging department) is to minimize cost
• Constraint
– a linear relationship representing a restriction on decision making
5
History of linear programming
• It started in 1947 when G. B. Dantzig design the
“simplex method” for solving linear programming
formulations of U.S. Air Force planning problems.
• It soon became clear that a surprisingly wide range of
apparently unrelated problems in production
management could be stated in linear programming
terms and solved by the simplex method.
6
Applications
The Importance of Linear Programming
• Hospital management
• Diet management
• Manufacturing
• Finance (investment)
• Advertising
• Agriculture
7
8
The Galaxy Industries Production Problem
• Galaxy manufactures two drug combination
of same drug:
– X1
– X2
• Resources are limited to
– 1000 pounds raw material.
– 40 hours of production time per week.
9
• Marketing requirement
– Total production cannot exceed 700 dozens.
– Number of dozens of X1cannot exceed number
of dozens of X2 by more than 350.
• Technological input
– X1 requires 2 pounds of raw material and
3 minutes of labor per dozen.
– X2 requires 1 pound of raw material and
4 minutes of labor per dozen.
The Galaxy Industries Production Problem
10
• The current production plan calls for:
– Producing as much as possible of the more profitable
product, X1 ($8 profit per dozen).
– Use resources left over to produce X2 ($5 profit
per dozen), while remaining within the marketing
guidelines.
• The current production plan consists of:
X1 = 450 dozen
X2 = 100 dozen
Profit = $4100 per week
The Galaxy Industries Production Problem
8(450) + 5(100)
11
Management is seeking a
production schedule that
will increase the company’s
profit.
12
• Decisions variables:
– X1 = Weekly production level of X1 (in dozens)
– X2 = Weekly production level of X2 (in dozens).
• Objective Function:
– Weekly profit, to be maximized
The Galaxy Linear Programming Model
13
Max 8X1 + 5X2 (Weekly profit)
subject to
2X1 + 1X2 1000 (Raw Material)
3X1 + 4X2 2400 (Production Time)
X1 + X2 700 (Total production)
X1 - X2 350 (Mix)
Xj> = 0, j = 1,2 (Non negativity)
The Galaxy Linear Programming Model
14
The Graphical Analysis of Linear
Programming
The set of all points that satisfy all
the constraints of the model is called
a
FEASIBLE REGION
15
Using a graphical presentation
we can represent all the constraints,
the objective function, and the three
types of feasible points.
16
The non-negativity constraints
X2
X1
Graphical Analysis – the Feasible Region
17
1000
500
Feasible
X2
Infeasible
Production
Time
3X1+4X2 2400
Total production constraint:
X1+X2 700 (redundant)
500
700
The Raw material constraint
2X1+X2 1000
X1
700
Graphical Analysis – the Feasible Region
18
1000
500
Feasible
X2
Infeasible
Production
Time
3X1+4X2 2400
Total production constraint:
X1+X2 700 (redundant)
500
700
Production mix
constraint:
X1-X2 350
The Raw Material constraint
2X1+X2 1000
X1
700
Graphical Analysis – the Feasible Region
• There are three types of feasible points
Interior points.Boundary points.Extreme points.
19
The search for an optimal solution
Start at some arbitrary profit, say profit = $2,000...
Then increase the profit, if possible...
...and continue until it becomes infeasible
Profit
=$4360500
700
1000
500
X2
X1
20
Summary of the optimal solution
X1 = 320 dozen
X2 = 360 dozen
Profit = $4360
– This solution utilizes all the plastic and all the production
hours.
– Total production is only 680 (not 700).
– X1 production exceeds X2 production by only 40 dozens.
21
– If a linear programming problem has an
optimal solution, an extreme point is optimal.
Extreme points and optimal solutions
22
• For multiple optimal solutions to exist, the
objective function must be parallel to one of the
constraints
Multiple optimal solutions
•Any weighted average of
optimal solutions is also an
optimal solution.
23
Sensitivity Analysis of the Optimal Solution
• Is the optimal solution sensitive to changes in
input parameters?
• Possible reasons for asking this question:
– Parameter values used were only best estimates.
– Dynamic environment may cause changes.
– “What-if” analysis may provide economical and
operational information.
24
• Range of Optimality
– The optimal solution will remain unchanged as long as
• An objective function coefficient lies within its range of
optimality
• There are no changes in any other input parameters.
– The value of the objective function will change if the
coefficient multiplies a variable whose value is
nonzero.
Sensitivity Analysis of
Objective Function Coefficients.
25
REFERENCES
• www.math.ucla.edu/~tom/LP.pdf
• www.sce.carleton.ca/faculty/chinneck/po/Chapter2.
• www.markschulze.net/LinearProgramming.pdf
• web.ntpu.edu.tw/~juang/ms/Ch02.
• cmp.felk.cvut.cz/~hlavac/Public/.../Linear%20Progra
mming-1.ppt
• www.slideshare.net/nagendraamatya/linear-
programming
26
27

Mais conteúdo relacionado

Mais procurados

Simplex method concept,
Simplex method concept,Simplex method concept,
Simplex method concept,
Dronak Sahu
 
Simplex method - Maximisation Case
Simplex method - Maximisation CaseSimplex method - Maximisation Case
Simplex method - Maximisation Case
Joseph Konnully
 

Mais procurados (20)

Simplex method concept,
Simplex method concept,Simplex method concept,
Simplex method concept,
 
Integer Linear Programming
Integer Linear ProgrammingInteger Linear Programming
Integer Linear Programming
 
LINEAR PROGRAMMING
LINEAR PROGRAMMINGLINEAR PROGRAMMING
LINEAR PROGRAMMING
 
Linear Programming (graphical method)
Linear Programming (graphical method)Linear Programming (graphical method)
Linear Programming (graphical method)
 
Linear programming ppt
Linear programming pptLinear programming ppt
Linear programming ppt
 
Minimization model by simplex method
Minimization model by simplex methodMinimization model by simplex method
Minimization model by simplex method
 
Linear programming
Linear programmingLinear programming
Linear programming
 
Mba i ot unit-1.1_linear programming
Mba i ot unit-1.1_linear programmingMba i ot unit-1.1_linear programming
Mba i ot unit-1.1_linear programming
 
NON LINEAR PROGRAMMING
NON LINEAR PROGRAMMING NON LINEAR PROGRAMMING
NON LINEAR PROGRAMMING
 
Linear programing
Linear programingLinear programing
Linear programing
 
Linear Programming
Linear ProgrammingLinear Programming
Linear Programming
 
Decision theory
Decision theoryDecision theory
Decision theory
 
Simplex method
Simplex methodSimplex method
Simplex method
 
Simplex method
Simplex methodSimplex method
Simplex method
 
Linear programming
Linear programmingLinear programming
Linear programming
 
Chapter 4 Simplex Method ppt
Chapter 4  Simplex Method pptChapter 4  Simplex Method ppt
Chapter 4 Simplex Method ppt
 
Simplex algorithm
Simplex algorithmSimplex algorithm
Simplex algorithm
 
Introduction to Operations Research/ Management Science
Introduction to Operations Research/ Management Science Introduction to Operations Research/ Management Science
Introduction to Operations Research/ Management Science
 
Linear programming
Linear programmingLinear programming
Linear programming
 
Simplex method - Maximisation Case
Simplex method - Maximisation CaseSimplex method - Maximisation Case
Simplex method - Maximisation Case
 

Destaque

Destaque (8)

3. linear programming senstivity analysis
3. linear programming senstivity analysis3. linear programming senstivity analysis
3. linear programming senstivity analysis
 
Special Cases in Simplex Method
Special Cases in Simplex MethodSpecial Cases in Simplex Method
Special Cases in Simplex Method
 
"Building Anomaly Detection For Large Scale Analytics", Yonatan Ben Shimon, A...
"Building Anomaly Detection For Large Scale Analytics", Yonatan Ben Shimon, A..."Building Anomaly Detection For Large Scale Analytics", Yonatan Ben Shimon, A...
"Building Anomaly Detection For Large Scale Analytics", Yonatan Ben Shimon, A...
 
Means of transportation
Means of transportationMeans of transportation
Means of transportation
 
Transportation ppt
Transportation pptTransportation ppt
Transportation ppt
 
Sensitivity Analysis
Sensitivity AnalysisSensitivity Analysis
Sensitivity Analysis
 
Sensitivity Analysis
Sensitivity AnalysisSensitivity Analysis
Sensitivity Analysis
 
Harry Surden - Artificial Intelligence and Law Overview
Harry Surden - Artificial Intelligence and Law OverviewHarry Surden - Artificial Intelligence and Law Overview
Harry Surden - Artificial Intelligence and Law Overview
 

Semelhante a Linear programming

Semelhante a Linear programming (20)

Ch02.ppt
Ch02.pptCh02.ppt
Ch02.ppt
 
LPILP Models-1.ppt
LPILP Models-1.pptLPILP Models-1.ppt
LPILP Models-1.ppt
 
LPP FORMULATION 21 -22.pptx
LPP FORMULATION  21 -22.pptxLPP FORMULATION  21 -22.pptx
LPP FORMULATION 21 -22.pptx
 
Mba i qt unit-1.3_linear programming in om
Mba i qt unit-1.3_linear programming in omMba i qt unit-1.3_linear programming in om
Mba i qt unit-1.3_linear programming in om
 
OR_Hamdy_taha.ppt
OR_Hamdy_taha.pptOR_Hamdy_taha.ppt
OR_Hamdy_taha.ppt
 
OR_Hamdy_taha.ppt
OR_Hamdy_taha.pptOR_Hamdy_taha.ppt
OR_Hamdy_taha.ppt
 
Linear programming
Linear programmingLinear programming
Linear programming
 
Mb 106 quantitative techniques 2
Mb 106 quantitative techniques 2Mb 106 quantitative techniques 2
Mb 106 quantitative techniques 2
 
linear programming
linear programminglinear programming
linear programming
 
ManScie_Chapter1_Introduction (4).pdf
ManScie_Chapter1_Introduction (4).pdfManScie_Chapter1_Introduction (4).pdf
ManScie_Chapter1_Introduction (4).pdf
 
Bagian 3 PTI
Bagian 3 PTIBagian 3 PTI
Bagian 3 PTI
 
OR-I_Lecture_Note_01.pptx
OR-I_Lecture_Note_01.pptxOR-I_Lecture_Note_01.pptx
OR-I_Lecture_Note_01.pptx
 
Optimization using lp.pptx
Optimization using lp.pptxOptimization using lp.pptx
Optimization using lp.pptx
 
Lecture27 linear programming
Lecture27 linear programmingLecture27 linear programming
Lecture27 linear programming
 
6 data envelopment_analysis
6 data envelopment_analysis6 data envelopment_analysis
6 data envelopment_analysis
 
Intro week3 excel vba_114e
Intro week3 excel vba_114eIntro week3 excel vba_114e
Intro week3 excel vba_114e
 
1. intro. to or & lp
1. intro. to or & lp1. intro. to or & lp
1. intro. to or & lp
 
V -linear_programming
V  -linear_programmingV  -linear_programming
V -linear_programming
 
Lect or1 (2)
Lect or1 (2)Lect or1 (2)
Lect or1 (2)
 
Introduction lp
Introduction lpIntroduction lp
Introduction lp
 

Último

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 

Linear programming

  • 2. Contents • Introduction • History • Applications • Linear programming model • Example of Linear Programming Problems • Graphical Solution to Linear Programming Problem • Sensitivity analysis 2
  • 3. Introduction • Linear Programming is a mathematical modeling technique used to determine a level of operational activity in order to achieve an objective. • Mathematical programming is used to find the best or optimal solution to a problem that requires a decision or set of decisions about how best to use a set of limited resources to achieve a state goal of objectives. 3
  • 4. • Steps involved in mathematical programming – Conversion of stated problem into a mathematical model that abstracts all the essential elements of the problem. – Exploration of different solutions of the problem. – Find out the most suitable or optimum solution. • Linear programming requires that all the mathematical functions in the model be linear functions. 4
  • 5. LP Model Formulation • Decision variables – mathematical symbols representing levels of activity of an operation • Objective function – a linear relationship reflecting the objective of an operation – most frequent objective of business firms is to maximize profit – most frequent objective of individual operational units (such as a production or packaging department) is to minimize cost • Constraint – a linear relationship representing a restriction on decision making 5
  • 6. History of linear programming • It started in 1947 when G. B. Dantzig design the “simplex method” for solving linear programming formulations of U.S. Air Force planning problems. • It soon became clear that a surprisingly wide range of apparently unrelated problems in production management could be stated in linear programming terms and solved by the simplex method. 6
  • 7. Applications The Importance of Linear Programming • Hospital management • Diet management • Manufacturing • Finance (investment) • Advertising • Agriculture 7
  • 8. 8 The Galaxy Industries Production Problem • Galaxy manufactures two drug combination of same drug: – X1 – X2 • Resources are limited to – 1000 pounds raw material. – 40 hours of production time per week.
  • 9. 9 • Marketing requirement – Total production cannot exceed 700 dozens. – Number of dozens of X1cannot exceed number of dozens of X2 by more than 350. • Technological input – X1 requires 2 pounds of raw material and 3 minutes of labor per dozen. – X2 requires 1 pound of raw material and 4 minutes of labor per dozen. The Galaxy Industries Production Problem
  • 10. 10 • The current production plan calls for: – Producing as much as possible of the more profitable product, X1 ($8 profit per dozen). – Use resources left over to produce X2 ($5 profit per dozen), while remaining within the marketing guidelines. • The current production plan consists of: X1 = 450 dozen X2 = 100 dozen Profit = $4100 per week The Galaxy Industries Production Problem 8(450) + 5(100)
  • 11. 11 Management is seeking a production schedule that will increase the company’s profit.
  • 12. 12 • Decisions variables: – X1 = Weekly production level of X1 (in dozens) – X2 = Weekly production level of X2 (in dozens). • Objective Function: – Weekly profit, to be maximized The Galaxy Linear Programming Model
  • 13. 13 Max 8X1 + 5X2 (Weekly profit) subject to 2X1 + 1X2 1000 (Raw Material) 3X1 + 4X2 2400 (Production Time) X1 + X2 700 (Total production) X1 - X2 350 (Mix) Xj> = 0, j = 1,2 (Non negativity) The Galaxy Linear Programming Model
  • 14. 14 The Graphical Analysis of Linear Programming The set of all points that satisfy all the constraints of the model is called a FEASIBLE REGION
  • 15. 15 Using a graphical presentation we can represent all the constraints, the objective function, and the three types of feasible points.
  • 16. 16 The non-negativity constraints X2 X1 Graphical Analysis – the Feasible Region
  • 17. 17 1000 500 Feasible X2 Infeasible Production Time 3X1+4X2 2400 Total production constraint: X1+X2 700 (redundant) 500 700 The Raw material constraint 2X1+X2 1000 X1 700 Graphical Analysis – the Feasible Region
  • 18. 18 1000 500 Feasible X2 Infeasible Production Time 3X1+4X2 2400 Total production constraint: X1+X2 700 (redundant) 500 700 Production mix constraint: X1-X2 350 The Raw Material constraint 2X1+X2 1000 X1 700 Graphical Analysis – the Feasible Region • There are three types of feasible points Interior points.Boundary points.Extreme points.
  • 19. 19 The search for an optimal solution Start at some arbitrary profit, say profit = $2,000... Then increase the profit, if possible... ...and continue until it becomes infeasible Profit =$4360500 700 1000 500 X2 X1
  • 20. 20 Summary of the optimal solution X1 = 320 dozen X2 = 360 dozen Profit = $4360 – This solution utilizes all the plastic and all the production hours. – Total production is only 680 (not 700). – X1 production exceeds X2 production by only 40 dozens.
  • 21. 21 – If a linear programming problem has an optimal solution, an extreme point is optimal. Extreme points and optimal solutions
  • 22. 22 • For multiple optimal solutions to exist, the objective function must be parallel to one of the constraints Multiple optimal solutions •Any weighted average of optimal solutions is also an optimal solution.
  • 23. 23 Sensitivity Analysis of the Optimal Solution • Is the optimal solution sensitive to changes in input parameters? • Possible reasons for asking this question: – Parameter values used were only best estimates. – Dynamic environment may cause changes. – “What-if” analysis may provide economical and operational information.
  • 24. 24 • Range of Optimality – The optimal solution will remain unchanged as long as • An objective function coefficient lies within its range of optimality • There are no changes in any other input parameters. – The value of the objective function will change if the coefficient multiplies a variable whose value is nonzero. Sensitivity Analysis of Objective Function Coefficients.
  • 25. 25
  • 26. REFERENCES • www.math.ucla.edu/~tom/LP.pdf • www.sce.carleton.ca/faculty/chinneck/po/Chapter2. • www.markschulze.net/LinearProgramming.pdf • web.ntpu.edu.tw/~juang/ms/Ch02. • cmp.felk.cvut.cz/~hlavac/Public/.../Linear%20Progra mming-1.ppt • www.slideshare.net/nagendraamatya/linear- programming 26
  • 27. 27

Notas do Editor

  1. Marketing requirment