Computing a Basic Feasible Solution from a Basis
Given a linear program in standard form and a basis (a set of m linearly independent column indices), compute the associated basic solution by setting non-basic variables to zero and solving for the basic variables. Determine whether the resulting solution is a basic feasible solution by checking nonnegativity.
Tutorial
Computing a Basic Solution
A linear program in standard form is
where is an matrix with , and . A basis is a set of column indices whose corresponding columns of form an invertible matrix . The variables are the basic variables, collected into the vector , and the remaining variables are non-basic.
To compute the basic solution associated with :
- Set every non-basic variable to .
- Solve
for the values of the basic variables.
For example, consider
with basis . The non-basic variable is , so . The basic-variable system is
which gives and . The basic solution is .