Optimization 3rd Lecture 3rd Stage 2024-2025_241013_002111
Optimization 3rd Lecture 3rd Stage 2024-2025_241013_002111
Simplex Method
- Standard form
- Introducing slack variables
- Creating the tableau
- Pivot variables
- Creating a new tableau
- Checking for optimality
- Identify optimal values
Basic Terms
Slack Variables: A variable added to convert an inequality of equal to or
less than type to equality.
Surplus Variable: A variable subtracted to convert an equality of equal to or
greater than type to equality.
Artificial Variable: A fictitious variable included in the case of inequality of
type and equality to satisfy the non negativity condition of a basic feasible
solution.
Standard Form of LPP
We have to convert the LPP into the standard form of LPP before the
use of simplex method. The standard form of the LPP should have the
following characteristics;
i. All the constraints should be expressed as equations by adding slack
or surplus and / or artificial variables.
ii. The right hand side of each constraint should be made non negative
if it is not, this should be done by multiplying both sides of the
resulting constraints by -1.
iii. The objective function should be of the maximization type.
The general standard form of the LPP is expressed as follows
8) Repeat the process by identifying the most negative entry on the left side of the
last row.
9) Once the left side of last row is all nonnegative, the solution can be found. The
value of each row variables or active variables is equal to the right most entry in the
row. All inactive variables equal zero.
Example:
Maximize Z = 2 x + 5 y
Subject to
2x+y≤5
x + 2y ≤ 4
x, y ≥ 0
Convert to a system of equations and set the objective function equal 0
2x+y+s=5
x + 2y + t = 4
-2 x - 5 y + Z = 0
This system can be written as follows
2x+y+s+0t+0Z=5
x + 2y + 0 s + t + 0 Z = 4
-2 x - 5 y + 0 s + 0 t + Z = 0
S, t , Z are the active variables that represent the identity columns in the
table The initial basic feasible solutions are the active variables s = 5 , t
= 4, Z = 0
Since all the entries of the last row are 0 and positive , this mean we have to
stop Then , the active variables are y = 2 , s = 3 , and Z = 10 . Then the non-
active variables are equal to zero (hence x = 0 ).