SlideShare a Scribd company logo
1 of 22
Chapter 2
Linear Programming Models:
Graphical and Computer Methods
© 2007 Pearson Education
Steps in Developing a Linear
Programming (LP) Model
1) Formulation
2) Solution
3) Interpretation and Sensitivity Analysis
Properties of LP Models
1) Seek to minimize or maximize
2) Include “constraints” or limitations
3) There must be alternatives available
4) All equations are linear
Example LP Model Formulation:
The Product Mix Problem
Decision: How much to make of > 2 products?
Objective: Maximize profit
Constraints: Limited resources
Example: Flair Furniture Co.
Two products: Chairs and Tables
Decision: How many of each to make this
month?
Objective: Maximize profit
Flair Furniture Co. Data
Tables
(per table)
Chairs
(per chair)
Hours
Available
Profit
Contribution
$7 $5
Carpentry 3 hrs 4 hrs 2400
Painting 2 hrs 1 hr 1000
Other Limitations:
• Make no more than 450 chairs
• Make at least 100 tables
Decision Variables:
T = Num. of tables to make
C = Num. of chairs to make
Objective Function: Maximize Profit
Maximize $7 T + $5 C
Constraints:
• Have 2400 hours of carpentry time
available
3 T + 4 C < 2400 (hours)
• Have 1000 hours of painting time available
2 T + 1 C < 1000 (hours)
More Constraints:
• Make no more than 450 chairs
C < 450 (num. chairs)
• Make at least 100 tables
T > 100 (num. tables)
Nonnegativity:
Cannot make a negative number of chairs or tables
T > 0
C > 0
Model Summary
Max 7T + 5C (profit)
Subject to the constraints:
3T + 4C < 2400 (carpentry hrs)
2T + 1C < 1000 (painting hrs)
C < 450 (max # chairs)
T > 100 (min # tables)
T, C > 0 (nonnegativity)
Graphical Solution
• Graphing an LP model helps provide
insight into LP models and their solutions.
• While this can only be done in two
dimensions, the same properties apply to
all LP models and solutions.
Carpentry
Constraint Line
3T + 4C = 2400
Intercepts
(T = 0, C = 600)
(T = 800, C = 0)
0 800 T
C
600
0
Feasible
< 2400 hrs
Infeasible
> 2400 hrs
Painting
Constraint Line
2T + 1C = 1000
Intercepts
(T = 0, C = 1000)
(T = 500, C = 0)
0 500 800 T
C
1000
600
0
0 100 500 800 T
C
1000
600
450
0
Max Chair Line
C = 450
Min Table Line
T = 100
Feasible
Region
0 100 200 300 400 500 T
C
500
400
300
200
100
0
Objective
Function Line
7T + 5C = Profit
Optimal Point
(T = 320, C = 360)
0 100 200 300 400 500 T
C
500
400
300
200
100
0
Additional Constraint
Need at least 75
more chairs than
tables
C > T + 75
Or
C – T > 75
T = 320
C = 360
No longer
feasible
New optimal point
T = 300, C = 375
LP Characteristics
• Feasible Region: The set of points that
satisfies all constraints
• Corner Point Property: An optimal
solution must lie at one or more corner
points
• Optimal Solution: The corner point with
the best objective function value is optimal
Special Situation in LP
1. Redundant Constraints - do not affect
the feasible region
Example: x < 10
x < 12
The second constraint is redundant
because it is less restrictive.
Special Situation in LP
2. Infeasibility – when no feasible solution
exists (there is no feasible region)
Example: x < 10
x > 15
Special Situation in LP
3. Alternate Optimal Solutions – when
there is more than one optimal solution
Max 2T + 2C
Subject to:
T + C < 10
T < 5
C < 6
T, C > 0
0 5 10 T
C
10
6
0
All points on
Red segment
are optimal
Special Situation in LP
4. Unbounded Solutions – when nothing
prevents the solution from becoming
infinitely large
Max 2T + 2C
Subject to:
2T + 3C > 6
T, C > 0
0 1 2 3 T
C
2
1
0
Using Excel’s Solver for LP
Recall the Flair Furniture Example:
Max 7T + 5C (profit)
Subject to the constraints:
3T + 4C < 2400 (carpentry hrs)
2T + 1C < 1000 (painting hrs)
C < 450 (max # chairs)
T > 100 (min # tables)
T, C > 0 (nonnegativity)
Go to file 2-1.xls

More Related Content

Similar to Chapter 2.ppt

Graphical Method_LPP(QA-Render-052021) (1).pptx
Graphical Method_LPP(QA-Render-052021) (1).pptxGraphical Method_LPP(QA-Render-052021) (1).pptx
Graphical Method_LPP(QA-Render-052021) (1).pptx
dhakalgopal
 

Similar to Chapter 2.ppt (20)

Linear Programming.ppt
Linear Programming.pptLinear Programming.ppt
Linear Programming.ppt
 
Integer Programming PPt.ernxzamnbmbmspdf
Integer Programming PPt.ernxzamnbmbmspdfInteger Programming PPt.ernxzamnbmbmspdf
Integer Programming PPt.ernxzamnbmbmspdf
 
LPP, Duality and Game Theory
LPP, Duality and Game TheoryLPP, Duality and Game Theory
LPP, Duality and Game Theory
 
Sensitivity analysis of LP chapter 4.ppt
Sensitivity analysis of LP chapter 4.pptSensitivity analysis of LP chapter 4.ppt
Sensitivity analysis of LP chapter 4.ppt
 
Chapter 02
Chapter 02Chapter 02
Chapter 02
 
Graphical Method_LPP(QA-Render-052021) (1).pptx
Graphical Method_LPP(QA-Render-052021) (1).pptxGraphical Method_LPP(QA-Render-052021) (1).pptx
Graphical Method_LPP(QA-Render-052021) (1).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
 
Slides for ch07
Slides for ch07Slides for ch07
Slides for ch07
 
Intro week3 excel vba_114e
Intro week3 excel vba_114eIntro week3 excel vba_114e
Intro week3 excel vba_114e
 
Rsh qam11 ch07 ge
Rsh qam11 ch07 geRsh qam11 ch07 ge
Rsh qam11 ch07 ge
 
04 Jan 30 Class SCM 416 (LP1).pptx
04 Jan 30 Class SCM 416 (LP1).pptx04 Jan 30 Class SCM 416 (LP1).pptx
04 Jan 30 Class SCM 416 (LP1).pptx
 
Management Science
Management ScienceManagement Science
Management Science
 
LINEAR PROGRAMMING
LINEAR PROGRAMMINGLINEAR PROGRAMMING
LINEAR PROGRAMMING
 
Chapter 4
Chapter 4Chapter 4
Chapter 4
 
Linear Programming
Linear ProgrammingLinear Programming
Linear Programming
 
Linear Programming
Linear ProgrammingLinear Programming
Linear Programming
 
Linear Programming
Linear ProgrammingLinear Programming
Linear Programming
 
Decision making
Decision makingDecision making
Decision making
 
Flair furniture LPP problem
Flair furniture LPP problemFlair furniture LPP problem
Flair furniture LPP problem
 
Management Science
Management Science Management Science
Management Science
 

More from EbsaAbdi (10)

OM CH 04QUALITY MANAGEMENT AND CONTROL (2).ppt
OM CH 04QUALITY MANAGEMENT AND CONTROL (2).pptOM CH 04QUALITY MANAGEMENT AND CONTROL (2).ppt
OM CH 04QUALITY MANAGEMENT AND CONTROL (2).ppt
 
Summerized_CH_5_Ethiopian_Income_Tax_Schedulesstructure (1).pptx
Summerized_CH_5_Ethiopian_Income_Tax_Schedulesstructure (1).pptxSummerized_CH_5_Ethiopian_Income_Tax_Schedulesstructure (1).pptx
Summerized_CH_5_Ethiopian_Income_Tax_Schedulesstructure (1).pptx
 
teall_cost_3_ch03-1.ppt
teall_cost_3_ch03-1.pptteall_cost_3_ch03-1.ppt
teall_cost_3_ch03-1.ppt
 
IFA II CH 1 Current Liab, Prov and Cont.ppt
IFA II CH 1 Current Liab, Prov and Cont.pptIFA II CH 1 Current Liab, Prov and Cont.ppt
IFA II CH 1 Current Liab, Prov and Cont.ppt
 
chapter three interest rates in the financial system.pptx
chapter three interest rates in the financial system.pptxchapter three interest rates in the financial system.pptx
chapter three interest rates in the financial system.pptx
 
FIM Financial pp ch3.pptx
FIM Financial pp ch3.pptxFIM Financial pp ch3.pptx
FIM Financial pp ch3.pptx
 
ch24.ppt
ch24.pptch24.ppt
ch24.ppt
 
FM CHAPTER-2.pptx
FM CHAPTER-2.pptxFM CHAPTER-2.pptx
FM CHAPTER-2.pptx
 
20093.pptx
20093.pptx20093.pptx
20093.pptx
 
ch07.ppt
ch07.pptch07.ppt
ch07.ppt
 

Recently uploaded

Recently uploaded (20)

Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.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
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 

Chapter 2.ppt

  • 1. Chapter 2 Linear Programming Models: Graphical and Computer Methods © 2007 Pearson Education
  • 2. Steps in Developing a Linear Programming (LP) Model 1) Formulation 2) Solution 3) Interpretation and Sensitivity Analysis
  • 3. Properties of LP Models 1) Seek to minimize or maximize 2) Include “constraints” or limitations 3) There must be alternatives available 4) All equations are linear
  • 4. Example LP Model Formulation: The Product Mix Problem Decision: How much to make of > 2 products? Objective: Maximize profit Constraints: Limited resources
  • 5. Example: Flair Furniture Co. Two products: Chairs and Tables Decision: How many of each to make this month? Objective: Maximize profit
  • 6. Flair Furniture Co. Data Tables (per table) Chairs (per chair) Hours Available Profit Contribution $7 $5 Carpentry 3 hrs 4 hrs 2400 Painting 2 hrs 1 hr 1000 Other Limitations: • Make no more than 450 chairs • Make at least 100 tables
  • 7. Decision Variables: T = Num. of tables to make C = Num. of chairs to make Objective Function: Maximize Profit Maximize $7 T + $5 C
  • 8. Constraints: • Have 2400 hours of carpentry time available 3 T + 4 C < 2400 (hours) • Have 1000 hours of painting time available 2 T + 1 C < 1000 (hours)
  • 9. More Constraints: • Make no more than 450 chairs C < 450 (num. chairs) • Make at least 100 tables T > 100 (num. tables) Nonnegativity: Cannot make a negative number of chairs or tables T > 0 C > 0
  • 10. Model Summary Max 7T + 5C (profit) Subject to the constraints: 3T + 4C < 2400 (carpentry hrs) 2T + 1C < 1000 (painting hrs) C < 450 (max # chairs) T > 100 (min # tables) T, C > 0 (nonnegativity)
  • 11. Graphical Solution • Graphing an LP model helps provide insight into LP models and their solutions. • While this can only be done in two dimensions, the same properties apply to all LP models and solutions.
  • 12. Carpentry Constraint Line 3T + 4C = 2400 Intercepts (T = 0, C = 600) (T = 800, C = 0) 0 800 T C 600 0 Feasible < 2400 hrs Infeasible > 2400 hrs
  • 13. Painting Constraint Line 2T + 1C = 1000 Intercepts (T = 0, C = 1000) (T = 500, C = 0) 0 500 800 T C 1000 600 0
  • 14. 0 100 500 800 T C 1000 600 450 0 Max Chair Line C = 450 Min Table Line T = 100 Feasible Region
  • 15. 0 100 200 300 400 500 T C 500 400 300 200 100 0 Objective Function Line 7T + 5C = Profit Optimal Point (T = 320, C = 360)
  • 16. 0 100 200 300 400 500 T C 500 400 300 200 100 0 Additional Constraint Need at least 75 more chairs than tables C > T + 75 Or C – T > 75 T = 320 C = 360 No longer feasible New optimal point T = 300, C = 375
  • 17. LP Characteristics • Feasible Region: The set of points that satisfies all constraints • Corner Point Property: An optimal solution must lie at one or more corner points • Optimal Solution: The corner point with the best objective function value is optimal
  • 18. Special Situation in LP 1. Redundant Constraints - do not affect the feasible region Example: x < 10 x < 12 The second constraint is redundant because it is less restrictive.
  • 19. Special Situation in LP 2. Infeasibility – when no feasible solution exists (there is no feasible region) Example: x < 10 x > 15
  • 20. Special Situation in LP 3. Alternate Optimal Solutions – when there is more than one optimal solution Max 2T + 2C Subject to: T + C < 10 T < 5 C < 6 T, C > 0 0 5 10 T C 10 6 0 All points on Red segment are optimal
  • 21. Special Situation in LP 4. Unbounded Solutions – when nothing prevents the solution from becoming infinitely large Max 2T + 2C Subject to: 2T + 3C > 6 T, C > 0 0 1 2 3 T C 2 1 0
  • 22. Using Excel’s Solver for LP Recall the Flair Furniture Example: Max 7T + 5C (profit) Subject to the constraints: 3T + 4C < 2400 (carpentry hrs) 2T + 1C < 1000 (painting hrs) C < 450 (max # chairs) T > 100 (min # tables) T, C > 0 (nonnegativity) Go to file 2-1.xls