Unit 6.3 - Linear Program Simplex Method
Unit 6.3 - Linear Program Simplex Method
Tableau Form Step 2. Set up the standard form by adding slack and/or
subtracting surplus variables
A basic feasible solution to the system of m linear
constraint equations and n variables is required as a Step 3. Set up the tableau form
starting point for the simplex method. The purpose of
tableau form is to provide an initial basic feasible Setting Up the Initial Simplex Tableau
solution. Recall that for the HighTech problem, the After a linear programming problem has been converted
standard-form representation is to tableau form, we have an initial basic feasible solution
that can be used to begin the simplex method.
a. For each constraint equation, the coefficient of one a ij = coefficient associated with variable j in constraint i
of the m basic variables in that equation must be 1,
Portion of the initial simplex tableau
and the coefficients for all the remaining basic
variables in that equation must be 0
b. The coefficient for each basic variable must be 1 in
only one constraint equation
The current basic variable in this constraint equation is Improving the Solution
s1. Assuming that x 2 remains a nonbasic variable with a We must next determine which of the current basic
value of 0, if x 1 is increased in value by 1, then s1 must variables to make nonbasic.
be decreased by 3 for the constraint to be satisfied.
Notice that each of the coefficients in the x 1 column
Similarly, if we were to increase the value of x 1 by 1 (and indicated the amount of decrease in the corresponding
keep x 2=0 ¿, we can see from the second and third basic variable that would result from increasing x 1 by
equations that although s2 would not decrease, s3 would one unit. Considering the first row, we see that every unit
of the Deskpro produced will use 3 hours of assembly
decrease by 8.
time, reducing s1 by 3. In the current solution, s1 = 150
and x 1 = 0. Thus – considering this row only - the
maximum possible value of x 1 can be calculated by
solving
3 x 1=150
x 1=50
Look at the net evaluation row (c j−z j ), and select the Thus, the current basic variable associated with row 3 (
variable to enter the basis that will cause the largest per- z 3) is the variable selected to leave the basis. In the
unit improvement in the value of the objective function.
tableau we have circled a 31=8 to indicate that the
In the case of a tie, follow the convention of selecting the
variable to enter the basis that corresponds to the left variable corresponding to the first column is to enter the
most of the columns. basis and that the basic variable corresponding to the
third row is to leave the basis.
To illustrate the computations involved, we add an extra
bi
column to the right of the tableau showing the ratios.
aij
Adapting the usual linear programming terminology, we Step 2. Add slack variables to each constraint to obtain
refer to this circled element as the pivot element. The standard form. This also provides the tableau form
column and the row containing the pivot element are necessary to identify an initial basic feasible solution for
called the pivot column and the pivot row, problems involving all less-than-or-equal-to constraints
respectively. with nonnegative right-hand-side values.
To improve the current solution of ( Step 3. Set up the initial simplex tableau
x 1=0 , x 2=0 , s 1=150 , s 2=20 , and s3=300), we should
Step 4. Choose the nonbasic variable with the largest
increase x 1 to 37.5. the production of 37.5 units of the
entry in the net evaluation row to bring into the basis.
Deskpro results in a profit of 50(37.5)=1875 . In This variable identifies the pivot column: the column
producing 37.5 units of the Deskpro, s3 will be reduced associated with the incoming variable.
to zero.
Step 5. Choose as the pivot row that row with the
Hence, x 1 will become the new basic variables, bi
smallest ratio of for a ij >0 where j is the pivot
replacing s3 in the previous basis. aij
column. This pivot row is the row of the variable leaving
Calculating the Next Tableau the basis when variable j enters.
We now want to update the simplex tableau in such a Step 6. Perform the necessary elementary row
fashion that the column associated with the new basic operations to convert the column for the incoming
variable is a unit column; in this way its value will be variable to a unit column with a 1 in the pivot row.
given by the righthand-side value of the corresponding
row. a. Divide each element of the pivot row by the pivot
element (the element in the pivot row and pivot
We would like the column in the new tableau column)
corresponding to x 1 to look just like the column b. Obtain zeroes in all other positions of the pivot
column by adding or subtracting an appropriate
corresponding to s3 in the original tableau, so our goal is
multiple of the new pivot row. Once the row
to make the column in A matrix corresponding to x 1 operations have been completed, the value of
appear as the new basic feasible solution can be read from
the b column of the tableau.
0
0
1 Step 7. Test for optimality. If c j −z j ≤0 for all columns,
the solution is optimal. If not, return to step 4.
The way in which we transform the simplex tableau so
that it still represents an equivalent system of constraint
equations is to use the following elementary row
operations.