SlideShare a Scribd company logo
1 of 10
Linear Programming
Part 1
J. M. Pogodzinski
carol
carol
carol
carol
Agenda
• Mathematical Programming Problems
• Economic Theory and Mathematical Programming Problems
• Linear Programming Problems
• The Objective Function
• The Inequality Constraints
• The Non-Negativity Constraints (which are inequality
constraints)
• Equality Constraints?
• The Feasible Set
• Does a
Solution
Exist to a Linear Programming Problem? (the existence
question)
• Applications (Uses) of Linear Programming
• Solving Linear Programming Problems
• Theorems About Linear Programming
Mathematical Programming Problems
• A Mathematical Programming Problem consists of:
• An objective function
• Constraints defined somehow – equations, inequalities,…
• Little can be said about such a general problem – we need to
make
assumptions about the objective function and/or about the
constraints before we can say anything about the existence of
solutions, algorithms for finding solutions (if they exist),
properties of
solutions
About Objective Functions
• Very common to assume there is only one objective function
• Objective functions are either maximized or minimized – the
generic term is
optimized. The specific problem determines whether
maximization or
minimization is appropriate. There are deeper connections
between
maximization and minimization. Maximization problems can be
restated as
minimization problems. More importantly, specific
maximization problems are
associated with specific minimization problems through duality.
• It is possible to consider multi-objective mathematical
programming problems
(there is a legitimate topic called multi-objective linear
programming)
• What do you get out of multi-objective linear programming (if
there is a
solution)?
• The Pareto Frontier
• We will not consider multi-objective linear programming
because it is
computationally difficult
About Objective Functions
• Example (from microeconomics): Consumers maximize utility
subject
to a budget constraint
• ����,� � �,� ������� �� ��� + ��� = � (and �
≥ 0 and y ≥ 0)
• We assume that � �,� is a quasi-concave continuous function
(Note: famous paper “Quasi-Concave Programming” by Kenneth
J.
Arrow and Alain C. Enthoven, Econometrica, Vol. 29, No. 4
(Oct.,
1961), pp. 779-800)
• A function � �,� is quasi-concave if its upper level sets are
convex
sets
Constraints
• Most common to define constraints by one or more equations
or
inequalities
• Note on finite constraint sets – existence of optimum
• For example, in the consumer choice problem mentioned in the
previous slide, an equation called the budget equation defined
the
constraint set - ��� + ��� = � (and � ≥ 0 and y ≥ 0)
• We might also have defined the constraint set with several
inequalities: ��� + ��� ≤ � and � ≥ 0 and y ≥ 0
• We can write the equation ��� + ��� = � as two
inequalities:
��� + ��� ≤ � and ��� + ��� ≥ �
The Consumer Choice Problem
����,� � �,� ������� �� ��� + ��� = �
(and � ≥ 0 and y ≥ 0)
Draw the constraint set (the feasible set)
Draw some upper level sets of the objective function
Are these sets convex sets?
Convex Sets – Yes or No?
• Examples
Linear Programming Problems
• An LP Problem has:
• A linear objective function
• Linear inequality constraints
• Non-negativity constraints
LP Problem – General Form
• Decision variables: �� (� = 1,…,�)
• (Linear) Objective function: Π = �1�1 + �2�2 + ⋯+ ����
• (Linear) Inequality constraints:
�11�1 + ⋯+ �1��� ≤ �1
�21�1 + ⋯+ �2��� ≤ �2
��1�1 + ⋯+ ����� ≤ ��
• Non-negativity constraints: �1 ≥ 0, �2 ≥ 0,…, �� ≥ 0
Write this in
matrix
notation
Write this in
matrix
notation
x – variables
a, b, c – parameters (constants)
Write this
in matrix
notation
LP Problem – An Example
• A Production Problem
• �� amount of good j to be produced (j=1,…,n)
• ��� amount of resource i required to produce one unit of
good j*
• �� amount of resource i available
• �� profit per unit of good j
*CONVENTION: (i,j) = (row, column)
Graph it!
Solve it!
Write in matrix
notation!
Products Variables
socks x1
shirts x2
Resources Parameters
Looms b1 10
Sewing Machines b2 15
Labor b3 12
Coefficient Matrix
1 1
3 1
2 1
Product net revenue Pi-1 Pi-2 Pi-3
socks c1 1 2 1
shirts c2 1 1 2
Linear Programming
Part 2
J. M. Pogodzinski
Agenda
• Some LP Theorems
• Excel skills: sumproduct, matrix multiplication, matrix
inversion
• Using Excel to Solve LP Problems (demo)
• Binding and non-binding constraints
• The Dual LP Problem
• The Dual

More Related Content

Similar to Linear ProgrammingPart 1J. M. Pogodzinskicarol.docx

