Practice: Canonical Form for a Basis

Recognition · Interpretation

A minimisation in standard form is in canonical form for a basis, with z = − 18 + 1.5 x 3 − 0.5 x 2 and a feasible basic solution. Is this basis optimal?

2 hints available, least help first.

Hint 1: Retrieval cue

Which direction can a nonbasic variable move in, given that it sits at zero?

Hint 2: Concept cue

Compare each coefficient with zero, and ask what raising that variable does to z .

Construction · Direct application · Explanation

Consider

min − x 1 − 4 x 2 subject to x 1 + x 2 + x 3 = 8 , x 1 + 3 x 2 + x 4 = 18 , x ≥ 0 .

Take the basis B = { 2 , 4 } .

(a) Partition A and c , and compute A B − 1 . Show the check that confirms it.

(b) Write the canonical form: the basic variables in terms of the nonbasic ones, and the objective as z 0 + c ¯ N T x N .

(c) State the basic solution and whether it is feasible, and give the objective value there.

(d) Decide optimality, naming the quantity that decides it and saying why the constant term plays no part.

Write your answer, then compare it with the worked solution.

3 hints available, least help first.

Hint 1: Retrieval cue

Which columns of A does B = { 2 , 4 } select, and in which order?

Hint 2: Concept cue

Compute y T = c B T A B − 1 once, then each reduced cost is c j − y T A j .

Hint 3: Strategy cue

Before drawing any conclusion, check A B − 1 b entry by entry against the sign restrictions.

Compare with the worked solution

Comparing does not record a result. Judging your own written answer cannot show that you can do this without help.

(a) Partition and inverse. With B = { 2 , 4 } and nonbasic order ( x 1 , x 3 ) ,

A B = ( 1 0 3 1 ) , A N = ( 1 1 1 0 ) , c B = ( − 4 0 ) , c N = ( − 1 0 ) .

The inverse is

A B − 1 = ( 1 0 − 3 1 ) ,

checked by A B A B − 1 = ( 1 0 3 1 ) ( 1 0 − 3 1 ) = ( 1 0 0 1 ) . (b) The canonical form. First A B − 1 b = ( 1 0 − 3 1 ) ( 8 18 ) = ( 8 − 6 ) , and

A B − 1 A N = ( 1 0 − 3 1 ) ( 1 1 1 0 ) = ( 1 1 − 2 − 3 ) .

So

( x 2 x 4 ) = ( 8 − 6 ) − ( 1 1 − 2 − 3 ) ( x 1 x 3 ) .

For the objective, y T = c B T A B − 1 = ( − 4 , 0 ) ( 1 0 − 3 1 ) = ( − 4 , 0 ) , giving z 0 = y T b = − 4 ( 8 ) + 0 ( 18 ) = − 32 and

c ¯ N T = ( − 1 , 0 ) − ( − 4 , 0 ) ( 1 1 1 0 ) = ( − 1 , 0 ) − ( − 4 , − 4 ) = ( 3 , 4 ) .

The canonical form is z = − 32 + 3 x 1 + 4 x 3 . (c) The basic solution. Setting x N = 0 gives x 2 = 8 , x 4 = − 6 , so x = ( 0 , 8 , 0 , − 6 ) T . It is not feasible: x 4 = − 6 < 0 violates the sign restriction. The objective value at this point is − 32 , computed as c T x = − 4 ( 8 ) = − 32 , which agrees with z 0 . (d) Optimality. Both reduced costs, 3 and 4 , are nonnegative, which for a minimisation is the optimality condition. But the condition applies to a basic feasible solution, and this point is infeasible, so the basis is not an optimum of the program: there is nothing here to be optimal. The constant − 32 plays no part in either judgement. It records where the objective stands and shifts z equally whichever nonbasic variable is raised, so it cannot distinguish between the available moves; only the signs of the coefficients can. Deriving the form requires only that A B be invertible. Feasibility is the separate test A B − 1 b ≥ 0 , and a canonical form with a clean-looking optimality verdict can describe a point outside the feasible set entirely.

A complete answer does each of these:

  • partitions by basis
  • solves for basic variables
  • objective in nonbasic only
  • reads the constants
  • optimality from signs

Error diagnosis · Evaluation · Explanation

A student is working on a minimisation in standard form and derives canonical forms for two bases of the same program.

Basis P. z = − 40 + 2 x 1 − 3 x 5 , with basic solution ( 0 , 12 , 0 , 4 , 0 ) T .

Basis Q. z = − 25 + 1.5 x 2 + 0.5 x 4 , with basic solution ( 10 , 0 , 6 , 0 , 3 ) T .

They conclude: "Basis P is better because − 40 < − 25 , so P is the optimal basis and the answer is − 40 ."

Say what is wrong with the reasoning, what each form actually establishes, and what the correct conclusion is.

Write your answer, then compare it with the worked solution.

2 hints available, least help first.

Hint 1: Retrieval cue

What does a negative reduced cost say about the basis it belongs to?

Hint 2: Concept cue

Apply the optimality test to each basis separately, before comparing anything between them.

Compare with the worked solution

Comparing does not record a result. Judging your own written answer cannot show that you can do this without help.

The fault: comparing constants instead of reading signs. Optimality is not a comparison between two bases. It is a statement about one basis: whether any available move improves the objective. The constant records where the objective stands and shifts z equally whichever nonbasic variable is raised, so it cannot say whether a better point exists.

What basis P establishes. c ¯ 5 = − 3 is negative, so raising x 5 lowers the objective by 3 per unit. P is not optimal, despite having the lower constant. The verdict the student drew is exactly inverted for this basis: the attractive value is what makes the negative coefficient easy to overlook.

What basis Q establishes. Both nonbasic coefficients, 1.5 and 0.5 , are nonnegative. Every available move raises the objective or leaves it alone. Q is optimal, and its basic solution has no negative component, so it is a basic feasible solution and the optimum is attained there.

The correct conclusion. The optimal value is − 25 , attained at ( 10 , 0 , 6 , 0 , 3 ) T . The − 40 of basis P is the objective value at a point the program permits improving on, and, since P is not optimal, the method would move away from it rather than stop there.

Why two constants can differ this way. Each is c B T A B − 1 b for its own basis, so both are genuine objective values at genuine points. Neither is wrong as a number. What is wrong is treating the smaller one as the answer: minimisation seeks the smallest value over the feasible set, and the only evidence that a given point achieves it comes from the signs of that basis's reduced costs.

A complete answer does each of these:

  • reads the constants
  • optimality from signs
Practice data

Your practice record is stored in this browser only. Clearing it removes every answer and every scheduled review, and cannot be undone.

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.