Module 4 of 6 · Lesson 6 of 6
Adjacent Basic Solutions
The edge between two corners, and why travelling it changes exactly one basis column.
What you will be able to do
Given a standard-form system and two bases, the learner can decide whether they are adjacent, compute the edge direction generated by an entering variable, determine how far the step can go before feasibility fails, and explain why moving between adjacent corners changes exactly one basis column.
Orientation
The simplex method moves from corner to corner by swapping one column. This unit explains why a single swap corresponds to walking along an edge rather than jumping across the region.
Two accounts are already in place. On one side, the static account: corners are basic feasible solutions, and there are finitely many. On the other, the simplex method: it swaps a column and arrives somewhere better. What has been missing is why a swap corresponds to a walk along an edge rather than a jump across the region.
The word 'adjacent' is used here without a definition. The precise version explains several things the informal one cannot: why exactly one variable enters and one leaves, why only some rows limit the step, and why a swap at a degenerate corner can fail to move at all.
This unit assumes you can construct a basic solution, take an active set, and state the correspondence between corners and bases.
Intuition
Releasing one active constraint to move along an edge
The canonical text gives the wall-releasing picture. What it does not say is where that picture stops being reliable.
The step can be zero. Releasing one constraint gives a direction, and you travel until another constraint stops you. If a constraint is already tight at the starting corner without being one of the ones you were pressing against, the permitted travel is zero. You have changed which constraints you are naming and stayed exactly where you were. That is degeneracy, and it is why the walk metaphor and the algorithm part company.
Adjacency is defined on bases, not on the picture. The method exchanges one column for another because that is an operation it can perform; the geometric claim that it has walked an edge to a new corner is a consequence that holds when each corner has exactly one basis. When it does not, several bases name one point and a swap between them traverses nothing.
Which is why the ratio test is where the geometry lives. The entering variable chooses the direction; the ratio test decides how far, by finding which basic variable reaches zero first. That minimum is the length of the edge, and a zero minimum is the algebra reporting that there is no edge to walk.
Figure
Adjacent vertices as endpoints of a shared edge
One polygon, one selected vertex, and the distinction the word adjacent actually makes.
The two green vertices are adjacent to the selected one: each shares an edge with it, drawn heavily. The grey vertex is not adjacent: no edge of the polygon joins it to the selection, however the two are placed in the plane.
That is why adjacency is a combinatorial property rather than a metric one. Geometrically, two vertices are adjacent when they are the endpoints of an edge — a one-dimensional face — of the feasible region, which is the definition that always holds.
On a polygon like this one, where no extra constraint passes through any corner, that matches the algebraic picture: the tight sets of two adjacent vertices differ in exactly one member, one constraint released and one acquired. Degeneracy breaks the match, which is why the next unit takes it up separately. Either way spatial nearness has nothing to do with it, and simplex moves between adjacent corners for the algebraic reason, not a geometric one.
Definition
Adjacent bases and the edge between them
The canonical statement gives the two definitions and says when they correspond. The interesting case is when they do not.
Under degeneracy the correspondence breaks in both directions. One vertex may be named by several bases, so two adjacent bases can describe the same point: a swap that is combinatorially a move is geometrically a stay. Conversely two genuinely adjacent vertices may be describable by bases differing in more than one column, so an edge exists that no single swap traverses.
This is why the simplex method is described as walking edges rather than visiting corners. The algorithm operates on bases, which is the combinatorial object; the geometric story of travelling along an edge to a better corner is a consequence that holds when the correspondence holds. Degeneracy is exactly where the story and the mechanism part company, and where an iteration count stops matching a count of corners.
What a swap changes. Raising one nonbasic variable from zero while the basic variables adjust to keep
Example
Two bases, and the edge joining their corners
Take
with columns
Two bases.
Are they adjacent?
The edge direction from
How far. Both components of
Where it lands.
The active sets. At
Worked example
Deciding adjacency and computing the edge
Problem. For the system
decide whether
Goal. An adjacency verdict and a computed edge.
Relevant principle. Adjacency is decided by the overlap of the column sets, not by comparing the points.
Step 1: the adjacency verdict.
Step 2: the starting point.
Step 3: the edge direction. Entering
So as
Step 4: the step limit. Both components of
Step 5: the corner reached.
Step 6: confirm adjacency of what we actually walked between.
Check.
What decided the direction. Nothing was chosen except which variable to raise. The rates at which
Non-example
What adjacency is not
Not adjacency: being close together. Adjacency is a combinatorial relation between column sets. Two adjacent corners may be arbitrarily far apart in distance, and two corners very near each other in space may require several swaps to connect. Distance plays no part in the definition.
Not adjacent: bases differing in two columns.
Not a free choice: the edge direction. Once the entering variable is named,
Not a limit on the step: a row with
Not always two distinct corners: adjacent bases at a degenerate point. When the corner is degenerate, a swap can produce a basis describing the same point. The bases are adjacent, the edge between them has length zero, and the walk goes nowhere. Adjacency of bases does not guarantee distinctness of the corners they name.
Contrast
Adjacency is combinatorial, not spatial
The word 'adjacent' carries an everyday suggestion of nearness, and the suggestion misleads in a way that produces wrong expectations about the simplex method.
The tempting picture. The method is at a corner, looks around at the neighbouring corners, and steps to whichever is nearest, or perhaps to whichever is nearest among those that improve the objective.
What is actually true. Adjacency is decided by column sets: two bases are adjacent when they share all but one column. That condition mentions no distances and no coordinates. Two adjacent corners can be a hair apart or half the region apart, and the step length
A concrete illustration. In the worked example, entering
What the method actually selects on. The entering variable is chosen by the sign of its reduced cost, by the rate at which the objective improves along the edge, not by how far the edge goes or where it ends. A steep short edge and a shallow long one are judged by the same rule, and the rule looks at neither length.
Why the confusion is expensive. A learner expecting a nearest-neighbour walk will find the iteration count inexplicable, sometimes a long stride across the region, sometimes a step of length zero at a degenerate corner. Both are ordinary once adjacency is understood as a relation between active sets rather than a statement about proximity.
Exercise
1. For the system
2. From the basis
3. Repeat with
4. Suppose an entering variable gives
5. Two adjacent bases describe the same point. What must be true of that point, and what was the step length?
What to carry forward
Two bases are adjacent when they share all but one column. Under nondegeneracy the distinct corners they describe are joined by an edge of the feasible region and their active sets differ in exactly one constraint. The same fact read algebraically and geometrically. Degeneracy breaks the correspondence: several bases can describe one corner, so adjacent bases need not name distinct points.
The edge direction is forced, not chosen. Naming the entering variable
Exactly one column changes because exactly one constraint is released and one acquired: the entering variable rises off zero, the walk continues until some basic variable is driven to zero, and that one leaves.
Only components with
Adjacency is combinatorial rather than spatial. Adjacent corners may be far apart, the step length is an outcome of the ratio test rather than a criterion for the move, and at a degenerate corner two adjacent bases can name the same point with an edge of length zero between them.
This is the geometry a simplex iteration walks on. That unit decides which edge to take and executes the arithmetic; the edge itself, and why taking it is one column's worth of change, is what this unit supplies.