linearprogramingproblemlpp-180729145239.pptx
linearprogramingproblemlpp-180729145239.pptxlinearprogramingproblemlpp-180729145239.pptx
linearprogramingproblemlpp-180729145239.pptx
KOUSHIkPIPPLE
 

Similar to Linear ProgrammingPart 1J. M. Pogodzinskicarol.docx (20)

Unit 1 - Optimization methods.pptx
Unit 1 - Optimization methods.pptxUnit 1 - Optimization methods.pptx
Unit 1 - Optimization methods.pptx
 
Derivative Free Optimization and Robust Optimization
Derivative Free Optimization and Robust OptimizationDerivative Free Optimization and Robust Optimization
Derivative Free Optimization and Robust Optimization
 
Introduction to Linear programing.ORpptx
Introduction to Linear programing.ORpptxIntroduction to Linear programing.ORpptx
Introduction to Linear programing.ORpptx
 
Math
MathMath
Math
 
Linear programming
Linear programmingLinear programming
Linear programming
 
A brief study on linear programming solving methods
A brief study on linear programming solving methodsA brief study on linear programming solving methods
A brief study on linear programming solving methods
 
LINEAR PROGRAMMING PROBLEMS.pptx
LINEAR PROGRAMMING PROBLEMS.pptxLINEAR PROGRAMMING PROBLEMS.pptx
LINEAR PROGRAMMING PROBLEMS.pptx
 
1 resource optimization 2
1 resource optimization 21 resource optimization 2
1 resource optimization 2
 
Linear programing problem
Linear programing problemLinear programing problem
Linear programing problem
 
UNIT-2 Quantitaitive Anlaysis for Mgt Decisions.pptx
UNIT-2 Quantitaitive Anlaysis for Mgt Decisions.pptxUNIT-2 Quantitaitive Anlaysis for Mgt Decisions.pptx
UNIT-2 Quantitaitive Anlaysis for Mgt Decisions.pptx
 
Linear programing
Linear programing Linear programing
Linear programing
 
Introduction to dynamic programming
Introduction to dynamic programmingIntroduction to dynamic programming
Introduction to dynamic programming
 
Operation Research.pptx
Operation Research.pptxOperation Research.pptx
Operation Research.pptx
 
LP.ppt
LP.pptLP.ppt
LP.ppt
 
Derivative free optimizations
Derivative free optimizationsDerivative free optimizations
Derivative free optimizations
 
Paper Study: Melding the data decision pipeline
Paper Study: Melding the data decision pipelinePaper Study: Melding the data decision pipeline
Paper Study: Melding the data decision pipeline
 
linearprogramingproblemlpp-180729145239.pptx
linearprogramingproblemlpp-180729145239.pptxlinearprogramingproblemlpp-180729145239.pptx
linearprogramingproblemlpp-180729145239.pptx
 
Linear programming class 12 investigatory project
Linear programming class 12 investigatory projectLinear programming class 12 investigatory project
Linear programming class 12 investigatory project
 
Dynamicpgmming
DynamicpgmmingDynamicpgmming
Dynamicpgmming
 
Linear programming: A Geometric Approach
Linear programming: A Geometric ApproachLinear programming: A Geometric Approach
Linear programming: A Geometric Approach
 

More from croysierkathey

1.What are the main issues facing Fargo and Town Manager Susan.docx
1.What are the main issues facing Fargo and Town Manager Susan.docx1.What are the main issues facing Fargo and Town Manager Susan.docx
1.What are the main issues facing Fargo and Town Manager Susan.docx
croysierkathey
 
1.Writing Practice in Reading a PhotographAttached Files.docx
1.Writing Practice in Reading a PhotographAttached Files.docx1.Writing Practice in Reading a PhotographAttached Files.docx
1.Writing Practice in Reading a PhotographAttached Files.docx
croysierkathey
 
1.The following clause was added to the Food and Drug Actthe S.docx
1.The following clause was added to the Food and Drug Actthe S.docx1.The following clause was added to the Food and Drug Actthe S.docx
1.The following clause was added to the Food and Drug Actthe S.docx
croysierkathey
 
1.This week, we’ve been introduced to the humanities and have ta.docx
1.This week, we’ve been introduced to the humanities and have ta.docx1.This week, we’ve been introduced to the humanities and have ta.docx
1.This week, we’ve been introduced to the humanities and have ta.docx
croysierkathey
 

More from croysierkathey (20)

1.  Discuss the organization and the family role in every one of the.docx
1.  Discuss the organization and the family role in every one of the.docx1.  Discuss the organization and the family role in every one of the.docx
1.  Discuss the organization and the family role in every one of the.docx
 
