Presentation is loading. Please wait.

Presentation is loading. Please wait.

Stevenson and Ozgur First Edition Introduction to Management Science with Spreadsheets McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,

Similar presentations


Presentation on theme: "Stevenson and Ozgur First Edition Introduction to Management Science with Spreadsheets McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,"— Presentation transcript:

1 Stevenson and Ozgur First Edition Introduction to Management Science with Spreadsheets McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 4 Supplement Linear Programming: The Simplex Method Part 2 Deterministic Decision Models

2 Copyright © 2007 The McGraw-Hill Companies. All rights reserved. McGraw-Hill/Irwin 4S–2 Learning Objectives 1.Explain the ways in which the simplex method is superior to the graphical method for solving linear programming problems. 2.Solve small maximization problems manually using the simplex method. 3.Interpret simplex solutions. 4.Convert = and constraints into standard form. 5.Solve maximization problems that have mixed constraints and interpret those solutions. After completing this chapter, you should be able to: >

3 Copyright © 2007 The McGraw-Hill Companies. All rights reserved. McGraw-Hill/Irwin 4S–3 Learning Objectives (cont’d) 6.Solve minimization problems and interpret those solutions. 7.Discuss unbound solutions, degeneracy, and multiple optimal solutions in terms of the simplex method and recognize infeasibility in a simplex solution. After completing this chapter, you should be able to:

4 Copyright © 2007 The McGraw-Hill Companies. All rights reserved. McGraw-Hill/Irwin 4S–4 Overview of the Simplex Method Advantages and Characteristics –More realistic approach as it is not limited to problems with two decision variables –Systematically examines basic feasible solutions for an optimal solution. –Based on the solutions of linear equations (equalities) using slack variables to achieve equality. Rule –Linear programming models have fewer equations than variables; unless the number of equations equals the number of variables, a unique solution cannot be found.

5 Copyright © 2007 The McGraw-Hill Companies. All rights reserved. McGraw-Hill/Irwin 4S–5 Developing the Initial Simplex Tableau Notation used in the simplex tableau:

6 Copyright © 2007 The McGraw-Hill Companies. All rights reserved. McGraw-Hill/Irwin 4S–6 Figure 4S–1Comparison of Server Model and General Simplex Notation

7 Copyright © 2007 The McGraw-Hill Companies. All rights reserved. McGraw-Hill/Irwin 4S–7 Table 4S–1Comparison of Server Model and General Simplex Notation (cont’d)

8 Copyright © 2007 The McGraw-Hill Companies. All rights reserved. McGraw-Hill/Irwin 4S–8 Table 4S–2Completed Initial Tableau for the Server Problem Each tableau represents a basic feasible solution to the problem. Unit Vector A simplex solution in a maximization problem is optimal if the C–Z row consists entirely of zeros and negative numbers (i.e., there are no positive values in the bottom row). When this has been achieved, there is no opportunity for improving the solution.

9 Copyright © 2007 The McGraw-Hill Companies. All rights reserved. McGraw-Hill/Irwin 4S–9 Table 4S–3Determining the Entering and Exiting Variables Select the leaving variable as the one that has the smallest nonnegative ratio of quantity divided by substitution rate.

10 Copyright © 2007 The McGraw-Hill Companies. All rights reserved. McGraw-Hill/Irwin 4S–10 Figure 4S–2The Next Corner Point Is Determined by the Most Limiting Constraint

11 Copyright © 2007 The McGraw-Hill Companies. All rights reserved. McGraw-Hill/Irwin 4S–11 Table 4S–4Starting the Second Tableau Table 4S–5Initial Tableau

12 Copyright © 2007 The McGraw-Hill Companies. All rights reserved. McGraw-Hill/Irwin 4S–12 Table 4S–6The Pivot Row of the Second Tableau Table 4S–7Revised First Row and Pivot Row of the Second Tableau

13 Copyright © 2007 The McGraw-Hill Companies. All rights reserved. McGraw-Hill/Irwin 4S–13 Table 4S–8Partially Completed Second Tableau

14 Copyright © 2007 The McGraw-Hill Companies. All rights reserved. McGraw-Hill/Irwin 4S–14 Table 4S–9Completed Second Tableau Interpreting the Second Tableau At this point, variables s 1, x 1, and s 3 are in solution. Not only are they listed in the basis, they also have a 0 in row C – Z. The solution at this point is s 1 = 56, x 1 = 11, and s 3 = 6. Note, too, that x 2 and s 2 are not in solution. Hence, they are each equal to zero. The profit at this point is $660, which is read in the Quantity column in row Z. Also, note that each variable in solution has a unit vector in its column.

