Simplex method
Simplex moves between basic feasible solutions while improving the objective. The sign of a reduced cost is meaningful only after you fix the objective convention. Here the primary convention is maximisation with reduced cost .
5.1 Bases and reduced costs
For , take to have independent rows and columns. Choose independent columns as basis ; the remaining columns form . Basic and nonbasic variables are ; are their objective coefficients. For column , is its basis-imputed objective coefficient, so .
A basic solution has at most nonzero variables; a nondegenerate BFS has exactly positive basic variables. There are at most candidate bases, but singular column choices are not bases, some basic solutions are infeasible, and several bases may represent the same degenerate vertex.
5.2 Entering variable and minimum-ratio test
Past papers · ME 2020–2026 (10 papers): 1 question, 2 marks
Select a nonbasic entering variable with for maximisation. Increase only that variable from zero. Basic variable then changes as .
In a dictionary written with a plus sign, , only negative entries in column constrain the increase. A degenerate pivot has and need not improve the value. Tied ratios can create degeneracy; consistent anti-cycling rules such as choosing the smallest eligible variable index prevent cycling. An optimal zero reduced cost permits another optimum only if there is a nonzero feasible move along an optimal direction; a zero-length pivot alone does not prove distinct optimal points.
5.3 Pivot arithmetic
Write the tableau constraints as with identity columns for the current basis. Let row leave and column enter; the pivot element is .
You can instead solve the leaving row for and substitute it into every other constraint and the objective. This dictionary method is often faster for a GATE question asking only for the next objective function.
5.4 Artificial variables and infeasibility
After making RHS values nonnegative, add a slack for , subtract a surplus and add an artificial variable for , and add an artificial variable for an equality lacking a usable starting basis. Artificial variables are temporary algebraic devices.
Before pivoting, eliminate coefficients of current basic artificial variables from the objective row. At a zero Phase-I optimum, remove artificial columns and restore the original objective in canonical form. If an artificial variable remains basic at zero, pivot it out using a non-artificial nonzero coefficient if possible; otherwise the zero row is redundant and can be removed. A positive artificial variable at the Phase-I optimum proves infeasibility.
Last-minute recall
- A basis consists of independent columns, not arbitrary positive variables.
- Check primal feasibility before using the reduced-cost stopping test.
- Fix versus before choosing an entering column.
- Ratio-test only coefficients that make a basic variable decrease.
- Compare if asked for the best adjacent improvement.
- A zero-length pivot can change the basis without changing the point.
- Phase I must reach zero before the original LP can be solved.