Chapter 5

Simplex methodME

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 rj=cj−zjr_j=c_j-z_j.

5.1 Bases and reduced costsME

For Ax=b,x≥0Ax=b,x\ge0, take AA to have mm independent rows and nn columns. Choose mm independent columns as basis BB; the remaining columns form NN. Basic and nonbasic variables are xB,xNx_B,x_N; cB,cNc_B,c_N are their objective coefficients. For column AjA_j, zj=cBTB−1Ajz_j=c_B^TB^{-1}A_j is its basis-imputed objective coefficient, so rj=cj−zjr_j=c_j-z_j.

A basic solution has at most mm nonzero variables; a nondegenerate BFS has exactly mm positive basic variables. There are at most (nm)\binom{n}{m} 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 testME

Past papers · ME 2020–2026 (10 papers): 1 question, 2 marks

Select a nonbasic entering variable xqx_q with rq>0r_q>0 for maximisation. Increase only that variable from zero. Basic variable ii then changes as xBi=bˉi−aˉiqθx_{B_i}=\bar b_i-\bar a_{iq}\theta.

In a dictionary written with a plus sign, xB=bˉ+DxNx_B=\bar b+Dx_N, only negative entries in column qq constrain the increase. A degenerate pivot has θ∗=0\theta^*=0 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 arithmeticME

Write the tableau constraints as Aˉx=bˉ\bar Ax=\bar b with identity columns for the current basis. Let row pp leave and column qq enter; the pivot element is aˉpq>0\bar a_{pq}>0.

You can instead solve the leaving row for xqx_q 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 infeasibilityME

After making RHS values nonnegative, add a slack for ≤\le, subtract a surplus and add an artificial variable for ≥\ge, 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 cj−zjc_j-z_j versus zj−cjz_j-c_j before choosing an entering column.
  • Ratio-test only coefficients that make a basic variable decrease.
  • Compare rjθjr_j\theta_j 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.

Revise offline: the whole Operations Research handbook as one PDF

45 pages · 2.0 MBFree to read online. Sign in to download the PDF.We save the handbook, version and request time in My downloads. Privacy policy

All chapters · Corrections