15 Copyright © 2007 The McGraw-Hill Companies. All rights reserved. McGraw-Hill/Irwin 4S–15 Table 4S–10Determining the Exiting Variable

16 Copyright © 2007 The McGraw-Hill Companies. All rights reserved. McGraw-Hill/Irwin 4S–16 Figure 4S–3Moving to the Next Corner Point

17 Copyright © 2007 The McGraw-Hill Companies. All rights reserved. McGraw-Hill/Irwin 4S–17 Table 4S–11Pivot Row Values for the Third Tableau Table 4S–12Partially Completed Third Tableau

18 Copyright © 2007 The McGraw-Hill Companies. All rights reserved. McGraw-Hill/Irwin 4S–18 Table 4S–13Completed Third Tableau Interpreting the Third Tableau In this tableau, all of the values in the bottom row are either negative or zero, indicating that no additional potential for improvement exists. Hence, this tableau contains the optimal simplex solution, which is s 1 = 24 x 1 = 9 x 2 = 4

19 Copyright © 2007 The McGraw-Hill Companies. All rights reserved. McGraw-Hill/Irwin 4S–19 Summary of the Simplex Procedure for a Maximization Problem Initial Tableau 1.Write each constraint so that all variables are on the left side and a nonnegative constant is on the right. Then add a slack variable to the left side, thereby making it an equality. 2.Develop the initial tableau. 1.List the variables across the top of the table and write the objective function coefficient of each variable just above it. 2.There should be one row in the body of the table for each constraint. List slack variables in the basis column, one per row. 3.In the C column, enter the objective function coefficient of 0 for each slack variable. 4.Compute values for row Z. 5.Compute values for row C – Z.

20 Copyright © 2007 The McGraw-Hill Companies. All rights reserved. McGraw-Hill/Irwin 4S–20 Summary of the Simplex Procedure for a Maximization Problem (cont’d) Subsequent Tableaus 1.Identify the variable with the largest positive value in row C – Z. This variable will come into solution next. 2.Using the constraint coefficients in the entering variable’s column, divide each one into the corresponding Quantity column value. The smallest nonnegative ratio that results indicates which variable will leave the solution mix. 3.Compute replacement values for the leaving variable: Divide each element in the row by the row element that is in the entering variable column. These are the pivot row values for the next tableau. Enter them in the same row as the leaving variable and label the row with the name of the entering variable. Write the entering variable’s objective function coefficient next to it in column C.

21 Copyright © 2007 The McGraw-Hill Companies. All rights reserved. McGraw-Hill/Irwin 4S–21 Summary of the Simplex Procedure for a Maximization Problem (cont’d) Subsequent Tableaus (cont’d) 4.Compute values for each of the other constraint equations: 1.Multiply each of the pivot row values by the number in the entering variable column of the row being transformed (e.g., for the first row, use the first number in the entering variable’s column; for the third row, use the third number in the entering variable’s column). 2.Then subtract the resulting equation from the current equation for that row and enter the results in the same row of the next tableau. 5.Compute values for row Z: For each column, multiply each row coefficient by the row value in column C and then add the results. Enter these in the tableau. 6.6. Compute values for row C – Z: For each column, subtract the value in row Z from the objective function coefficient listed in row C at the top of the tableau.

22 Copyright © 2007 The McGraw-Hill Companies. All rights reserved. McGraw-Hill/Irwin 4S–22 Summary of the Simplex Procedure for a Maximization Problem (cont’d) Subsequent Tableaus (cont’d) 6.Examine the values in the bottom row. If all values are zero or negative, the optimal solution has been reached. The variables that comprise the solution are listed in the basis column and their optimal values can be read in the corresponding rows of the quantity column. The optimal value of the objective function will appear in row Z in the Quantity column. 7.If the solution is not optimal, repeat steps 1–7 of this section until the optimal solution has been attained.

23 Copyright © 2007 The McGraw-Hill Companies. All rights reserved. McGraw-Hill/Irwin 4S–23 Table 4S–14Summary of Use of Slack, Surplus, and Artificial Variables

24 Copyright © 2007 The McGraw-Hill Companies. All rights reserved. McGraw-Hill/Irwin 4S–24 Example 4S-1 Solve this maximization problem using the simplex approach:

25 Copyright © 2007 The McGraw-Hill Companies. All rights reserved. McGraw-Hill/Irwin 4S–25 Figure 4S–4Graph for Example 4S-1

26 Copyright © 2007 The McGraw-Hill Companies. All rights reserved. McGraw-Hill/Irwin 4S–26 Table 4S–15Initial Tableau for Example 4S-1