1.  Compare and contrast DEmilios Capitalism and Gay Identity .docx
1.  Compare and contrast DEmilios Capitalism and Gay Identity .docx1.  Compare and contrast DEmilios Capitalism and Gay Identity .docx
1.  Compare and contrast DEmilios Capitalism and Gay Identity .docx
 
1.Purpose the purpose of this essay is to spread awareness .docx
1.Purpose the purpose of this essay is to spread awareness .docx1.Purpose the purpose of this essay is to spread awareness .docx
1.Purpose the purpose of this essay is to spread awareness .docx
 
1.  Tell us why it is your favorite film.2.  Talk about the .docx
1.  Tell us why it is your favorite film.2.  Talk about the .docx1.  Tell us why it is your favorite film.2.  Talk about the .docx
1.  Tell us why it is your favorite film.2.  Talk about the .docx
 
1.What are the main issues facing Fargo and Town Manager Susan.docx
1.What are the main issues facing Fargo and Town Manager Susan.docx1.What are the main issues facing Fargo and Town Manager Susan.docx
1.What are the main issues facing Fargo and Town Manager Susan.docx
 
1.Writing Practice in Reading a PhotographAttached Files.docx
1.Writing Practice in Reading a PhotographAttached Files.docx1.Writing Practice in Reading a PhotographAttached Files.docx
1.Writing Practice in Reading a PhotographAttached Files.docx
 
1.Some say that analytics in general dehumanize managerial activitie.docx
1.Some say that analytics in general dehumanize managerial activitie.docx1.Some say that analytics in general dehumanize managerial activitie.docx
1.Some say that analytics in general dehumanize managerial activitie.docx
 
1.What is the psychological term for the symptoms James experiences .docx
1.What is the psychological term for the symptoms James experiences .docx1.What is the psychological term for the symptoms James experiences .docx
1.What is the psychological term for the symptoms James experiences .docx
 
1.Write at least 500 words discussing the benefits of using R with H.docx
1.Write at least 500 words discussing the benefits of using R with H.docx1.Write at least 500 words discussing the benefits of using R with H.docx
1.Write at least 500 words discussing the benefits of using R with H.docx
 
1.What is Starbucks’ ROA for 2012, 2011, and 2010 Why might focusin.docx
1.What is Starbucks’ ROA for 2012, 2011, and 2010 Why might focusin.docx1.What is Starbucks’ ROA for 2012, 2011, and 2010 Why might focusin.docx
1.What is Starbucks’ ROA for 2012, 2011, and 2010 Why might focusin.docx
 
1.  Discuss the cultural development of the Japanese and the Jewis.docx
1.  Discuss the cultural development of the Japanese and the Jewis.docx1.  Discuss the cultural development of the Japanese and the Jewis.docx
1.  Discuss the cultural development of the Japanese and the Jewis.docx
 
