ch13_sup

Embed Size (px)

Citation preview

  • 8/9/2019 ch13_sup

    1/27

    Copyright 2006 John Wiley & Sons, Inc.Copyright 2006 John Wiley & Sons, Inc.

    Beni AsllaniBeni Asllani

    University of Tennessee at ChattanoogaUniversity of Tennessee at Chattanooga

    Operations Management - 5thEdition

    Operations Management - 5thEdition

    Chapter 13 SupplementChapter 13 Supplement

    Roberta Russell & Bernard W. Taylor, III

    Linear ProgrammingLinear Programming

  • 8/9/2019 ch13_sup

    2/27

    Copyright 2006 John Wiley & Sons, Inc.Copyright 2006 John Wiley & Sons, Inc. Supplement 13Supplement 13--22

    Lecture OutlineLecture Outline

    Model Formulation

    Graphical Solution Method Linear Programming Model

    Solution

    Solving Linear Programming Problems withExcel

    Sensitivity Analysis

  • 8/9/2019 ch13_sup

    3/27

    Copyright 2006 John Wiley & Sons, Inc.Copyright 2006 John Wiley & Sons, Inc. Supplement 13Supplement 13--33

    A model consisting of linear relationships

    representing a firms objective and resourceconstraints

    Linear Programming (LP)

    LP is a mathematical modeling technique used todetermine a level of operational activity in order to

    achieve an objective, subject to restrictions calledconstraints

  • 8/9/2019 ch13_sup

    4/27

    Copyright 2006 John Wiley & Sons, Inc.Copyright 2006 John Wiley & Sons, Inc. Supplement 13Supplement 13--44

    Types of LPTypes of LP

  • 8/9/2019 ch13_sup

    5/27

    Copyright 2006 John Wiley & Sons, Inc.Copyright 2006 John Wiley & Sons, Inc. Supplement 13Supplement 13--55

    Types of LP (cont.)Types of LP (cont.)

  • 8/9/2019 ch13_sup

    6/27

    Copyright 2006 John Wiley & Sons, Inc.Copyright 2006 John Wiley & Sons, Inc. Supplement 13Supplement 13--66

    Types of LP (cont.)Types of LP (cont.)

  • 8/9/2019 ch13_sup

    7/27

    Copyright 2006 John Wiley & Sons, Inc.Copyright 2006 John Wiley & Sons, Inc. Supplement 13Supplement 13--77

    LP Model FormulationLP 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 productionor packaging department) is to minimize cost

    Constraint a linear relationship representing a restriction on decision making

  • 8/9/2019 ch13_sup

    8/27

    Copyright 2006 John Wiley & Sons, Inc.Copyright 2006 John Wiley & Sons, Inc. Supplement 13Supplement 13--88

    LP Model Formulation (cont.)LP Model Formulation (cont.)

    Max/min z = cMax/min z = c11xx11 + c+ c22xx22+ ... + c+ ... + cnnxxnn

    subject to:subject to: aa1111xx11 + a+ a1212xx22+ ... + a+ ... + a1n1nxxnn (, =, ) b(, =, ) b11aa2121xx11 + a+ a2222xx22+ ... + a+ ... + a2n2nxxnn (, =, ) b(, =, ) b22

    ::aam1m1x1 + ax1 + am2m2xx22+ ... + a+ ... + amnmnxxnn (, =, ) b(, =, ) bmm

    xxjj= decision variables= decision variablesbbii= constraint levels= constraint levelsccjj= objective function coefficients= objective function coefficientsaaijij= constraint coefficients= constraint coefficients

  • 8/9/2019 ch13_sup

    9/27

    Copyright 2006 John Wiley & Sons, Inc.Copyright 2006 John Wiley & Sons, Inc. Supplement 13Supplement 13--99

    LP Model: ExampleLP Model: Example

    LaborLabor Clay Clay RevenueRevenue

    PRODUCTPRODUCT (hr/unit)(hr/unit) (lb/unit)(lb/unit) ($/unit)($/unit)

    BowlBowl 11 44 4040

    MugMug 22 33 5050

    There are 40 hours of labor and 120 pounds of clayThere are 40 hours of labor and 120 pounds of clay

    available each dayavailable each dayDecision variablesDecision variables

    xx11 = number of bowls to produce= number of bowls to produce

    xx22 = number of mugs to produce= number of mugs to produce

    RESOURCE REQUIREMENTSRESOURCE REQUIREMENTS

  • 8/9/2019 ch13_sup

    10/27

    Copyright 2006 John Wiley & Sons, Inc.Copyright 2006 John Wiley & Sons, Inc. Supplement 13Supplement 13--1010

    LP Formulation: ExampleLP Formulation: Example

    MaximizeMaximize ZZ= $40= $40xx11 + 50+ 50xx22

    Subject toSubject toxx11 ++ 22xx22 ee40 hr40 hr (labor constraint)(labor constraint)

    44xx11 ++ 33xx22 ee120 lb120 lb (clay constraint)(clay constraint)

    xx11 ,,xx22 uu00

    Solution isSolution isxx11 = 24 bowls= 24 bowls xx22 = 8 mugs= 8 mugs

    Revenue = $1,360Revenue = $1,360

  • 8/9/2019 ch13_sup

    11/27

  • 8/9/2019 ch13_sup

    12/27

    Copyright 2006 John Wiley & Sons, Inc.Copyright 2006 John Wiley & Sons, Inc. Supplement 13Supplement 13--1212

    Graphical Solution: ExampleGraphical Solution: Example

    44xx11 + 3+ 3xx22ee

    120 lb120 lb

    xx11 + 2+ 2xx22 ee40 hr40 hr

    Area common toArea common toboth constraintsboth constraints

    5050

    4040

    3030

    2020

    1010

    00 |1010

    |6060

    |5050

    |2020

    |3030

    |4040 xx11

    xx22

  • 8/9/2019 ch13_sup

    13/27

    Copyright 2006 John Wiley & Sons, Inc.Copyright 2006 John Wiley & Sons, Inc. Supplement 13Supplement 13--1313

    Computing Optimal ValuesComputing Optimal Values

    xx11 ++ 22xx22 == 4040

    44xx11 ++ 33xx22 == 120120

    44xx11 ++ 88xx22 == 160160

    --44xx11 -- 33xx22 == --120120

    55xx22 == 4040

    xx22 == 88

    xx11 ++ 2(8)2(8) == 4040

    xx11 == 2424

    44xx11 + 3+ 3xx22 ee120 lb120 lb

    xx11 + 2+ 2xx22 ee40 hr40 hr

    4040

    3030

    2020

    1010

    00 |1010

    |2020

    |3030

    |4040

    xx11

    xx22

    ZZ= $50(24) + $50(8) = $1,360= $50(24) + $50(8) = $1,360

    248

  • 8/9/2019 ch13_sup

    14/27

    Copyright 2006 John Wiley & Sons, Inc.Copyright 2006 John Wiley & Sons, Inc. Supplement 13Supplement 13--1414

    Extreme Corner PointsExtreme Corner Points

    xx11 = 224 bowls= 224 bowls

    xx22 ==8 mugs8 mugs

    ZZ= $1,360= $1,360 xx11 = 30 bowls= 30 bowls

    xx22 ==0 mugs0 mugs

    ZZ= $1,200= $1,200

    xx11 = 0 bowls= 0 bowls

    xx22 ==20 mugs20 mugs

    ZZ= $1,000= $1,000

    AA

    BB

    CC|2020

    |3030

    |4040

    |1010 xx11

    xx22

    4040

    3030

    2020

    1010

    00

  • 8/9/2019 ch13_sup

    15/27

    Copyright 2006 John Wiley & Sons, Inc.Copyright 2006 John Wiley & Sons, Inc. Supplement 13Supplement 13--1515

    44xx11 + 3+ 3xx22 ee120 lb120 lb

    xx11 + 2+ 2xx22 ee40 hr40 hr

    4040

    3030

    2020

    1010

    00

    BB

    |1010

    |2020

    |3030

    |4040 xx11

    xx22

    CC

    AA

    ZZ= 70= 70xx11 + 20+ 20xx22 Optimal point:Optimal point:

    xx11 = 30 bowls= 30 bowls

    xx22 ==0 mugs0 mugs

    ZZ= $2,100= $2,100

    Objective FunctionObjective Function

  • 8/9/2019 ch13_sup

    16/27

    Copyright 2006 John Wiley & Sons, Inc.Copyright 2006 John Wiley & Sons, Inc. Supplement 13Supplement 13--1616

    Minimization ProblemMinimization Problem

    CHEMICAL CONTRIBUTIONCHEMICAL CONTRIBUTION

    BrandBrand Nitrogen (lb/bag)Nitrogen (lb/bag) P hosphate (lb/bag)Phosphate (lb/bag)

    GroGro--plusplus 22 44

    CropCrop--fastfast 44 33

    MinimizeMinimize ZZ= $6x= $6x11 + $3x+ $3x22

    subject tosubject to

    22xx11 ++ 44xx22 uu 16 lb of nitrogen16 lb of nitrogen

    44xx11 ++ 33xx22 uu 24 lb of phosphate24 lb of phosphate

    xx11,,xx22 uu 00

  • 8/9/2019 ch13_sup

    17/27

    Copyright 2006 John Wiley & Sons, Inc.Copyright 2006 John Wiley & Sons, Inc. Supplement 13Supplement 13--1717

    1414

    1212

    1010

    88

    66

    44

    22

    00 |22

    |44

    |66

    |88

    |1010

    |1212

    |1414 xx11

    xx22

    A

    B

    C

    Graphical SolutionGraphical Solution

    x1 = 0 bags ofGro-plusx2 = 8 bags of Crop-fast

    Z= $24

    Z = 6x1 + 3x2

  • 8/9/2019 ch13_sup

    18/27

    Copyright 2006 John Wiley & Sons, Inc.Copyright 2006 John Wiley & Sons, Inc. Supplement 13Supplement 13--1818

    Simplex MethodSimplex Method A mathematical procedure for solving linear programming problems according toA mathematical procedure for solving linear programming problems according to

    a set of stepsa set of steps Slack variables added to constraints to represent unused resourcesSlack variables added to constraints to represent unused resources

    xx11 + 2x+ 2x22+ s+ s11 ==40hours of labor40hours of labor 4x4x11 + 3x+ 3x22+ s+ s22==120 lb of clay120 lb of clay

    Surplus variables subtracted from constraints to represent excess abovevariables subtracted from constraints to represent excess aboveresource requirement. For exampleresource requirement. For example 22xx11 + 4+ 4xx22 16 is transformed into16 is transformed into 22xx11 + 4+ 4xx22 -- ss11 ==1616

    Slack/surplus variables have a 0coefficient in the objective functionSlack/surplus variables have a 0coefficient in the objective function Z = $40xZ = $40x11 + $50x+ $50x22+ 0s+ 0s11 + 0s+ 0s22

  • 8/9/2019 ch13_sup

    19/27

    Copyright 2006 John Wiley & Sons, Inc.Copyright 2006 John Wiley & Sons, Inc. Supplement 13Supplement 13--1919

    SolutionPoints with

    SlackVariables

  • 8/9/2019 ch13_sup

    20/27

    Copyright 2006 John Wiley & Sons, Inc.Copyright 2006 John Wiley & Sons, Inc. Supplement 13Supplement 13--2020

    SolutionPoints withSurplusVariables

  • 8/9/2019 ch13_sup

    21/27

    Copyright 2006 John Wiley & Sons, Inc.Copyright 2006 John Wiley & Sons, Inc. Supplement 13Supplement 13--2121

    Solving LP Problems with ExcelSolving LP Problems with ExcelClick on Tools

    to invoke Solver.

    Objective function

    Decision variables bowls(x1)=B10; mugs (x2)=B11

    =C6*B10+D6*B11

    =C7*B10+D7*B11

    =E6-F6

    =E7-F7

  • 8/9/2019 ch13_sup

    22/27

    Copyright 2006 John Wiley & Sons, Inc.Copyright 2006 John Wiley & Sons, Inc. Supplement 13Supplement 13--2222

    Solving LP Problems with ExcelSolving LP Problems with Excel

    (cont.)(cont.)After all parameters and constraintshave been input, click on Solve.

    Objective function

    Decision variables

    C6*B10+D6*B1140

    C7*B10+D7*B11120

    Click on Add toinsert constraints

  • 8/9/2019 ch13_sup

    23/27

    Copyright 2006 John Wiley & Sons, Inc.Copyright 2006 John Wiley & Sons, Inc. Supplement 13Supplement 13--2323

    Solving LP Problems with ExcelSolving LP Problems with Excel

    (cont.)(cont.)

  • 8/9/2019 ch13_sup

    24/27

  • 8/9/2019 ch13_sup

    25/27

    Copyright 2006 John Wiley & Sons, Inc.Copyright 2006 John Wiley & Sons, Inc. Supplement 13Supplement 13--2525

    Sensitivity Range for Labor

    Hours

  • 8/9/2019 ch13_sup

    26/27

  • 8/9/2019 ch13_sup

    27/27

    Copyright 2006 John Wiley & Sons, Inc.Copyright 2006 John Wiley & Sons, Inc. Supplement 13Supplement 13--2727

    Copyright 2006 John Wiley & Sons, Inc.Copyright 2006 John Wiley & Sons, Inc.All rights reserved. Reproduction or translation of thisAll rights reserved. Reproduction or translation of thiswork beyond that permitted in section 117 of the 1976work beyond that permitted in section 117 of the 1976United States Copyright Act without express permissionUnited States Copyright Act without express permissionof the copyright owner is unlawful. Request for furtherof the copyright owner is unlawful. Request for furtherinformation should be addressed to the Permissioninformation should be addressed to the PermissionDepartment, John Wiley & Sons, Inc. The purchaserDepartment, John Wiley & Sons, Inc. The purchasermay make backmay make back--up copies for his/her own use only andup copies for his/her own use only andnot for distribution or resale. The Publisher assumes nonot for distribution or resale. The Publisher assumes noresponsibility for errors, omissions, or damages causedresponsibility for errors, omissions, or damages causedby the use of these programs or from the use of theby the use of these programs or from the use of the

    information herein.information herein.