Presentation on theme: "The Simplex Method: Standard Maximization Problems"— Presentation transcript:
1 The Simplex Method: Standard Maximization Problems Section 4.1The Simplex Method: Standard Maximization Problems
2 The Simplex MethodThe simplex method is an iterative process. Starting at some initial feasible solution (a corner point – usually the origin), each iteration moves to another corner point with an improved (or at least not worse) value of the objective function. Iteration stops when an optimal solution (if it exists) is found.
3 A Standard (maximization) Linear Programming Problem: The objective function is to be maximized.All the variables involved in the problem are nonnegative.Each constraint may be written so that the expression with the variables is less than or equal to a nonnegative constant.
4 Ex. A standard maximization problem: Maximize P = 4x + 5ySubject toFirst introduce nonnegative slack variables to make equations out of the inequalities:Next, rewrite the objective function Set = 0 with a 1 on P:–4x – 5y + P = 0
5 Form the system: Write as a tableau: Basic variables Nonbasic variablesVariables in non-unit columns are given a value of zero, so initially x = y = 0.
6 Choose a pivot:Ratios:Select column: select most negative entry in the last row (to left of vertical line).Select row: select smallest ratio: constant/entry (using only entries from selected column)Next using the pivot, create a unit column
9 All entries in the last row are nonnegative therefore an optimal solution has been reached: Assign 0 to variables w/out unit columns (u, v).Notice x = 1, y = 5, and P = 25 (the max).
10 The Simplex Method:Set up the initial simplex tableau.If all entries in the last row are nonnegative then an optimal solution has been reached, go to step 4.Perform the pivot operation: convert pivot to a 1, then use row operations to make a unit column. Return to step 2.Determine the optimal solution(s). The value of the variable heading each unit column is given by the corresponding value in the column of constants. Variables heading the non-unit columns have value zero.
11 Multiple Solutions No Solution There are infinitely many solutions if and only if the last row to the right of the vertical line of the final simplex tableau has a zero in a non-unit column.No SolutionA linear programming problem will have no solution if the simplex method breaks down (ex. if at some stage there are no nonnegative ratios for computation).
12 Minimization with Constraints Ex. Minimize C = –4 x – 5ySubject toNotice if we let P = –C = 4x + 5y we have a standard maximization problem.If we solve this associated problem we find P = 25, therefore the minimum is C = –25.