27 Copyright © 2007 The McGraw-Hill Companies. All rights reserved. McGraw-Hill/Irwin 4S–27 Table 4S–16The Second Tableau for Example 4S-1

28 Copyright © 2007 The McGraw-Hill Companies. All rights reserved. McGraw-Hill/Irwin 4S–28 Table 4S–17The Third Tableau for Example 4S-1

29 Copyright © 2007 The McGraw-Hill Companies. All rights reserved. McGraw-Hill/Irwin 4S–29 Table 4S–18The Final Tableau for Example 4S-1

30 Copyright © 2007 The McGraw-Hill Companies. All rights reserved. McGraw-Hill/Irwin 4S–30 Figure 4S–5Sequence of Tableaus for Example 4S-1

31 Copyright © 2007 The McGraw-Hill Companies. All rights reserved. McGraw-Hill/Irwin 4S–31 Example 4S-2 Solve this minimization problem using the simplex method:

32 Copyright © 2007 The McGraw-Hill Companies. All rights reserved. McGraw-Hill/Irwin 4S–32 Figure 4S–6Graph of the Problem in Example 4S-2

33 Copyright © 2007 The McGraw-Hill Companies. All rights reserved. McGraw-Hill/Irwin 4S–33 Table 4S–19 Initial Tableau for Example 4S-2

34 Copyright © 2007 The McGraw-Hill Companies. All rights reserved. McGraw-Hill/Irwin 4S–34 Table 4S–20 Second Tableau for Example 4S-2

35 Copyright © 2007 The McGraw-Hill Companies. All rights reserved. McGraw-Hill/Irwin 4S–35 Table 4S–21 Third Tableau for Example 4S-2

36 Copyright © 2007 The McGraw-Hill Companies. All rights reserved. McGraw-Hill/Irwin 4S–36 Figure 4S–7Sequence of Tableaus for Solution of Example 4S-2

37 Copyright © 2007 The McGraw-Hill Companies. All rights reserved. McGraw-Hill/Irwin 4S–37 Some Special Issues Unbounded Solutions –A solution is unbounded if the objective function can be improved without limit. –An unbounded solution will exist if there are no positive values in the pivot column. Degeneracy –A conditions that occurs when there is a tie for the lowest nonnegative ratio which, theoretically, makes it possible for subsequent solutions to cycle (i.e., to return to previous solutions).

38 Copyright © 2007 The McGraw-Hill Companies. All rights reserved. McGraw-Hill/Irwin 4S–38 Example 4S–3

39 Copyright © 2007 The McGraw-Hill Companies. All rights reserved. McGraw-Hill/Irwin 4S–39 Table 4S–22Second Tableau

40 Copyright © 2007 The McGraw-Hill Companies. All rights reserved. McGraw-Hill/Irwin 4S–40 Table 4S–23Final Simplex Tableau

41 Copyright © 2007 The McGraw-Hill Companies. All rights reserved. McGraw-Hill/Irwin 4S–41 Some Special Issues (cont’d) Multiple Optimal Solutions –Occur when the same maximum value of the objective function might be possible with a number of different combinations of values of the decision variables because the objective function is parallel to a binding constraint.

42 Copyright © 2007 The McGraw-Hill Companies. All rights reserved. McGraw-Hill/Irwin 4S–42 Table 4S–24Final Tableau for Modified Server Problem with an Alternative Optimal Solution

43 Copyright © 2007 The McGraw-Hill Companies. All rights reserved. McGraw-Hill/Irwin 4S–43 Table 4S–25The Alternate Optimal Solution for the Modified Server Problem

44 Copyright © 2007 The McGraw-Hill Companies. All rights reserved. McGraw-Hill/Irwin 4S–44 Some Special Issues (cont’d) Infeasibility –A problem in which no combination of decision and slack/surplus variables will simultaneously satisfy all constraints. –Can be the result of an error in formulating a problem or it can be because the existing set of constraints is too restrictive to permit a solution. –Recognized by the presence of an artificial variable in a solution that appears optimal (i.e., a tableau in which the signs of the values in row C – Z indicate optimality), and it has a nonzero quantity.

45 Copyright © 2007 The McGraw-Hill Companies. All rights reserved. McGraw-Hill/Irwin 4S–45 Table 4S–26Simplex Tableaus for Infeasibility Problem for Example 4S-4

46 Copyright © 2007 The McGraw-Hill Companies. All rights reserved. McGraw-Hill/Irwin 4S–46 Example 4S–4


Download ppt "Stevenson and Ozgur First Edition Introduction to Management Science with Spreadsheets McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,"

Similar presentations


Ads by Google