The Simplex method
Here, we consider a linear optimization problem in standard form,
The fundamental theorem of linear programming gives us an algorithm for quickly finding an optimal solution. One way is to check all possible choices of basic indices, but this quickly becomes slow. The idea with the Simplex method is to repeatedly walk from a basic solution to a neighbouring one with lower cost, until this cannot be done.
We assume that we have a basic feasible solution and we wish to move to one with lower cost. "Moving" away from the basic feasible solution means increasing a non-basic variable from zero. Let
Given a basic index tuple
We then have
Given a basic index tuple
This gives us
If