Professional Documents
Culture Documents
Chapter 3.2 LPM + Simplex
Chapter 3.2 LPM + Simplex
as NBVs.
For >= and = constraints, Ai(Artificial variables) will be BVs.
Step 3. Develop the initial tableau.
1. List the variables across the top of the table and write the
objective function coefficient of each variable just above it.
2. There should be one row in the body of the table for each
constraint. List slack variables in the basis column, one per row.
3. In the C column, enter the objective function coefficient of 0 for
each slack variable.
4. Compute values for row Z.
5. Compute values for row C – Z.
Step 4. Check for Optimality
Rule: A simplex solution in a maximization problem is optimal if the C–Z
row consists entirely of zeros and negative numbers (i.e., there are no
positive values in the bottom row).
•If all C-Z value <= 0, then optimality achieved.
•If one or more C-Z > 0, this is an indication for possibility for further
improvement.
•The improvement is possible by moving to next iteration by choosing an
entering variable.
Unit Vector
side
>= add surplus(-Si) and artificial variable (Ai) to equalize.
= add only artificial variable(Ai)
objective function.
Penalization of objective function depends on the type of
objective function(OF):
i. If the objective function is maximization, the OF is penalized
by subtracting a very big coefficient of Ai (usually denoted by
–M) as –MAi from OF, in which the system will remove those
variables which negatively affect the OF.
ii. If OF is minimization, penalization is done by adding a very
big positive M as a coefficient of artificial variable in the OF
as +MAi.
iii. Artificial variable is needed only for >= and = constraints.
Type of Additional Type of OF
Constraint variable Maximization Minimization
needed
<= Slack 0 0
variable(Si)
>= Surplus(-Si) 0 0
Artificial -M +M
Var(Ai)
= Artificial -M +M
Var(Ai)
Unbounded Solutions
• A solution is unbounded if the objective function can
be improved without limit.
• An unbounded solution will exist if there are no
positive values in the pivot column of simplex table.
Degeneracy
• A conditions that occurs when there is a tie for the
lowest nonnegative ratio which, theoretically, makes it
possible for subsequent solutions to cycle (i.e., to return
to previous solutions).
Which special situation has happened and how would it be treated?
Is this optimal? How do we go to the next step if not optimal? Which special
condition has happened?
Multiple Optimal Solutions
• Occur when the same maximum value of the objective
function might be possible with a number of different
combinations of values of the decision variables because the
objective function is parallel to a binding constraint.
• Occurs when optimality condition is satisfied and a non
basic variable has a zero value under C-Z row.
• To find the alternative solution, a non basic variable with a
zero value will be made entering variable and the remaining
steps be done the same way.
leaving
ins-
solver Add in-Go-Solver Add-in(√)-OK.(Wait for
some time till configuration is completed).
To check the correct configuration, click on “Data”