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        Chairs
               (per table)   (per chair)
Profit                                      Hours
               $7            $5
Contribution                               Available
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.
C
Carpentry
Constraint Line
3T + 4C = 2400                                          Infeasible
                   600
                                                        > 2400 hrs
                                     3T
                                          +
Intercepts                                    4C
                                                   =
                                                       24
                                                          00
(T = 0, C = 600)                 Feasible
                                < 2400 hrs
(T = 800, C = 0)
                        0
                            0                                  800 T
C
                    1000
Painting
Constraint Line




                               2T
                                  +
2T + 1C = 1000




                                 1C
                    600




                                  =1
                                    000
Intercepts
(T = 0, C = 1000)
(T = 500, C = 0)      0
                           0              500   800 T
C
                 1000
Max Chair Line
   C = 450


                 600
Min Table Line
                 450
   T = 100

                           Feasible
                            Region
                   0
                        0 100         500   800 T
C




                                     7T
   Objective




                                        + 5C
 Function Line




                                            =$
                                              4,0
                   500
7T + 5C = Profit




                                                 40
                                                             Optimal Point
                                                           (T = 320, C = 360)




                                   7T
                   400




                                     +5
                                       C
                                          =$
                              7T
                   300




                                            2 ,8
                                   +5



                                                00
                                     C
                                     =$
                   200


                                       2 ,1
                   100                     00


                   0
                         0   100         200         300   400     500 T
C

Additional Constraint                 New optimal point
                    500                T = 300, C = 375
Need at least 75
more chairs than
tables              400                                      T = 320
     C > T + 75                                              C = 360
                                                            No longer
                    300                                      feasible
         Or
     C – T > 75
                    200


                    100


                        0

                            0   100    200      300       400   500 T
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
                    C
  Max 2T + 2C       10



                         2T
 Subject to:

                             +
                                            All points on

                              2C
       T + C < 10

                                 =
                                            Red segment

                                   20
                    6
       T      < 5                            are optimal
            C< 6
         T, C > 0
                    0
                         0              5        10    T
Special Situation in LP
4. Unbounded Solutions – when nothing
   prevents the solution from becoming
   infinitely large
                                       n
                   C
                                   ctio on
  Max 2T + 2C                    re luti
                               Di so
 Subject to:       2            of
    2T + 3C > 6
        T, C > 0   1


                   0
                       0   1         2       3   T
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

What's hot

Antiderivatives
AntiderivativesAntiderivatives
Antiderivatives
Silvius
 
Lesson 8: Basic Differentiation Rules
Lesson 8: Basic Differentiation RulesLesson 8: Basic Differentiation Rules
Lesson 8: Basic Differentiation Rules
Matthew Leingang
 
9.6.1 Series Resonance
9.6.1 Series Resonance9.6.1 Series Resonance
9.6.1 Series Resonance
Talia Carbis
 
Limits and derivatives
Limits and derivativesLimits and derivatives
Limits and derivatives
sahil9100
 
Euler lagrange equation
Euler lagrange equationEuler lagrange equation
Euler lagrange equation
mufti195
 

What's hot (15)

Antiderivatives
AntiderivativesAntiderivatives
Antiderivatives
 
Lesson 8: Basic Differentiation Rules
Lesson 8: Basic Differentiation RulesLesson 8: Basic Differentiation Rules
Lesson 8: Basic Differentiation Rules
 
Problem Application of Antiderivatives
Problem Application of AntiderivativesProblem Application of Antiderivatives
Problem Application of Antiderivatives
 
Lesson 7: The Derivative
Lesson 7: The DerivativeLesson 7: The Derivative
Lesson 7: The Derivative
 
Ism et chapter_12
Ism et chapter_12Ism et chapter_12
Ism et chapter_12
 
Scientific Computing with Python Webinar 9/18/2009:Curve Fitting
Scientific Computing with Python Webinar 9/18/2009:Curve FittingScientific Computing with Python Webinar 9/18/2009:Curve Fitting
Scientific Computing with Python Webinar 9/18/2009:Curve Fitting
 
Table 7a,7b kft 131
Table 7a,7b  kft 131Table 7a,7b  kft 131
Table 7a,7b kft 131
 
CRMS Calculus 2010 March 30, 2010
CRMS Calculus 2010 March 30, 2010CRMS Calculus 2010 March 30, 2010
CRMS Calculus 2010 March 30, 2010
 
Sheet1 simplified
Sheet1 simplifiedSheet1 simplified
Sheet1 simplified
 
9.6.1 Series Resonance
9.6.1 Series Resonance9.6.1 Series Resonance
9.6.1 Series Resonance
 
Home Work; Chapter 9; Inventory Policy Decisions
Home Work; Chapter 9; Inventory Policy DecisionsHome Work; Chapter 9; Inventory Policy Decisions
Home Work; Chapter 9; Inventory Policy Decisions
 
The Ring programming language version 1.7 book - Part 40 of 196
The Ring programming language version 1.7 book - Part 40 of 196The Ring programming language version 1.7 book - Part 40 of 196
The Ring programming language version 1.7 book - Part 40 of 196
 
Limits and derivatives
Limits and derivativesLimits and derivatives
Limits and derivatives
 
Euler lagrange equation
Euler lagrange equationEuler lagrange equation
Euler lagrange equation
 
Ch21 24
Ch21 24Ch21 24
Ch21 24
 

Viewers also liked (6)

LINEAR PROGRAMMING
LINEAR PROGRAMMINGLINEAR PROGRAMMING
LINEAR PROGRAMMING
 
Linear programming ppt
Linear programming pptLinear programming ppt
Linear programming ppt
 
Linear Programming
Linear ProgrammingLinear Programming
Linear Programming
 
