Module 4 of 6 · Lesson 3 of 6
Canonical Form for a Basis
Rewriting the program for a basis, so the basic solution, the objective value and the reduced costs are coefficients rather than calculations.
What you will be able to do
Given a standard-form program and a basis, the learner can partition the columns, solve for the basic variables, express the objective in the nonbasic variables alone, and read the basic solution, the objective value and the reduced costs off the result, stating whether the basis is optimal and why.
Orientation
A basic solution sits at a corner with the nonbasic variables held at zero. Raising one of them moves off that corner, and the objective changes by an amount the original program does not state anywhere.
It does not state it because raising
After the rewrite the program carries its own answers: the basic solution and the objective value appear as constants, and each nonbasic variable carries the net rate at which it changes the objective. Deciding optimality becomes a matter of reading signs.
This unit assumes standard form, what a basis is, and the column reading of
Intuition
What the rewrite makes possible
At a basic solution the nonbasic variables sit at zero. The only moves available are to raise one of them, and the question that decides the next step is what each such move does to the objective.
The original program does not answer that. Raising
The substitution does that accounting once, for every nonbasic variable simultaneously. What survives is one number per variable:
After the rewrite the program states its own situation. The constant is where the objective stands. Each coefficient is the rate at which one available move changes it. Nothing further needs computing to decide what to do next.
Why the constant plays no part in the decision. Every nonbasic variable is at zero and can only increase, so a negative coefficient is an available improvement and a nonnegative one is not. That comparison is between the coefficient and zero. The constant shifts
Why it must be redone each iteration. The compensation term depends on
Definition
The parts, and what each is called
Four objects come out of the rewrite, and the later material refers to each by name.
| Object | Expression | What it is |
|---|---|---|
| Basic solution | the values of the basic variables when | |
| Objective value | the objective at that point | |
| Dual vector | the prices the current basis puts on the constraints | |
| Reduced costs | the objective coefficients of the nonbasic variables |
On
Feasibility is separate. The derivation needs
Optimality is a statement about signs. For a minimisation in standard form, the basis is optimal when every
The form is not unique to a point. At a degenerate basic feasible solution several bases describe the same point, each with its own canonical form and its own reduced costs. Two of them can disagree about whether an improving direction exists, which is why degeneracy is treated as its own topic rather than as an edge case of this one.
Derivation
Where the reduced costs come from
Start from the standard-form program and a basis
Split the constraints. Every column belongs to the basis or not, so
Nothing has changed yet; the terms have only been grouped.
Solve for the basic variables.
This is the step that makes the form useful. The basic variables are no longer unknowns to be solved for later; they are stated as a function of the nonbasic ones, so a choice of
Substitute into the objective. With
Name the parts. The first term is a constant,
and entry
Read what the algebra says. Each term
Why a basic variable has reduced cost zero. Apply the same expression to a basic column:
Worked example
Two bases, two canonical forms
The program.
So
---
Basis
With
The canonical form is
Reading it. The basic solution is
The step. The direction is
---
Basis
Now
which checks:
so the basic solution is
and
The canonical form is
Reading it. The objective has fallen from
What changed between the two forms. The program did not. The constant, the coefficients and the verdict all did, because all three are properties of the basis rather than of the program. The same point can be described by more than one canonical form, and every iteration of the simplex method installs the next one.
Check your understanding
Derive one form, with the steps fading
The worked example carried out every step. Here the support is removed a piece at a time. Work on
First, with the steps named. Take
- Write
and , with the nonbasic columns in the order . is the identity here, so is immediate. What is the basic solution, and is it feasible? , so what is, and what does that make ? - Write
in the form . Is this basis optimal? If not, which variable would you bring in, and why that one?
Then, with the steps only implied. Take
Derive the canonical form. You will need
Last, with nothing named. Still the same program,
Put the program in canonical form for this basis and say what the result tells you about the point it describes.
---
Checks you can run without the answers.
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.
| Reading | Quantity | Decides | Does not decide |
|---|---|---|---|
| Where the point is | feasibility, via | whether the point is any good | |
| What it is worth | the objective value here | whether a better point exists | |
| Which way to move | optimality, and the entering variable | how 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
The reduced costs say which way, not how far.
What all three share. Each is computed from