Explanation of Simplex Method
Explanation of Simplex Method
Explanation of Simplex Method
Introduction
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
Standard form is the baseline format for all linear programs before solving for the optimal
solution. 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.
After the slack variables are introduced, the tableau can be set up to check for optimality.
0 S1 18
2 1 1 0 0
0 S2 42
2 3 0 1 0
0 S3 3 24
Pivot 1 0 0 1
element
Once the tableau has been completed, the model can be checked for an optimal solution.
0 S2 42 42/2=21
2 3 0 1 0
0 S3 3 24 24/3=8
Pivot 1 0 0 1 Pivot row
element
Zj
0 0 0 0 0
ΔJ =Cj - Zj
3 2 0 0 0
Now that the new pivot variable has been identified, the new tableau can be created in next
Step to optimize the variable and find the new possible optimal solution.
I. To optimize the pivot variable, it will need to be transformed into a unit value (value
of 1). To transform the value, divide the pivot row with pivot value.
New tableau value = (Old tableau value)/pivot value
II. After the unit value has been determined, the other values in the column containing
the unit value will become 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.
New tableau value = (Old tableau value) - (value in old tableau pivot column) x (value in
new tableau pivot row)
Repeat Steps from 4 to 7 until all the values in bottom row are less than or equal to zero.
The given example will go through steps as:
0 S2 26 ---
0 7/3 0 1 -2/3
3 x 1 1/3 0 0 1/3 8 24
Zj
3 1 0 0 1
ΔJ =Cj - Zj
0 1 0 0 -1
Since, all values of Cj-Zj <=0, the optimality reached.
The final solution shows each of the variables having values of:
x =3 s1 = 0
y = 12 s2 = 0
s3 = 3 z = 27
Constraints are a series of equalities and inequalities that are a set of criteria necessary to
satisfy when finding the optimal solution.
Inequality is an expression that does not have one definite solution and is distinguishable
by its ‘greater than’ or ‘less than’ symbols in the place of a traditional equal sign.
Linear program is a model used to achieve the best outcome given a maximum or
minimum equation with linear constraints.
Non-basic variables are variables that are zero in terms of the optimal solution.
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.
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.
Simplex tableau is used to perform row operations on the linear programming model as
well as for checking optimality.
Standard form is the baseline format for all linear programs before solving for the
optimal solution.
Slack Variables :
Slack variable represents an unused quaintly of resources ; it is added to less than or equal
(<) to type constraints in order to get an equality constraint.
Surplus Variables :
A surplus variable represents the amount by which solution values exceed a resource.
These variables are also called ‘Negative Slack Variables’ . Surplus variables like slack
variables carry a zero coefficient in the objective function. it is added to greater than or
equal to (>) type constraints in order to get an equality constraint.
Artificial Variables :
Artificial variables are added to those constraints with equality (=) and greater than or
equal to ( > ) sign. An Artificial variable is added to the constraints to get an initial solution
to an LP problem. Artificial variables have no meaning in a physical sense and are not only
used as a tool for generating an initial solution to an LP problem.