Definition · Basis, basic solution, basic feasible solutionFor a standard-form system with m equations and n ≥ m columns, a basis is a choice of m columns whose matrix is invertible. Setting the other n - m variables to zero and solving for the basic ones gives the basic solution belonging to that basis. If every basic variable comes out at or above zero it is a basic feasible solution, and it is a corner of the feasible region.
Nothing in that definition mentions the objective. A basis is a choice of columns, the point follows from the choice, and the objective only decides which of these points you want. Two different bases can even name the same point — which is degeneracy, and “Degeneracy, Cycling and Bland’s Rule” is where it matters.
Example · The five corners of one small region, and their basesTake maximise 3x₁ + 5x₂ subject to x₁ ≤ 4 (plant A hours), 2x₂ ≤ 12 (plant B hours) and 3x₁ + 2x₂ ≤ 18 (plant C hours), with one slack per row. Every column is one of x₁, x₂, s₁, s₂, s₃, three of them are basic, and the region has five corners.
(0, 0) stands on {s₁, s₂, s₃} at z = 0; (0, 6) on {s₁, x₂, s₃} at 30; (2, 6) on {s₁, x₂, x₁} at 36; (4, 0) on {x₁, s₂, s₃} at 12; (4, 3) on {x₁, s₂, x₂} at 27. The basis at the origin is the three slacks, which is what makes the origin the free starting corner of a programme with only ≤ rows.
Definition · Adjacent bases, and an edgeTwo bases are adjacent when they differ in exactly one column. The corners they name are then the two ends of one edge of the feasible region, and one pivot of the simplex method moves between them: one column enters the basis and one leaves.
Read the two verdicts off the sets rather than off the drawing. From {s₁, s₂, s₃} at the origin, {s₁, x₂, s₃} is one exchange away and so is {x₁, s₂, s₃} — the two edges of the region that leave the origin. {x₁, s₂, x₂} at (4, 3) needs s₁ and s₃ out and x₁ and x₂ in: two changes at once, so no pivot goes there. The lab refuses that move and prints the two columns that would have had to change together.
The walk, and the licence to stop
From the origin the method takes the edge to (0, 6), raising z from 0 to 30, then the edge to (2, 6), raising it to 36. At (2, 6) every edge leaving the corner lowers z, so it stops. Two pivots, three corners visited, two corners never examined.
Theorem · Why a corner with no improving edge is the best corner anywhereA linear objective on a convex feasible region has no local maximum that is not a global maximum. Convexity, and Why a Local Optimum Is Global proves this, and it is the whole licence for stopping: the method checks the edges at one corner and concludes something about every point of the region.
That licence is what separates this from hill climbing. A method that walks uphill on an arbitrary surface can only report a local summit; here the surface is a plane and the region has no dents in it, so a corner that beats its neighbours beats everything. Without that theorem the method would be a heuristic.
It also explains why the number of corners is not the amount of work. A programme with n columns and m rows has at most n choose m bases, which grows ferociously, and the region above has ten possible choices of three columns from five, of which five are corners. The method visited three. Termination and the Klee–Minty Cube is where the honest count lives, and the news there is mixed.
One warning about reading a basis off a picture: the basis is not “the variables that are not zero”. At a corner where three boundary lines meet, one basic variable is zero as well, and two different bases name that single point. That is the subject of “Degeneracy, Cycling and Bland’s Rule” and it is worth knowing now, because it is the one case where corner and basis stop being the same thing.