The Big-M Method for Initialization

Introduces the Big-M method for setting up a starting tableau when the standardized LP lacks an obvious initial basic feasible solution. Covers adding artificial variables, attaching the Big-M penalty to the objective, performing the z-row reduction to zero out artificial columns, and identifying the first entering variable when reduced costs contain the symbol M.

Step 1 of 157%

Tutorial

Artificial Variables

When we standardize an LP for the simplex method, each \le constraint contributes a slack variable whose column is a unit vector — the slack can serve as a basic variable in the initial tableau at value bib_i. But \ge and == constraints don't yield such a ready-made basic column.

The Big-M method patches this gap by attaching an artificial variable ai0a_i \ge 0 to every constraint that lacks an obvious initial basic variable. The artificial has no physical meaning in the original problem — it is a placeholder that gives the simplex something to start with.

The conversion rules (assuming bi0b_i \ge 0; otherwise multiply the constraint by 1-1 first):

Original constraintStandardized formjaijxjbijaijxj+si=bijaijxjbijaijxjsi+ai=bijaijxj=bijaijxj+ai=bi\begin{array}{l|l}\textrm{Original constraint} & \textrm{Standardized form} \\ \hline \sum_j a_{ij}x_j \le b_i & \sum_j a_{ij}x_j + s_i = b_i \\ \sum_j a_{ij}x_j \ge b_i & \sum_j a_{ij}x_j - s_i + a_i = b_i \\ \sum_j a_{ij}x_j = b_i & \sum_j a_{ij}x_j + a_i = b_i \end{array}

To illustrate, the constraints

x1+x28,x1+2x24x_1 + x_2 \le 8, \qquad x_1 + 2x_2 \ge 4

standardize to

x1+x2+s1=8,x1+2x2s2+a1=4.x_1 + x_2 + s_1 = 8, \qquad x_1 + 2x_2 - s_2 + a_1 = 4.

The initial basis is {s1,a1}\{s_1, a_1\} with values s1=8s_1 = 8 and a1=4a_1 = 4 (and x1=x2=s2=0x_1 = x_2 = s_2 = 0).

navigate · Enter open · Esc close · ⌘K/Ctrl K toggle