Canonical Form for a Basis

Partitioning a standard-form program by a basis and solving for the basic variables rewrites the whole program in terms of the nonbasic ones. The objective becomes a constant plus a weighted sum of nonbasic variables, and those weights are the reduced costs. The optimality test is then a matter of reading signs off the page rather than computing anything further.

Definition

Take a standard-form program min c T x subject to A x = b , x ≥ 0 , and a basis B of m independent columns. Partition the columns into basic and nonbasic, writing x = ( x B , x N ) and A = ( A B , A N ) . The constraints become

A B x B + A N x N = b ,

and since A B is invertible, solving for the basic variables gives

x B = A B − 1 b − A B − 1 A N x N .

Substituting that into c T x = c B T x B + c N T x N gives

z = c B T A B − 1 b + ( c N T − c B T A B − 1 A N ) x N .

The program written this way, every basic variable and the objective expressed in terms of the nonbasic variables alone, is the canonical form for the basis B .

Three quantities are now visible as coefficients rather than as calculations.

The basic solution. Setting x N = 0 gives x B = A B − 1 b , which is the basic solution for this basis. It is feasible exactly when A B − 1 b ≥ 0 .

The objective value there. With x N = 0 the objective is z 0 = c B T A B − 1 b , the constant term.

The reduced costs. The row vector c ¯ N T = c N T − c B T A B − 1 A N holds the coefficient of each nonbasic variable in the rewritten objective: the net change in z per unit increase of that variable, once the basic variables move to keep A x = b .

The canonical form is relative to a basis. A different basis gives a different constant, different coefficients, and a different reading, of the same program.

Formal statement

For a basis B with A B invertible: x B = A B − 1 b − A B − 1 A N x N and z = z 0 + c ¯ N T x N , where z 0 = c B T A B − 1 b and c ¯ N T = c N T − c B T A B − 1 A N . The basic solution is x B = A B − 1 b , x N = 0 ; it is feasible when A B − 1 b ≥ 0 .

Assumptions and scope

  • The program must already be in standard form. The derivation solves A B x B + A N x N = b for x B , which requires equality constraints; an inequality system has no such partition until slack variables make it one.

  • A B must be invertible. A set of m columns that is not independent is not a basis, and A B − 1 does not exist to solve with.

  • The canonical form is relative to a basis, not a property of the program. The constant, the coefficients and the reduced costs all change when the basis changes.

  • The basic solution this form exhibits need not be feasible. Feasibility is the separate condition A B − 1 b ≥ 0 , and a canonical form can be derived for a basis whose solution has negative components.

  • The reduced cost of a basic variable is zero by construction, so the optimality test concerns the nonbasic ones only.

Worked material

Contrast

Three things the form reports, and what each decides

The rewrite produces three readings, and they answer different questions. Treating one as an answer to another is the recurring error.

ReadingQuantityDecidesDoes not decide
Where the point is A B − 1 b feasibility, via A B − 1 b ≥ 0 whether the point is any good
What it is worth z 0 = c B T A B − 1 b the objective value herewhether a better point exists
Which way to move c ¯ N optimality, and the entering variablehow far the move can go

Feasibility and optimality are independent. A basis can be infeasible and have every reduced cost nonnegative; it can be feasible with a strongly negative one. The first is not an optimum of anything, because the point is not in the feasible set. The second is a perfectly good corner with a better neighbour.

A low objective value is not optimality. In the worked example the second basis reaches z 0 = − 18 and is still not optimal: c ¯ 2 = − 0.5 says another move lowers the objective further. A learner comparing constants across bases is answering "which of these corners is better" when the method is asking "is there anything better than this corner".

The reduced costs say which way, not how far. c ¯ j < 0 makes x j worth raising, and says nothing about the limit. That limit comes from A B − 1 b and A B − 1 A j through the ratio test, which is a different reading of the same form. An answer that names the entering variable and stops has done half the step.

What all three share. Each is computed from A B − 1 and is therefore a fact about the basis. None of them is a property of the program, and none survives a basis change unexamined.

Related units

Requires

Connected

Learn this topic

Used in

Sources

Results update as you type. Use the up and down arrow keys to move between results, Enter to open one, and Escape to close.

Type to search.

Settings

Appearance

Interface density

Your record

Your progress is stored in this browser and nowhere else: an identifier, the answers you have given, the mastery states and review schedule derived from them, and the lesson you last opened. Clearing it makes you a new learner on this device. It cannot be undone, and it will not affect your appearance or density settings.

Focus timer

Focus--minutes remaining

Phase

Kept in this browser only, and used to label the session in your own history.

Today

Nothing recorded yet. Finish a focus session and it will appear here.

Settings

Focus sessions between long breaks.

Sessions you are aiming for in a day.

Notifications

Your history

Sessions are stored in this browser and nowhere else. They are not evidence and never reach your mastery record.