7. Simplex Algorithm Flashcards
How can inequalities be transformed into equations?
Using slack variables
What are slack variables?
Represent the amount of ‘slack’ between an actual quantity and the maximum possible value of that quantity
What 2 things does the simplex algorithm allow you to do?
- Determine if a particular vertex (on the edge of feasible region) is optimal
- Decide which adjacent vertex you should move to in order to increase the value of the objective function
Where does the simplex method start?
From a basic feasible solution, at the origin
How does the simplex method progress with each iteration?
Moves to an adjacent point within the feasible region until optimal solution is found
First step to solving a maximising linear programming problem using a simplex tableau
Draw the tableaux.
Basic variable column on the left, column for each variable (including slacks) and a value column.
One row for each constraint and bottom row for objective function.
Second step to solving a maximising linear programming problem using a simplex tableau
Create the initial tableau.
Enter coefficients of variables in appropriate row and column.
Third step to solving a maximising linear programming problem using a simplex tableau
Look along objective row for most negative entry which indicates the pivot column
Fourth step to solving a maximising linear programming problem using a simplex tableau
Calculate the θ values for each of the constraint rows where θ = (term in value column) / (term in pivot column)
Fifth step to solving a maximising linear programming problem using a simplex tableau
Select the row with the smallest, positive θ value to become the pivot row
Sixth step to solving a maximising linear programming problem using a simplex tableau
The element in the pivot row and the pivot column is the pivot
Seventh step to solving a maximising linear programming problem using a simplex tableau
Divide row found in step 5 by the pivot and change basic variable at start of row to variable at top of pivot column. This is now the pivot row.
Eighth step to solving a maximising linear programming problem using a simplex tableau
Use pivot row to eliminate pivot’s variable from other rows. Pivot column now contains one 1 and zeros.
Ninth step to solving a maximising linear programming problem using a simplex tableau
Repeat steps 3 to 8 until there are no more negative numbers in the objective row.
Tenth step to solving a maximising linear programming problem using a simplex tableau
Tableau is now optimal and non-zero values can be read off using basic variable column and value column.