Fundamentals of Operation Research

Online BA · Sem 6

Lesson 4 of 10Economics

Simplex Method Step by Step

Fundamentals of Operation Research

About the video

Lec -6 Simplex Method Maximization Problem In Hindi || Solve an example || Operation Research

Start Practicing

Study notes

The simplex method is an iterative algebraic procedure that moves from one basic feasible solution (corner point) to a better one until the optimum is reached. It can handle LPPs with many variables, where the graphical method is impractical.

Standard form

  • Write the problem as a maximisation; Min Z is equivalent to Max (-Z).
  • Make every right-hand side non-negative.
  • Add a slack variable to each <= constraint, e.g. x1 + 2x2 + s1 = 4.
  • Slack variables have zero coefficients in the objective function.
  • The initial basic feasible solution sets the decision variables to 0, so the slacks equal the RHS values.

Simplex table iterations

  • Compute Zj = sum of (CB x column entries) and the net evaluation Cj - Zj for each column.
  • Entering variable: the column with the most positive Cj - Zj (for maximisation).
  • Leaving variable: apply the minimum ratio test, RHS / positive key-column entry, and take the smallest ratio.
  • The key (pivot) element is where the key row and key column intersect.
  • Divide the key row by the pivot element, then make the other entries in the key column zero using row operations.
  • Repeat until all Cj - Zj <= 0; the solution is then optimal.

Special cases

  • No positive entries in the key column means the solution is unbounded.
  • A zero Cj - Zj for a non-basic variable at optimum indicates alternative optimal solutions.
  • A tie in the minimum ratio indicates degeneracy.
  • Artificial variables (Big-M or two-phase method) are used for >= and = constraints.

Key terms

Slack variable
A non-negative variable added to a <= constraint to turn it into an equation.
Basic feasible solution
A corner-point solution in which the non-basic variables are zero.
Entering variable
The non-basic variable with the most positive Cj - Zj in a maximisation problem.
Minimum ratio test
RHS divided by the positive key-column entries; the smallest ratio identifies the leaving variable.
Pivot element
The entry at the intersection of the key row and the key column.

Takeaways

  • Convert the problem to standard form using slack variables.
  • Entering variable: most positive Cj - Zj; leaving variable: minimum positive ratio.
  • For maximisation, the solution is optimal when all Cj - Zj <= 0.
Contribute

Was this lesson helpful?

We read every rating and fix the weakest lessons first.