







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!








The Simplex method is an approach to solving linear programming models by hand using slack variables, tableaus, and pivot variables as a means to finding the optimal solution of an optimization problem. A linear program is a method of achieving the best outcome given a maximum or minimum equation with linear constraints. Most linear programs can be solved using an online solver such as MatLab, but the Simplex method is a technique for solving linear programs by hand. To solve a linear programming model using the Simplex method the following steps are necessary: ● Standard form ● Introducing slack variables ● Creating the tableau ● Pivot variables ● Creating a new tableau ● Checking for optimality ● Identify optimal values This document breaks down the Simplex method into the above steps and follows the example linear programming model shown below throughout the entire document to find the optimal solution.
Standard form is the baseline format for all linear programs before solving for the optimal solution and has three requirements: (1) must be a maximization problem, (2) all linear constraints must be in a less-than-or-equal-to inequality, (3) all variables are non-negative. These requirements can always be satisfied by transforming any given linear program using basic algebra and substitution. Standard form is necessary because it creates an ideal starting point for solving the Simplex method as efficiently as possible as well as other methods of solving optimization problems. To transform a minimization linear program model into a maximization linear program model, simply multiply both the left and the right sides of the objective function by -1. Transforming linear constraints from a greater-than-or-equal-to inequality to a less-than- or-equal-to inequality can be done similarly as what was done to the objective function. By multiplying by -1 on both sides, the inequality can be changed to less-than-or-equal-to. Once the model is in standard form, the slack variables can be added as shown in Step 2 of the Simplex method.
The optimal solution of a maximization linear programming model are the values assigned to the variables in the objective function to give the largest zeta value. The optimal solution would exist on the corner points of the graph of the entire model. To check optimality using the tableau, all values in the last row must contain values greater than or equal to zero. If a value is less than zero, it means that variable has not reached its optimal value. As seen in the previous tableau, three negative values exists in the bottom row indicating that this solution is not optimal. If a tableau is not optimal, the next step is to identify the pivot variable to base a new tableau on, as described in Step 5.
The pivot variable is used in row operations to identify which variable will become the unit value and is a key factor in the conversion of the unit value. The pivot variable can be identified by looking at the bottom row of the tableau and the indicator. Assuming that the solution is not optimal, pick the smallest negative value in the bottom row. One of the values lying in the column of this value will be the pivot variable. To find the indicator, divide the beta values of the linear constraints by their corresponding values from the column containing the possible pivot variable. The intersection of the row with the smallest non-negative indicator and the smallest negative value in the bottom row will become the pivot variable. In the example shown below, -10 is the smallest negative in the last row. This will designate the x 2 column to contain the pivot variable. Solving for the indicator gives us a value of
for the first constraint, and a value of
for the second constraint. Due to
being the smallest non-negative indicator, the pivot value will be in the second row and have a value of 5.
Now that the new pivot variable has been identified, the new tableau can be created in Step 6 to optimize the variable and find the new possible optimal solution.
II. After the unit value has been determined, the other values in the column containing the unit value will become zero. This is because the x 2 in the second constraint is being optimized, which requires x 2 in the other equations to be zero. III. In order to keep the tableau equivalent, the other variables not contained in the pivot column or pivot row must be calculated by using the new pivot values. For each new value, multiply the negative of the value in the old pivot column by the value in the new pivot row that corresponds to the value being calculated. Then add this to the old value from the old tableau to produce the new value for the new tableau. This step can be condensed into the equation on the next page:
New tableau value = (Negative value in old tableau pivot column) x (value in new tableau pivot row) + (Old tableau value) Old Tableau: New Tableau: Numerical examples are provided below to help explain this concept a little better. Numerical examples: I. To find the s 2 value in row 1: New tableau value = (Negative value in old tableau pivot column) * (value in new tableau pivot row) + (Old tableau value) New tableau value = (-3) * (
II. To find the x 1 variable in row 3: New tableau value = (Negative value in old tableau pivot column) * (value in new tableau pivot row) + (Old tableau value) New value = (10) * (
Once the new tableau has been completed, the model can be checked for an optimal solution.
After the new pivot variable has been identified, a new tableau will need to be created. Introduced in Step 6, the tableau is used to optimize the pivot variable while keeping the rest of the tableau equivalent. I. Make the pivot variable 1 by multiplying the row containing the pivot variable by the reciprocal of the pivot value. In the tableau below, the pivot value was
, so everything is multiplied by 5. II. Next, make the other values in the column of the pivot variable zero. This is done by taking the negative of the old value in the pivot column and multiplying it by the new value in the pivot row. That value is then added to the old value that is being replaced.
Using the new tableau, check for optimality. Explained in Step 4, an optimal solution appears when all values in the bottom row are greater than or equal to zero. If all values are greater than or equal to zero, skip to Step 12 because optimality has been reached. If negative values still exist, repeat steps 8 and 9 until an optimal solution is obtained.
Once the tableau is proven optimal the optimal values can be identified. These can be found by distinguishing the basic and non-basic variables. A basic variable can be classified to have a single 1 value in its column and the rest be all zeros. If a variable does not meet this criteria, it is considered non-basic. If a variable is non-basic it means the optimal solution of that variable is zero. If a variable is basic, the row that contains the 1 value will correspond to the beta value. The beta value will represent the optimal solution for the given variable. Basic variables: x 1 , s 1 , z Non-basic variables: x 2 , x 3 , s 2 For the variable x 1 , the 1 is found in the second row. This shows that the optimal x 1 value is found in the second row of the beta values, which is 8. Variable s 1 has a 1 value in the first row, showing the optimal value to be 2 from the beta column. Due to s 1 being a slack variable, it is not actually included in the optimal solution since the variable is not contained in the objective function. The zeta variable has a 1 in the last row. This shows that the maximum objective value will be 64 from the beta column. The final solution shows each of the variables having values of: x 1 = 8 s 1 = 2 x 2 = 0 s 2 = 0 x 3 = 0 z = 64 The maximum optimal value is 64 and found at (8, 0, 0) of the objective function.
Glossary
satisfy when finding the optimal solution.
by its ‘greater than’ or ‘less than’ symbols in the place of a traditional equal sign.
minimum equation with linear constraints.
the variables in the objective function to give the largest zeta value. The optimal solution would exist on the corner points of the graph of the entire model.
value and is a key factor in the conversion of the unit value.
slack variables, tableaus, and pivot variables as a means to finding the optimal solution of an optimization problem.
well as for checking optimality.
linear program to transform them from inequality constraints to equality constraints.
optimal solution.