Practice: Active Constraints

Recognition · Classification

At the feasible point x ¯ = ( 3 , 0 ) of a region including the restrictions x 1 ≥ 0 and x 2 ≥ 0 , which of these is active?

2 hints available, least help first.

Hint 1: Retrieval cue

When does x j ≥ 0 hold with equality?

Hint 2: Concept cue

Check each component of the point against zero.

Direct application · Classification · Explanation

For the region

3 x 1 + x 2 ≤ 9 , x 1 + x 2 ≤ 5 , x 1 ≥ 0 , x 2 ≥ 0 ,

give the active set at each point below, take the rank of the active normals, and classify the point.

(a) ( 1 , 1 ) (b) ( 2 , 3 ) (c) ( 0 , 5 )

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

2 hints available, least help first.

Hint 1: Retrieval cue

Evaluate all four constraints at each point, restrictions included.

Hint 2: Strategy cue

Collect the normals of the active ones and ask whether they are independent, not how many there are.

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.

Label the constraints C 1 : 3 x 1 + x 2 ≤ 9 , C 2 : x 1 + x 2 ≤ 5 , and the restrictions N 1 , N 2 . Here n = 2 .

(a) ( 1 , 1 ) . C 1 : 3 + 1 = 4 < 9 , slack. C 2 : 1 + 1 = 2 < 5 , slack. N 1 : x 1 = 1 > 0 , slack. N 2 : x 2 = 1 > 0 , slack. Active set empty, rank 0 . Two free directions, so the point is interior.

(b) ( 2 , 3 ) . C 1 : 6 + 3 = 9 = 9 , active. C 2 : 2 + 3 = 5 = 5 , active. Both components positive, so neither restriction is active. Normals ( 3 , 1 ) and ( 1 , 1 ) : not multiples of one another, so rank 2 = n . No free direction, so the point is a vertex.

(c) ( 0 , 5 ) . C 1 : 0 + 5 = 5 < 9 , slack. C 2 : 0 + 5 = 5 = 5 , active. N 1 : x 1 = 0 , active. N 2 : x 2 = 5 > 0 , slack. Normals ( 1 , 1 ) and e 1 = ( 1 , 0 ) : independent, rank 2 = n . A vertex.

What (c) illustrates. One of the two constraints pinning this vertex is a nonnegativity restriction rather than a numbered constraint. A learner who counts only C 1 and C 2 finds one active constraint, concludes the point is on a face, and is wrong. The restriction is doing half the work of holding the point in place.

A complete answer does each of these:

  • evaluates every constraint
  • identifies active set
  • uses rank not count
  • activity is local

Comparison · Method selection

In two variables, three constraints are active at a feasible point x ¯ . What follows?

2 hints available, least help first.

Hint 1: Retrieval cue

What quantity decides whether every direction is blocked?

Hint 2: Concept cue

Can you write two different constraints with parallel normals?

Error diagnosis · Explanation · Evaluation

An analyst writes:

Our current solution is ( 1 , 1 ) , and the constraint x 1 + x 2 ≤ 4 has slack there. It is not binding, so it is not doing any work. I removed it from the model to speed up the solve. The region is defined by the constraints that are actually active.

The other constraints are x 1 ≤ 3 , x 1 ≥ 0 , x 2 ≥ 0 . Identify the error and give its consequence.

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

2 hints available, least help first.

Hint 1: Retrieval cue

Sketch or describe the region with and without the constraint.

Hint 2: Concept cue

What property would a constraint need for its removal to change nothing?

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 error. Activity is a property of a point, not of a constraint. A constraint inactive at ( 1 , 1 ) is excluding points elsewhere, and the region is defined by all of its constraints, not by whichever happen to be tight at one solution.

The consequence, concretely. With x 1 + x 2 ≤ 4 present, the region is a quadrilateral with vertices ( 0 , 0 ) , ( 3 , 0 ) , ( 3 , 1 ) and ( 0 , 4 ) , bounded. Remove it and the region becomes the unbounded strip 0 ≤ x 1 ≤ 3 , x 2 ≥ 0 , running upward forever. The vertex ( 3 , 1 ) disappears and x 2 loses its bound entirely.

Why this is not a small difference. Maximise x 2 over each. On the true region the answer is 4 , at ( 0 , 4 ) . On the reduced region there is no finite optimum at all. The removal changed the verdict from a number to unbounded.

What would have justified a removal. Redundancy. A constraint whose removal leaves the feasible set unchanged. That is a global property, decided against the whole system, not by inspecting one point. Here x 1 + x 2 ≤ 4 is plainly not redundant, since removing it demonstrably enlarges the region.

The confusion to name. 'Inactive here' and 'unnecessary' are different claims, and only the second licenses deletion. A constraint slack at the current corner may be exactly the one that limits the step at the next, which is why the simplex method keeps every constraint in the system for every iteration.

A complete answer does each of these:

  • evaluates every constraint
  • identifies active set
  • uses rank not count
  • activity is local

Transfer · Evaluation · Explanation

A standard-form model has m = 30 equality constraints and n = 75 variables. At a feasible point, 30 components are strictly positive and the rest are zero.

Say which constraints are active there, how many active constraints there are in total, and whether the point is a vertex. Then say what would have to change for the point to be degenerate.

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

2 hints available, least help first.

Hint 1: Retrieval cue

Which constraints in a standard-form system are active at every feasible point?

Hint 2: Strategy cue

Count the zero components. Each contributes one active restriction.

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 structural constraints. All 30 equality rows are active, as they are at every feasible point of a standard-form system. Feasibility is equality on those rows, so they contribute nothing that distinguishes this point from any other.

The nonnegativity restrictions. Active exactly where a component is zero. With 30 components positive out of 75 , there are 45 components at zero, so 45 restrictions are active.

The total. 30 + 45 = 75 active constraints.

Is it a vertex? The test is whether the active normals have rank n = 75 . The 45 active restrictions contribute unit vectors e j for the zero components, which are independent of one another. The 30 structural rows, assuming A has full row rank, supply 30 more independent directions covering the remaining coordinates. Rank 75 = n , so yes, a vertex, and the count n − m = 75 − 30 = 45 zero components is exactly what a vertex of such a system requires.

What would make it degenerate. More than 45 components at zero, equivalently, fewer than m = 30 strictly positive. Then a basic variable sits at zero, more than 75 constraints are active, and several bases describe the same point.

Why the procedure transfers unchanged. Nothing above required a picture, and nothing referred to the dimension except to count. Evaluate every constraint, collect the active ones, take the rank. In two variables that procedure is confirmable by looking; in 75 it is the only thing available, and it is the same procedure.

A complete answer does each of these:

  • evaluates every constraint
  • identifies active set
  • uses rank not count
  • activity is local
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.