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 , and checking feasibility.
Tutorial
Bases, Basic Variables, and Non-Basic Variables
Recall that a linear program in standard form has constraints of the form
where is an matrix with and full row rank. Since the system 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 variables to treat as "active" and forcing the remaining to be zero.
A basis is a set of column indices such that the corresponding columns of are linearly independent. The matrix
formed by these columns is called the basis matrix and is necessarily invertible.
The variables indexed by are the basic variables, written The remaining variables are the non-basic variables, written The columns of not in the basis form the non-basic matrix
For instance, consider
Here and Choosing the basis we obtain
with and