Practice: Adjacent Basic Solutions

Recognition · Classification

With m = 3 , which pair of bases is adjacent?

2 hints available, least help first.

Hint 1: Retrieval cue

Count the columns each pair has in common.

Hint 2: Concept cue

How many should they share when m = 3 ?

Direct application · Construction · Explanation

For the system

x 1 + x 2 + x 3 = 6 , 2 x 1 + x 4 = 8 , x 1 , x 2 , x 3 , x 4 ≥ 0 ,

start from B = { 3 , 4 } .

(a) Give its basic feasible solution. (b) Compute the edge direction for entering x 1 and the step limit. (c) Give the corner reached and its basis. (d) Confirm the two bases are adjacent.

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

2 hints available, least help first.

Hint 1: Retrieval cue

With A B = I the direction is just the entering column.

Hint 2: Strategy cue

Only rows with a positive component of u bound the step.

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.

Columns: A 1 = ( 1 , 2 ) T , A 2 = ( 1 , 0 ) T , A 3 = ( 1 , 0 ) T , A 4 = ( 0 , 1 ) T ; m = 2 .

(a) The starting point. A B for { 3 , 4 } is ( 1 0 0 1 ) = I , so x 3 = 6 , x 4 = 8 , and the point is ( 0 , 0 , 6 , 8 ) .

(b) The edge direction. Entering j = 1 :

u = A B − 1 A 1 = A 1 = ( 1 2 ) .

So as x 1 rises to θ , x 3 becomes 6 − θ and x 4 becomes 8 − 2 θ . The full direction is d = ( 1 , 0 , − 1 , − 2 ) .

The step limit. Both components of u are positive, so both rows bound the step:

x 3 u 1 = 6 1 = 6 , x 4 u 2 = 8 2 = 4 .

θ ∗ = 4 , attained in the second row, so x 4 leaves.

(c) The corner reached. x 1 = 4 , x 3 = 6 − 4 = 2 , x 4 = 0 . The point is ( 4 , 0 , 2 , 0 ) with basis { 1 , 3 } .

Check: 4 + 0 + 2 = 6 and 8 + 0 = 8 . Both hold, all components nonnegative.

(d) Adjacency. { 3 , 4 } and { 1 , 3 } share { 3 } , which is m − 1 = 1 column. Adjacent, as walking a single edge requires: x 4 left, x 1 entered.

What was chosen and what was forced. Only the entering variable was chosen. The direction u , the step limit, the leaving variable and the destination all followed from the constraints.

A complete answer does each of these:

  • decides adjacency
  • computes edge direction
  • explains one column change
  • relates to step limit

Comparison · Method selection

An entering variable gives direction u = ( 3 , 0 , − 2 ) T against basic values ( 9 , 4 , 5 ) . Which rows bound the step?

2 hints available, least help first.

Hint 1: Retrieval cue

Write x B ( i ) − θ u i for each row and ask which can reach zero.

Hint 2: Concept cue

Which sign of u i means the variable is falling?

Direct application

At a basic feasible solution the basis is the identity, the basic variables have values b = ( 8 , 5 ) , and bringing in a nonbasic variable x j moves the basic variables along the direction whose entries are ( 2 , 1 ) , that is, the first basic variable falls by 2 per unit of x j and the second by 1 .

By the ratio test, how far can x j increase before a basic variable reaches zero?

Enter the value. It is checked against the answer and the precision this task asks for.

Error diagnosis · Explanation · Evaluation

A student explains the simplex method:

At each corner it looks at the neighbouring corners, the ones physically closest, and steps to whichever is nearest among those that improve the objective. That is why the method is efficient: it takes small steps and never jumps across the region.

Identify the errors and give the correct account.

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

2 hints available, least help first.

Hint 1: Retrieval cue

What is the actual definition of adjacency, does it mention distance?

Hint 2: Concept cue

What quantity does the method use to choose the entering variable?

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.

First error: adjacency is not proximity. Two corners are adjacent when the bases describing them share all but one column, equivalently, when their active sets differ in exactly one constraint. That condition mentions no distances and no coordinates. Adjacent corners may be arbitrarily far apart, and two corners very close in space may need several swaps to connect.

Second error: the method does not select on distance. The entering variable is chosen by the sign of its reduced cost, the rate at which the objective improves along the edge, not by how far the edge runs. A steep short edge and a shallow long one are judged by the same rule, which looks at neither length.

Third error: the step length is an outcome, not a criterion. How far the walk goes is θ ∗ = min i : u i > 0 x B ( i ) / u i , determined by when the first basic variable hits zero. It is computed after the direction is chosen, and it can be large, small, or exactly zero at a degenerate corner.

Fourth error: 'never jumps across the region' is false as stated. A single iteration can traverse a long edge from one side of the region to the other. Nothing bounds the distance of one step.

The correct account. At the current corner, examine the nonbasic variables. Any with a negative reduced cost gives an edge along which the objective improves; choose one. Its direction is then forced, u = A B − 1 A j . Walk along that edge until the first basic variable reaches zero, which fixes both the step length and the leaving variable. One column swaps, and the new corner is adjacent to the old, by construction, not by being nearby.

Why the student's picture is tempting. The word 'adjacent' carries an everyday sense of nearness, and in a small drawn polygon adjacent corners usually are close. The habit fails where the intuition is no longer checkable, which is every problem large enough to matter.

A complete answer does each of these:

  • decides adjacency
  • computes edge direction
  • explains one column change
  • relates to step limit

Transfer · Interpretation · Evaluation

At a basic feasible solution, an entering variable with c ¯ j = − 3 gives direction u with every component zero or negative.

Describe the edge geometrically, say what the ratio test returns, name the outcome for the program, and explain why the same conclusion could not be drawn from the shape of the feasible region alone.

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

2 hints available, least help first.

Hint 1: Retrieval cue

Which rows bound the step, and what if there are none?

Hint 2: Strategy cue

Two separate facts are needed for unboundedness. Which does each part of the iteration supply?

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 edge geometrically. As the entering variable rises, each basic variable moves by x B ( i ) − θ u i . With every u i ≤ 0 , no basic variable falls: they rise or hold steady. Nothing is driven towards zero, so no constraint becomes active however far you walk. The edge is a ray. It leaves the corner and never reaches another one.

What the ratio test returns. The minimum is taken over { i : u i > 0 } , which is empty. The minimum over an empty set is undefined, and there is no leaving variable. This is not a computation that fails; it is the test correctly reporting that nothing bounds the step.

The outcome. The entering variable increases without limit while feasibility holds, and each unit changes the objective by c ¯ j = − 3 . For a minimisation the objective falls forever, so the program is unbounded and there is no finite optimal value.

Why the region's shape is not enough. An unbounded region is necessary for an unbounded program but not sufficient. The region must extend without limit along a direction in which the objective improves. The same region admits a finite optimum under a different objective, minimising x 1 + x 2 over x 1 − x 2 ≤ 1 , x ≥ 0 attains 0 at the origin despite the region running on forever.

What the two facts together establish. The direction u shows the region recedes along this edge, a fact about the constraints. The reduced cost c ¯ j = − 3 shows the objective improves along it, a fact about the objective. Unboundedness needs both, and this single iteration has supplied both simultaneously.

Why this is the transfer. Adjacency was introduced as a relation between two corners. Here there is no second corner, and the same machinery, the direction, the ratio test, the reading of which rows bound the step, delivers a verdict about the whole program rather than a destination.

A complete answer does each of these:

  • decides adjacency
  • computes edge direction
  • explains one column change
  • relates to step limit
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.