Bases and Basic Variables

Introduces the algebraic machinery of bases for a linear program in standard form: selecting m linearly independent columns of the constraint matrix to form the basis matrix B, identifying basic and non-basic variables, computing the corresponding basic solution via xB=B1b\mathbf{x}_B = B^{-1}\mathbf{b}, and checking feasibility.

Step 1 of 157%

Tutorial

Bases, Basic Variables, and Non-Basic Variables

Recall that a linear program in standard form has constraints of the form

Ax=b,x0,A\mathbf{x} = \mathbf{b}, \qquad \mathbf{x} \geq \mathbf{0},

where AA is an m×nm \times n matrix with m<nm < n and full row rank. Since the system Ax=bA\mathbf{x} = \mathbf{b} has more unknowns than equations, it admits infinitely many solutions. The basic feasible solutions (the vertices of the feasible region) are obtained by selecting which mm variables to treat as "active" and forcing the remaining nmn-m to be zero.

A basis is a set of mm column indices B={j1,j2,,jm}{1,2,,n}\mathcal{B} = \{j_1, j_2, \ldots, j_m\} \subseteq \{1, 2, \ldots, n\} such that the corresponding columns of AA are linearly independent. The m×mm \times m matrix

B=[Aj1  Aj2    Ajm]B = \bigl[\,A_{j_1}\ \big|\ A_{j_2}\ \big|\ \cdots\ \big|\ A_{j_m}\,\bigr]

formed by these columns is called the basis matrix and is necessarily invertible.

The variables indexed by B\mathcal{B} are the basic variables, written xB.\mathbf{x}_B. The remaining nmn-m variables are the non-basic variables, written xN.\mathbf{x}_N. The columns of AA not in the basis form the non-basic matrix N.N.

For instance, consider

A=[12103101].A = \begin{bmatrix} 1 & 2 & 1 & 0 \\ 3 & 1 & 0 & 1 \end{bmatrix}.

Here m=2m = 2 and n=4.n = 4. Choosing the basis B={3,4},\mathcal{B} = \{3, 4\}, we obtain

B=[1001],N=[1231],B = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}, \qquad N = \begin{bmatrix} 1 & 2 \\ 3 & 1 \end{bmatrix},

with xB=(x3,x4)\mathbf{x}_B = (x_3, x_4) and xN=(x1,x2).\mathbf{x}_N = (x_1, x_2).

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