1.  Discuss at least 2  contextual factors(family, peers,  school,.docx
1.  Discuss at least 2  contextual factors(family, peers,  school,.docx1.  Discuss at least 2  contextual factors(family, peers,  school,.docx
1.  Discuss at least 2  contextual factors(family, peers,  school,.docx
 
1.Write at least 500 words in APA format discussing how to use senti.docx
1.Write at least 500 words in APA format discussing how to use senti.docx1.Write at least 500 words in APA format discussing how to use senti.docx
1.Write at least 500 words in APA format discussing how to use senti.docx
 
1.The following clause was added to the Food and Drug Actthe S.docx
1.The following clause was added to the Food and Drug Actthe S.docx1.The following clause was added to the Food and Drug Actthe S.docx
1.The following clause was added to the Food and Drug Actthe S.docx
 
1.What are social determinants of health  Explain how social determ.docx
1.What are social determinants of health  Explain how social determ.docx1.What are social determinants of health  Explain how social determ.docx
1.What are social determinants of health  Explain how social determ.docx
 
1.This week, we’ve been introduced to the humanities and have ta.docx
1.This week, we’ve been introduced to the humanities and have ta.docx1.This week, we’ve been introduced to the humanities and have ta.docx
1.This week, we’ve been introduced to the humanities and have ta.docx
 
1.What are barriers to listening2.Communicators identif.docx
1.What are barriers to listening2.Communicators identif.docx1.What are barriers to listening2.Communicators identif.docx
1.What are barriers to listening2.Communicators identif.docx
 
1.Timeline description and details There are multiple way.docx
1.Timeline description and details There are multiple way.docx1.Timeline description and details There are multiple way.docx
1.Timeline description and details There are multiple way.docx
 
1.The PresidentArticle II of the Constitution establishe.docx
1.The PresidentArticle II of the Constitution establishe.docx1.The PresidentArticle II of the Constitution establishe.docx
1.The PresidentArticle II of the Constitution establishe.docx
 
1.What other potential root causes might influence patient fal.docx
1.What other potential root causes might influence patient fal.docx1.What other potential root causes might influence patient fal.docx
1.What other potential root causes might influence patient fal.docx
 

Recently uploaded

Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
ssuserdda66b
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 

Recently uploaded (20)

ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 

Linear ProgrammingPart 1J. M. Pogodzinskicarol.docx

  • 1. Linear Programming Part 1 J. M. Pogodzinski carol carol carol carol Agenda • Mathematical Programming Problems • Economic Theory and Mathematical Programming Problems • Linear Programming Problems • The Objective Function • The Inequality Constraints • The Non-Negativity Constraints (which are inequality constraints) • Equality Constraints? • The Feasible Set • Does a
  • 2. Solution Exist to a Linear Programming Problem? (the existence question) • Applications (Uses) of Linear Programming • Solving Linear Programming Problems • Theorems About Linear Programming Mathematical Programming Problems • A Mathematical Programming Problem consists of: • An objective function • Constraints defined somehow – equations, inequalities,… • Little can be said about such a general problem – we need to make assumptions about the objective function and/or about the constraints before we can say anything about the existence of solutions, algorithms for finding solutions (if they exist), properties of solutions
  • 3. About Objective Functions • Very common to assume there is only one objective function • Objective functions are either maximized or minimized – the generic term is optimized. The specific problem determines whether maximization or minimization is appropriate. There are deeper connections between maximization and minimization. Maximization problems can be restated as minimization problems. More importantly, specific maximization problems are associated with specific minimization problems through duality. • It is possible to consider multi-objective mathematical programming problems (there is a legitimate topic called multi-objective linear programming) • What do you get out of multi-objective linear programming (if
  • 4. there is a solution)? • The Pareto Frontier • We will not consider multi-objective linear programming because it is computationally difficult About Objective Functions • Example (from microeconomics): Consumers maximize utility subject to a budget constraint • ����,� � �,� ������� �� ��� + ��� = � (and � ≥ 0 and y ≥ 0) • We assume that � �,� is a quasi-concave continuous function (Note: famous paper “Quasi-Concave Programming” by Kenneth J. Arrow and Alain C. Enthoven, Econometrica, Vol. 29, No. 4 (Oct.,
  • 5. 1961), pp. 779-800) • A function � �,� is quasi-concave if its upper level sets are convex sets Constraints • Most common to define constraints by one or more equations or inequalities • Note on finite constraint sets – existence of optimum • For example, in the consumer choice problem mentioned in the previous slide, an equation called the budget equation defined the constraint set - ��� + ��� = � (and � ≥ 0 and y ≥ 0) • We might also have defined the constraint set with several inequalities: ��� + ��� ≤ � and � ≥ 0 and y ≥ 0 • We can write the equation ��� + ��� = � as two
  • 6. inequalities: ��� + ��� ≤ � and ��� + ��� ≥ � The Consumer Choice Problem ����,� � �,� ������� �� ��� + ��� = � (and � ≥ 0 and y ≥ 0) Draw the constraint set (the feasible set) Draw some upper level sets of the objective function Are these sets convex sets? Convex Sets – Yes or No? • Examples Linear Programming Problems
  • 7. • An LP Problem has: • A linear objective function • Linear inequality constraints • Non-negativity constraints LP Problem – General Form • Decision variables: �� (� = 1,…,�) • (Linear) Objective function: Π = �1�1 + �2�2 + ⋯+ ���� • (Linear) Inequality constraints: �11�1 + ⋯+ �1��� ≤ �1 �21�1 + ⋯+ �2��� ≤ �2 ��1�1 + ⋯+ ����� ≤ �� • Non-negativity constraints: �1 ≥ 0, �2 ≥ 0,…, �� ≥ 0 Write this in matrix notation Write this in matrix
  • 8. notation x – variables a, b, c – parameters (constants) Write this in matrix notation LP Problem – An Example • A Production Problem • �� amount of good j to be produced (j=1,…,n) • ��� amount of resource i required to produce one unit of good j* • �� amount of resource i available • �� profit per unit of good j *CONVENTION: (i,j) = (row, column) Graph it!
  • 9. Solve it! Write in matrix notation! Products Variables socks x1 shirts x2 Resources Parameters Looms b1 10 Sewing Machines b2 15 Labor b3 12 Coefficient Matrix 1 1 3 1 2 1 Product net revenue Pi-1 Pi-2 Pi-3 socks c1 1 2 1 shirts c2 1 1 2
  • 10. Linear Programming Part 2 J. M. Pogodzinski Agenda • Some LP Theorems • Excel skills: sumproduct, matrix multiplication, matrix inversion • Using Excel to Solve LP Problems (demo) • Binding and non-binding constraints • The Dual LP Problem • The Dual