Linear programming - Model formulation, Graphical Method
Linear programming  - Model formulation, Graphical MethodLinear programming  - Model formulation, Graphical Method
Linear programming - Model formulation, Graphical Method
 
How to Make Awesome SlideShares: Tips & Tricks
How to Make Awesome SlideShares: Tips & TricksHow to Make Awesome SlideShares: Tips & Tricks
How to Make Awesome SlideShares: Tips & Tricks
 
Getting Started With SlideShare
Getting Started With SlideShareGetting Started With SlideShare
Getting Started With SlideShare
 

Similar to Chapter 02

Chapter 4: Modern Location Theory of the Firm
Chapter 4: Modern Location Theory of the FirmChapter 4: Modern Location Theory of the Firm
Chapter 4: Modern Location Theory of the Firm
DISPAR
 
06 application problems
06   application problems06   application problems
06 application problems
majapamaya
 
Solutions tohc vermasconceptsofphysics2
Solutions tohc vermasconceptsofphysics2Solutions tohc vermasconceptsofphysics2
Solutions tohc vermasconceptsofphysics2
nayakq
 

Similar to Chapter 02 (20)

Chapter 2
Chapter 2Chapter 2
Chapter 2
 
Lpp 2.1202.ppts
Lpp 2.1202.pptsLpp 2.1202.ppts
Lpp 2.1202.ppts
 
Chapter 2.ppt
Chapter 2.pptChapter 2.ppt
Chapter 2.ppt
 
Chapter 2.ppt
Chapter 2.pptChapter 2.ppt
Chapter 2.ppt
 
Flair furniture LPP problem
Flair furniture LPP problemFlair furniture LPP problem
Flair furniture LPP problem
 
Chapter 4: Modern Location Theory of the Firm
Chapter 4: Modern Location Theory of the FirmChapter 4: Modern Location Theory of the Firm
Chapter 4: Modern Location Theory of the Firm
 
06 application problems
06   application problems06   application problems
06 application problems
 
LINEAR PROGRAMING
LINEAR PROGRAMINGLINEAR PROGRAMING
LINEAR PROGRAMING
 
jacobi method, gauss siedel for solving linear equations
jacobi method, gauss siedel for solving linear equationsjacobi method, gauss siedel for solving linear equations
jacobi method, gauss siedel for solving linear equations
 
Management Science
Management ScienceManagement Science
Management Science
 
Lenier Equation
Lenier EquationLenier Equation
Lenier Equation
 
Solutions tohc vermasconceptsofphysics2
Solutions tohc vermasconceptsofphysics2Solutions tohc vermasconceptsofphysics2
Solutions tohc vermasconceptsofphysics2
 
Optimización de recursos en la confección de overoles
Optimización de recursos en la confección de overolesOptimización de recursos en la confección de overoles
Optimización de recursos en la confección de overoles
 
鉛蓄電池のスパイスモデル
鉛蓄電池のスパイスモデル鉛蓄電池のスパイスモデル
鉛蓄電池のスパイスモデル
 
Notes 17
Notes 17Notes 17
Notes 17
 
Linear Programming.ppt
Linear Programming.pptLinear Programming.ppt
Linear Programming.ppt
 
Numerical Methods Solving Linear Equations
Numerical Methods Solving Linear EquationsNumerical Methods Solving Linear Equations
Numerical Methods Solving Linear Equations
 
Wynberg girls high-louise keegan-maths-grade11-trigonometry revision
Wynberg girls high-louise keegan-maths-grade11-trigonometry revisionWynberg girls high-louise keegan-maths-grade11-trigonometry revision
Wynberg girls high-louise keegan-maths-grade11-trigonometry revision
 
Sect2 3
Sect2 3Sect2 3
Sect2 3
 
Trigonometric ratios and identities 1
Trigonometric ratios and identities 1Trigonometric ratios and identities 1
Trigonometric ratios and identities 1
 

Chapter 02

  • 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 Chairs (per table) (per chair) Profit Hours $7 $5 Contribution Available 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. C Carpentry Constraint Line 3T + 4C = 2400 Infeasible 600 > 2400 hrs 3T + Intercepts 4C = 24 00 (T = 0, C = 600) Feasible < 2400 hrs (T = 800, C = 0) 0 0 800 T
  • 13. C 1000 Painting Constraint Line 2T + 2T + 1C = 1000 1C 600 =1 000 Intercepts (T = 0, C = 1000) (T = 500, C = 0) 0 0 500 800 T
  • 14. C 1000 Max Chair Line C = 450 600 Min Table Line 450 T = 100 Feasible Region 0 0 100 500 800 T
  • 15. C 7T Objective + 5C Function Line =$ 4,0 500 7T + 5C = Profit 40 Optimal Point (T = 320, C = 360) 7T 400 +5 C =$ 7T 300 2 ,8 +5 00 C =$ 200 2 ,1 100 00 0 0 100 200 300 400 500 T
  • 16. C Additional Constraint New optimal point 500 T = 300, C = 375 Need at least 75 more chairs than tables 400 T = 320 C > T + 75 C = 360 No longer 300 feasible Or C – T > 75 200 100 0 0 100 200 300 400 500 T
  • 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 C Max 2T + 2C 10 2T Subject to: + All points on 2C T + C < 10 = Red segment 20 6 T < 5 are optimal C< 6 T, C > 0 0 0 5 10 T
  • 21. Special Situation in LP 4. Unbounded Solutions – when nothing prevents the solution from becoming infinitely large n C ctio on Max 2T + 2C re luti Di so Subject to: 2 of 2T + 3C > 6 T, C > 0 1 0 0 1 2 3 T
  • 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