1 / 16

Linear Programming

Linear Programming. Model consisting of linear relationships representing a firm’s objectives & resource constraints Decision variables are mathematical symbols representing levels of activity of an operation Objective function is a linear relationship reflecting objective of an operation

milla
Télécharger la présentation

Linear Programming

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Linear Programming • Model consisting of linear relationships representing a firm’s objectives & resource constraints • Decision variables are mathematical symbols representing levels of activity of an operation • Objective function is a linear relationship reflecting objective of an operation • Constraint is a linear relationship representing a restriction on decision making 2000 by Prentice-Hall, Inc

  2. General Structure of a Linear Programming (LP) Model Max/min z = c1x1 + c2x2 + ... + cnxn subject to: a11x1 + a12x2 + ... + a1nxnb1(or, =) a21x1 + a22x2 + ... + a2nxnb2 : am1x1 + am2x2 + ... + amnxnbm xj = decision variables bi = constraint levels cj = objective function coefficients aij = constraint coefficients 2000 by Prentice-Hall, Inc

  3. RESOURCE REQUIREMENTS Labor Clay Revenue PRODUCT (hr/unit) (lb/unit) ($/unit) Bowl 1 4 40 Mug 2 3 50 There are 40 hours of labor and 120 pounds of clay available each day Decision variables x1 = number of bowls to produce x2 = number of mugs to produce Linear Programming Model Formulation Example S9.1 2000 by Prentice-Hall, Inc

  4. Objective Function and Constraints Maximize Z = $40 x1 + 50 x2 Subject to x1 + 2x2 40 hr (labor constraint) 4x1 + 3x2 120 lb (clay constraint) x1 , x2 0 Solution is x1 = 24 bowls x2 = 8 mugs Revenue = $1,360 Example S9.1 2000 by Prentice-Hall, Inc

  5. Graphical Solution Method Plot model constraint on a set of coordinates in a plane Identify the feasible solution space on the graph where all constraints are satisfied simultaneously Plot objective function to find the point on boundary of this space that maximizes (or minimizes) value of objective function 2000 by Prentice-Hall, Inc

  6. 50 – 40 – 30 – 20 – 10 – 0 – x2 4 x1 + 3 x2 120 lb Area common to both constraints x1 + 2 x2 40 hr | 10 | 20 | 30 | 40 | 50 | 60 x1 Graph of Pottery Problem Example S9.2 2000 by Prentice-Hall, Inc

  7. x2 $800 = 40x1 + 50x2 Optimal point B | 10 | 20 | 30 | 40 x1 Plot Objective Function 40 – 30 – 20 – 10 – 0 – Example S9.2 2000 by Prentice-Hall, Inc

  8. x1 = 0 bowls x2 =20 mugs Z = $1,000 x2 x1 = 224 bowls x2 =8 mugs Z = $1,360 40 – 30 – 20 – 10 – 0 – x1 = 30 bowls x2 =0 mugs Z = $1,200 A B C | 10 | 20 | 30 | 40 x1 Extreme Corner Points Example S9.2 2000 by Prentice-Hall, Inc

  9. 40 – 30 – 20 – 10 – 0 – x2 4x1 + 3x2 120 lb Z = 70x1 + 20x2 Optimal point: x1 = 30 bowls x2 =0 mugs Z = $2,100 A B x1 + 2x2 40 hr C | 10 | 20 | 30 | 40 x1 Objective Function Determines Optimal Solution Example S9.2 2000 by Prentice-Hall, Inc

  10. The Simplex Method • A mathematical procedure for solving linear programming problems according to a set of steps • Based on solving simultaneous equations and matrix algebra • Computers use the simplex method to solve linear programming problems 2000 by Prentice-Hall, Inc

  11. Converting Model Constraints • Slack variables added to  constraints to represent unused resources • x1+ 2x2+ s1=40hours of labor • 4x1+ 3x2+ s2 =120lb of clay • Slack variables have a 0 coefficient in the objective function • Z = $40x1+ $50x2 + 0s1 + 0s2 2000 by Prentice-Hall, Inc

  12. 40 – 30 – 20 – 10 – 0 – x1 = 0 x2 =20 s1 = 0 s2 =60 x2 4x1 + 3x2 + s2 =120 x1 = 24 x2 =8 s1 = 0 s2 =0 x1 = 30 x2 =0 s1 = 10 s2 =0 x1 + 2x2 + s1 = 40 A B C | 10 | 20 | 30 | 40 x1 Figure S9.1 Solutions at Extreme Points 2000 by Prentice-Hall, Inc

  13. Converting Model Constraints • Surplus variables subtracted from constraints to represent excess above resource requirement 2x1 + 4x216 2x1 + 4x2 - s1 =16 But s1 is negative 2(0) + 4(0) - s1 =16 s1 = -16 2000 by Prentice-Hall, Inc

  14. Click on “Tools” to invoke “Solver.” Objective function Decision variables – bowls (x1)=B10; mugs (x2)=B11 Solving LP Problems Exhibit S9.3 2000 by Prentice-Hall, Inc

  15. After all parameters and constraints have been input, click on “Solve.” Objective function Decision variables C6*B10+D6*B11≤40 C7*B10+D7*B11≤120 Click on “Add” to insert contraints. Solving LP Problems Exhibit S9.4 2000 by Prentice-Hall, Inc

  16. Solving LP Problems Exhibit S9.5 2000 by Prentice-Hall, Inc

More Related