M9 · Chapter 5 · Constrained optimality
Feasible directions, projection, separation and Farkas, KKT in his $g_i\ge0$ convention, reverse KKT and wrong-way inequalities, gradient projection and the active set method (lectures 16–20; full theory in M5).
Each stop = a concept card (plain words → picture → symbols) followed by questions that start trivial and end tricky. Answer before opening the explanation. Levels: L1 term L2 use L3 trap L4 exam.
Convention throughout: constraints $g_i(x)\ge0$, stationarity $\nabla f=\sum\lambda_i\nabla g_i$, multipliers $\lambda\ge0$. Three interactive pictures: projection (Stop 3), feasible set with KKT (Stop 5), gradient projection path (Stop 7).
1. Feasible set, feasible direction, descent direction, active constraint
In plain words: a constrained problem says "make $f$ as small as possible, but only among the points that obey some rules". The rules are the constraints; the points that obey all of them form the feasible set. Standing at a point, a direction is feasible if a small step that way keeps you inside the feasible set, and a descent direction if a small step that way lowers $f$. A rule is active at your point if you are standing exactly on its wall.
Words and symbols on this stop: $\Omega$ = the feasible set. $g_i(x)\ge0$ = the $i$-th constraint (his convention: "$\ge0$" means allowed). $x$ = a point. $u$ = a direction (an arrow; only its heading matters). $t$ = a small positive step length, so $x+tu$ = the point after a small step. $\nabla f(x)$ = gradient (the arrow along which $f$ rises fastest). $\nabla f(x)^\top u$ = dot product = how fast $f$ changes when you move along $u$ (negative means $f$ falls). $\mathcal A(x)=\{i:g_i(x)=0\}$ = the set of active constraints at $x$.
Precisely: $u$ is a feasible direction at $x\in\Omega$ if $x+tu\in\Omega$ for all small $t\gt0$. $u$ is a descent direction at $x$ if $\nabla f(x)^\top u\lt0$ (then $f(x+tu)\lt f(x)$ for small $t$). A constraint $g_i\ge0$ is active at $x$ if $g_i(x)=0$ and inactive if $g_i(x)\gt0$; inactive constraints do not limit small steps. If $x^*$ is a local minimum over $\Omega$, then no direction is both feasible and descent. (M5 §A)
The feasible set is the set of all points that satisfy every constraint.
Explanation
True. That is the definition: a point is feasible when no rule is broken, and $\Omega$ is the collection of such points. Minimising over $\Omega$ means ignoring every point outside it.
Constraints: $g_1=x_1\ge0$, $g_2=x_2\ge0$, $g_3=2-x_1-x_2\ge0$. At the point $x=(2,0)$, mark all constraints that are active.
- (a) $g_1$
- (b) $g_2$
- (c) $g_3$
- (d) none of them (all inactive)
Explanation
(b), (c). Evaluate: $g_1(2,0)=2\gt0$, so $g_1$ is inactive, which kills (a). $g_2(2,0)=0$: active, so (b) is correct. $g_3(2,0)=2-2-0=0$: active, so (c) is correct. (d) is wrong because two constraints are active: the point is a corner of the triangle. Active means equal to zero, not "satisfied". (M5 §A)
$f(x)=x_1^2+x_2^2$ at $x=(1,1)$, so $\nabla f=(2,2)$. Which direction is a descent direction?
- (a) $u=(-1,0)$
- (b) $u=(1,0)$
- (c) $u=(0,1)$
- (d) $u=(1,1)$
Explanation
(a). Descent means $\nabla f^\top u\lt0$. (a): $(2,2)\cdot(-1,0)=-2\lt0$ ✓. (b): $+2$. (c): $+2$. (d): $+4$; these three go uphill. The test is just the sign of one dot product; no constraint is involved, because "descent" says nothing about feasibility. (M5 §A)
If $\nabla f(x)^\top u\lt0$, then $u$ is a feasible direction at $x$ (a small step along $u$ stays in $\Omega$).
Explanation
False. Descent and feasible are two independent properties; only a point that has no direction that is both can be a minimum. Counterexample: $\Omega=\{x_1\ge0\}$, $f=x_1$, $x=(0,3)$, $u=(-1,0)$. Then $\nabla f^\top u=-1\lt0$ (descent), but $x+tu=(-t,3)$ has $x_1\lt0$: infeasible. (M5 §A)
Minimising $f$ over a convex set $C$ (convex: see Stop 2): the set of feasible directions at the global optimum $x^*$ is described by $B(x^*,\delta)$ for some $\delta\gt0$ (every direction is feasible). Then at $x^*$ there are no active constraints.
Explanation
True. If every direction (all of a small ball around $x^*$) is feasible, then $x^*$ is an interior point: you can step any way without leaving $C$. An active constraint means $x^*$ stands on a wall, and then the directions pointing out through that wall are infeasible, contradicting "all directions feasible". (Then also $\nabla f(x^*)=0$.) (M5 §A)
At the optimal point $x^*$ of a constrained problem, $\nabla f(x^*)\ne0$. Then at least one constraint must be active at $x^*$.
Explanation
True. Suppose no constraint is active: $x^*$ is interior, every direction is feasible. Since $\nabla f(x^*)\ne0$, the direction $u=-\nabla f(x^*)$ has $\nabla f^\top u=-\|\nabla f\|^2\lt0$, a feasible descent direction, so $x^*$ is not optimal, a contradiction. Example: $\min(x-2)^2$ on $[0,1]$: $x^*=1$, $f'(1)=-2\ne0$ and the wall $x\le1$ is active. (M5 §A)
2. The first-order condition on a convex set
In plain words: a set is convex if the straight segment between any two of its points stays inside it. On a convex set the picture is simple: from the optimum $x^*$ you may walk toward any other point $x$ of the set, so every such chord is a feasible direction. If $x^*$ is optimal, none of these walks may go downhill at first. That is the whole condition.
Words and symbols on this stop: $C$ = a convex set. $x^*$ = the minimiser (a local minimum of $f$ over $C$). $x-x^*$ = the arrow from $x^*$ to another point $x$ of $C$ (the "chord"). $\nabla f(x^*)^\top(x-x^*)\ge0$ = "the slope of $f$ along that chord is not negative". "Sufficient" = this condition alone already guarantees optimality.
Precisely: let $C$ be convex and $f\in C^1$. If $x^*$ is a local minimum of $f$ over $C$, then $\nabla f(x^*)^\top(x-x^*)\ge0$ for all $x\in C$. If moreover $f$ is convex, the condition is also sufficient: any $x^*\in C$ satisfying it is a global minimum over $C$. Without convexity of $f$ the condition may hold at a point that is not global. (M5 §A)
If $C$ is convex and $x^*,x\in C$, then $x-x^*$ is a feasible direction at $x^*$.
Explanation
True. Convexity says the whole segment from $x^*$ to $x$ lies in $C$. The point $x^*+t(x-x^*)$ with $0\le t\le1$ is on that segment, so a small step in direction $x-x^*$ stays inside $C$. This is why the first-order condition only needs to look at chords. (M5 §A)
Minimise $f(x)=(x-2)^2$ over $C=[0,1]$. Which point satisfies $f'(x)(y-x)\ge0$ for every $y\in[0,1]$?
- (a) $x=0$
- (b) $x=\tfrac12$
- (c) $x=1$
- (d) $x=2$
Explanation
(c). $f'(x)=2(x-2)$. At $x=1$: $f'(1)=-2$ and $y-1\le0$ for all $y\in[0,1]$, so $-2(y-1)\ge0$ ✓. At $x=0$: $f'(0)=-4$ and $y=1$ gives $-4\lt0$: fails (a). At $x=\frac12$: $f'=-3$, and $y=1$ gives $-1.5\lt0$: fails (b). (d) $x=2$ is not in $C$. The wall $x\le1$ holds the minimum even though the slope there is not 0. (M5 §A)
$f(x)=x_1^2+x_2^2$ over the convex set $C=\{x:x_1+x_2\ge2\}$. Mark all correct statements.
- (a) $x=(1,1)$ satisfies $\nabla f(x)^\top(y-x)\ge0$ for all $y\in C$.
- (b) $x=(1,1)$ is a global minimum of $f$ over $C$.
- (c) $x=(2,0)$ satisfies the same condition.
- (d) Because the condition holds at $(1,1)$, it would still guarantee a global minimum if $f$ were not convex.
Explanation
(a), (b). (a): $\nabla f(1,1)=(2,2)$ and $(2,2)\cdot(y-(1,1))=2(y_1+y_2-2)\ge0$ for $y\in C$ ✓. (b): $f$ is convex, so the condition is sufficient: global minimum, value 2 ✓. (c) is wrong: $\nabla f(2,0)=(4,0)$ and $y=(1,1)\in C$ gives $4(1-2)=-4\lt0$; moving from $(2,0)$ toward $(1,1)$ lowers $f$. (d) is wrong: sufficiency needs convex $f$ (e.g. on $[-1,1]$, $f=-x^2$ satisfies the condition at $x=0$ but 0 is the maximum). (M5 §A)
In a constrained problem over a convex set, if a point has no feasible descent direction then it must be the global minimum.
Explanation
False. "No feasible descent direction" is only a local test (it is the first-order condition). It is a global statement only when $f$ is convex. Counterexample: $f=-x^2$ on $[-1,1]$ at $x=0$: $f'(0)=0$, so no direction is descent, yet $f(1)=-1\lt f(0)=0$. His key: False. (M5 §A trap)
3. Projection onto a convex set
In plain words: the projection of a point $z$ onto a set $C$ is the point of $C$ nearest to $z$. If $z$ is already in $C$, it stays put. If not, you drop it onto $C$ the shortest way. For simple sets there is a one-line recipe: for a box, clip each coordinate; for a ball, pull $z$ toward the centre until it touches the sphere; for a half-space, slide back along the wall's normal; for a flat (affine) set, subtract the part of $z$ that sticks out of it.
Words and symbols on this stop: $P_C(z)$ = projection of $z$ onto $C$. $\|v\|$ = length of $v$. $\arg\min$ = the point where the minimum is attained. "Closed" = $C$ contains its boundary. "Nonempty" = it has at least one point. $a^\top x\le b$ = a half-space (everything on one side of a flat wall with normal $a$). $A x=b$ = an affine set (a flat). $AA^\top$ = a small square matrix, invertible when the rows of $A$ are independent.
Precisely: $P_C(z)=\arg\min_{x\in C}\tfrac12\|x-z\|^2$. If $C$ is closed, convex and nonempty, $P_C(z)$ exists and is unique (boundedness not needed). Characterisation: $p=P_C(z)$ iff $p\in C$ and $(z-p)^\top(x-p)\le0$ for all $x\in C$. Formulas:
- box $l\le x\le u$: $P(z)_i=\min(\max(z_i,l_i),u_i)$ (clip).
- ball $\|x-a\|\le r$: $P(z)=a+\dfrac{r}{\max(r,\|z-a\|)}(z-a)$.
- half-space $a^\top x\le b$: $P(z)=z-\dfrac{\max(0,\,a^\top z-b)}{\|a\|^2}\,a$.
- affine set $\{Ax=b\}$, $A$ with independent rows: $P(z)=z-A^\top(AA^\top)^{-1}(Az-b)$; with $z=0$ this is the minimum-norm solution $A^\top(AA^\top)^{-1}b$.
(M5 §B)
The projection $P_C(z)$ is the point of $C$ that is closest to $z$; if $z\in C$ then $P_C(z)=z$.
Explanation
True. This is the definition. If $z$ already lies in $C$, its distance to $C$ is 0, attained at $z$ itself. (M5 §B)
Mark all correct projections.
- (a) Onto the box $[0,1]^2$: $P(1.5,-0.3)=(1,0)$.
- (b) Onto the unit ball $\|x\|\le1$: $P(3,4)=(0.6,0.8)$.
- (c) Onto the unit ball: $P(3,4)=(3,4)/7$.
- (d) Onto the half-space $x_1+x_2\le1$: $P(2,1)=(1,0)$.
Explanation
(a), (b), (d). (a) Clip: $1.5\to1$ (above the top), $-0.3\to0$ (below the bottom) ✓. (b) $\|(3,4)\|=5\gt1$, so $P=\frac{1}{5}(3,4)=(0.6,0.8)$ ✓. (c) $(3,4)/7$ has length $5/7\lt1$: it lies inside the ball, not on the sphere, so it is not the nearest point; you must divide by the length 5. (d) $a=(1,1)$, $a^\top z-b=3-1=2$, $\|a\|^2=2$: $P=(2,1)-\frac22(1,1)=(1,0)$ ✓ (and $1+0=1$ is on the wall). (M5 §B)
Let $p\in C$ and consider "$(z-p)^\top(x-p)\le0$ for all $x\in C$". Mark all correct statements.
- (a) It says: seen from $p$, the direction to $z$ and the direction to any $x\in C$ make an angle of at least $90^\circ$.
- (b) If $z\in C$, the only $p\in C$ satisfying it is $p=z$.
- (c) For the non-convex set $C=\{(-1,0),(1,0)\}$ and $z=(0,1)$, there is a unique nearest point.
- (d) A nearest point always exists for any nonempty set, even an open one such as $C=(0,1)$ with $z=2$.
Explanation
(a), (b). (a) $(z-p)^\top(x-p)\le0$ means the cosine of the angle is $\le0$, i.e. angle $\ge90^\circ$ ✓. (b) With $z\in C$ take $x=z$: $(z-p)^\top(z-p)=\|z-p\|^2\le0$ forces $p=z$ ✓. (c) False: both points are at distance $\sqrt2$ from $z$, so the nearest point is not unique; uniqueness needs convexity. (d) False: on $(0,1)$ the distances $2-x\gt1$ get closer to 1 as $x\to1$ but never reach it; existence needs closed (and nonempty). (M5 §B)
Let $z\notin C$ with $C$ closed and convex. There is only one $x^*\in C$ with $\|x^*-z\|\le\|x-z\|$ for all $x\in C$.
Explanation
True. The statement says "the nearest point is unique". For closed convex nonempty $C$ it exists (closed) and is unique (convex): two different nearest points $p,q$ would have their midpoint in $C$ strictly closer to $z$ (a right triangle with hypotenuse $\|z-p\|$). (The paper's strict '<' is meant for $x\ne x^*$.) (M5 §B)
Projection onto $\{x:x^\top e\le1\}$ does not exist because the set is unbounded.
Explanation
False. Boundedness is not required: closed, convex and nonempty is enough, and the half-space formula gives the answer: $P(z)=z-\frac{\max(0,e^\top z-1)}{\|e\|^2}e$. Counterexample to "unbounded kills it": the half-plane $x_1\le0$ is unbounded, and the projection of $(3,5)$ is simply $(0,5)$. (M5 §B)
Finding a projection onto a closed convex set requires solving a quadratic programming problem.
Explanation
False. For the common sets there is a closed formula (clip for boxes, rescale for balls, one subtraction for half-spaces and affine sets), so no optimisation is needed. A ball is not even a quadratic program (its constraint $\|x-a\|^2\le r^2$ is quadratic). His key: False. (M5 §B)
Minimise $\|x\|$ subject to $2x_1+x_2+x_3=36$ and $-x_1-x_2+3x_3=0$. The minimum-norm solution is
- (a) $(18,0,0)$
- (b) $(12,6,6)$
- (c) $(6,12,2)$
- (d) $(9,9,3)$
Explanation
(b). This is $P_{\{Ax=b\}}(0)=A^\top(AA^\top)^{-1}b$ with $A=\begin{pmatrix}2&1&1\\-1&-1&3\end{pmatrix}$, $b=(36,0)$. Here $AA^\top=\mathrm{diag}(6,11)$ (the rows are orthogonal: $-2-1+3=0$), so $(AA^\top)^{-1}b=(6,0)$ and $x=6\cdot(2,1,1)=(12,6,6)$, with $\|x\|^2=216$. The others fail feasibility or are longer: (a) gives $2\cdot18=36$ but $-18\ne0$; (c): $12+12+2=26\ne36$; (d): $18+9+3=30\ne36$. (M5 §B)
4. Separating hyperplane and Farkas
In plain words: if a point $z$ lies outside a closed convex set $C$, you can put a flat wall (a hyperplane; a line in 2-D) between them: the whole set on one side, $z$ on the other. The recipe is the projection from the last stop: aim the wall's normal along $z-P_C(z)$. Farkas' lemma is the algebraic version for the set of all non-negative combinations of some vectors (a "cone"): either a target vector is such a combination, or a wall separates it from them. KKT is built on this.
Words and symbols on this stop: hyperplane $\{x:h^\top x=b\}$ with normal $h$. "Separates $z$ from $C$": $h^\top x\le b$ for all $x\in C$ and $h^\top z\gt b$. $A=[a_1,\dots,a_n]$ has columns $a_j$; "$x\ge0$" means every entry is $\ge0$; $Ax=\sum x_ja_j$ is a non-negative combination of the columns when $x\ge0$. $y$ = the certificate vector in the alternative.
Precisely: Separation. $C$ closed convex, $z\notin C$, $p=P_C(z)$, $h=z-p$: then $h^\top x\le h^\top p\lt h^\top z$ for all $x\in C$. Farkas. Exactly one of the following has a solution: (I) $Ax=b,\ x\ge0$; (II) $A^\top y\ge0,\ b^\top y\lt0$. Easy half: if both held, $0\le x^\top(A^\top y)=b^\top y\lt0$. The form behind KKT: exactly one of (i) $\nabla f=\sum\lambda_ia_i$ with $\lambda\ge0$; (ii) some $u$ with $a_i^\top u\ge0$ for all $i$ and $\nabla f^\top u\lt0$. (M5 §H)
A hyperplane $\{x:h^\top x=b\}$ separates $z$ from $C$ when $h^\top x\le b$ for every $x\in C$ and $h^\top z\gt b$.
Explanation
True. That is the definition: the function $h^\top x$ is at most $b$ everywhere on $C$ but exceeds $b$ at $z$, so the wall $h^\top x=b$ has $C$ on one side and $z$ on the other. (M5 §H)
$C$ is the unit ball $\|x\|\le1$ and $z=(3,4)$. With $p=P_C(z)=(0.6,0.8)$ and $h=z-p=(2.4,3.2)$, which value of $b$ makes $\{h^\top x=b\}$ separate $z$ from $C$?
- (a) $b=0$
- (b) $b=10$
- (c) $b=25$
- (d) $b=-3$
Explanation
(b). Compute: $\max_{x\in C}h^\top x=\|h\|=4$ (attained at $p$: $h^\top p=1.44+2.56=4$) and $h^\top z=7.2+12.8=20$. A separating $b$ must satisfy $4\le b\lt20$. $b=10$ works. $b=0$ and $b=-3$ fail the first condition (some $x\in C$ has $h^\top x=4\gt b$). $b=25$ fails the second ($h^\top z=20\not\gt25$). (M5 §H)
For $A=[1\ \ 1]$ (one row) and $b=-1$, the vector $y=1$ is a Farkas certificate that $Ax=b,\ x\ge0$ has no solution.
Explanation
True. A certificate is a $y$ with $A^\top y\ge0$ and $b^\top y\lt0$. Here $A^\top y=(1,1)\ge0$ and $b^\top y=-1\lt0$ ✓. Direct reading: $x_1+x_2=-1$ is impossible for $x_1,x_2\ge0$, and indeed any solution $x$ would give $0\le(1,1)\cdot x=-1$. (M5 §H)
If $z\notin C$, where $C$ is a finite intersection of half-spaces, then there is a hyperplane separating $z$ and $C$.
Explanation
True. A finite intersection of half-spaces is closed and convex (and is nonempty here, otherwise separation is trivial). So $p=P_C(z)$ exists and $h=z-p$ separates, by the stop-4 statement. Caution: for a non-convex or non-closed set this can fail (e.g. $z$ in the "hole" of a ring). His key: True. (M5 §H)
5. KKT conditions
In plain words: at a constrained minimum you cannot go downhill without hitting a wall. So at $x^*$ the uphill arrow $\nabla f$ must be "carried" by the walls you are standing on: it is a non-negative combination of the active walls' inward gradients, each with a non-negative weight $\lambda_i$ ("how hard wall $i$ pushes back"). Walls you are not touching push with weight $0$. These are the KKT conditions (Karush–Kuhn–Tucker). A point that satisfies them is a KKT point.
Words and symbols on this stop: $g_i(x)\ge0$ inequality constraints (his convention: the allowed side is "$\ge0$"); $h_j(x)=0$ equality constraints. $\lambda_i$ = multiplier of $g_i$ (must be $\ge0$); $\mu_j$ = multiplier of $h_j$ (any sign). Stationarity = the gradient equation. Complementary slackness $\lambda_ig_i(x)=0$ = "either the wall is not touched, or its weight is 0 (or both)". Regular point = the active constraint gradients are linearly independent (or all active constraints are linear), a technical condition that makes KKT necessary. Convex problem = $f$ convex, each $g_i$ concave (so $\{g_i\ge0\}$ is convex), each $h_j$ affine.
Precisely: for $\min f(x)$ s.t. $g_i(x)\ge0$, $h_j(x)=0$, $x$ is a KKT point if (1) feasible: $g_i(x)\ge0$, $h_j(x)=0$; (2) stationarity: $\nabla f(x)=\sum_i\lambda_i\nabla g_i(x)+\sum_j\mu_j\nabla h_j(x)$; (3) sign: $\lambda_i\ge0$; (4) complementary slackness: $\lambda_ig_i(x)=0$. Converting: "$c(x)\le d$" becomes $g=d-c(x)\ge0$, so $\nabla g=-\nabla c$. Necessary: a local minimum that is a regular point is a KKT point. Sufficient: for a convex problem every KKT point is a global minimum. (M5 §C)
In his convention a constraint is written $g_i(x)\ge0$, and the KKT stationarity equation is $\nabla f(x^*)=\sum_i\lambda_i\nabla g_i(x^*)$ with all $\lambda_i\ge0$.
Explanation
True. This is his form. The sign requirement $\lambda_i\ge0$ goes with "$g_i\ge0$": the wall pushes you into the allowed side, which is the direction of $\nabla g_i$. Equality multipliers $\mu_j$ may have either sign. Do not mix this up with books that write $g_i\le0$ (they get $\nabla f=-\sum\lambda_i\nabla g_i$). (M5 §C)
You must minimise $f$ subject to $x_1+x_2\le4$, and only this constraint is active at $x^*$. In his form, the stationarity equation is
- (a) $\nabla f(x^*)=\lambda\,(1,1)$ with $\lambda\ge0$
- (b) $\nabla f(x^*)=\lambda\,(1,-1)$ with $\lambda\ge0$
- (c) $\nabla f(x^*)=-\lambda\,(1,1)$ with $\lambda\ge0$
- (d) $\nabla f(x^*)=0$
Explanation
(c). First rewrite "$\le$" as "$\ge$": $g(x)=4-x_1-x_2\ge0$, so $\nabla g=(-1,-1)$. Stationarity is $\nabla f=\lambda\nabla g=-\lambda(1,1)$ with $\lambda\ge0$. (a) forgets to flip the gradient. (b) has the wrong vector: $(1,-1)$ is not a gradient of anything in this constraint. (d) would mean the wall is irrelevant, which is false when $\nabla f\ne0$. (M5 §C)
If a constraint $g_i$ is active at a KKT point, then its multiplier satisfies $\lambda_i\gt0$.
Explanation
False. Complementary slackness only says $\lambda_ig_i=0$: an inactive constraint has $\lambda_i=0$, but an active one may also have $\lambda_i=0$ (this is called degenerate). One-line counterexample: $\min x^2$ s.t. $x\ge0$: $x^*=0$ is active, $f'(0)=0=\lambda\cdot1$, so $\lambda=0$. The true statement runs the other way: $\lambda_i\gt0\Rightarrow g_i$ active. (M5 §C)
For a problem that is not convex, every KKT point is a global minimum.
Explanation
False. KKT is sufficient only for convex problems (convex $f$, convex feasible set). Counterexample: $\min -x^2$ s.t. $-1\le x\le1$. At $x=0$ no constraint is active, $\nabla f=0$, $\lambda=0$: a KKT point. But $f(0)=0\gt f(1)=-1$; $x=0$ is actually the maximum. (M5 §C)
Consider $\min x$ s.t. $g(x)=-x^2\ge0$. Mark all correct statements.
- (a) The only feasible point is $x=0$, so it is the minimiser.
- (b) $x=0$ is a KKT point.
- (c) KKT conditions are necessary at every local minimum, with no further assumption.
- (d) $x=0$ is not a regular point: the active gradient $\nabla g(0)=0$ is not linearly independent.
Explanation
(a), (d). (a) $-x^2\ge0$ forces $x=0$ ✓. (d) $\nabla g(x)=-2x$, which is $0$ at $x=0$; the zero vector is linearly dependent ✓ (so regularity fails). (b) False: stationarity would read $\nabla f=1=\lambda\nabla g(0)=\lambda\cdot0$, impossible. (c) False: this very example is a minimum at which KKT fails, which is why the regularity (constraint qualification) assumption is needed. (M5 §C)
Let $u\ne0$ and $a\gt0$. In the problem $\min u^\top x$ s.t. $\|x\|\le a$, the optimum $x^*$ has $\|x^*\|=a^2$ for some $u$.
Explanation
False. $\nabla f=u\ne0$, so the wall must be active (Stop 1). With $g=a^2-\|x\|^2\ge0$, $\nabla g=-2x$: stationarity $u=-2\lambda x$ with $\lambda\gt0$, so $x^*=-\frac{u}{2\lambda}$ points opposite to $u$, and $\|x^*\|=a$ gives $x^*=-a\,u/\|u\|$. Its length is $a$ for every $u$; it equals $a^2$ only in the special case $a=1$, so for a general $a\gt0$ the claim is false. (M5 §C)
For a convex programming problem, $\hat x$ satisfies the KKT conditions and there is a feasible direction $u$ with $\nabla f(\hat x)^\top u\lt0$.
Explanation
False. At a KKT point $\nabla f=\sum\lambda_i\nabla g_i$ with $\lambda_i\ge0$, summed over active constraints. For a feasible direction $u$, each active $g_i$ cannot fall: $\nabla g_i^\top u\ge0$. Hence $\nabla f^\top u=\sum\lambda_i\nabla g_i^\top u\ge0$: no feasible descent direction exists. His key: False. (M5 §A)
The set of feasible descent directions at a KKT point $\hat x$ is non-empty.
Explanation
False. Same argument as 2025 (m): at a KKT point $\nabla f^\top u=\sum\lambda_i\nabla g_i^\top u\ge0$ for every feasible $u$, so none is a descent direction. The printed paper has no key for this item; this is the correct answer. (M5 §A)
$\min x_1^2+x_2^2$ s.t. $g_1=x_1+x_2-2\ge0$, $g_2=x_1\ge0$. Which gives a KKT point with its multipliers $(\lambda_1,\lambda_2)$?
- (a) $x=(1,1)$, $\lambda=(2,0)$
- (b) $x=(2,0)$, $\lambda=(4,0)$
- (c) $x=(0,2)$, $\lambda=(4,-4)$
- (d) $x=(1,1)$, $\lambda=(1,1)$
Explanation
(a). At $(1,1)$: $\nabla f=(2,2)=2\cdot(1,1)=\lambda_1\nabla g_1$ with $\lambda_1=2\ge0$; $g_2=1\gt0$ is inactive so $\lambda_2=0$ ✓. The problem is convex, so this is the global minimum, value 2. (b) $(2,0)$: only $g_1$ is active and $\nabla f=(4,0)$ is not a multiple of $(1,1)$. (c) $(0,2)$: both active, solving gives $\lambda=(4,-4)$, and $\lambda_2\lt0$ violates the sign rule. (d) $\lambda_2=1$ but $g_2(1,1)=1\ne0$ breaks complementary slackness, and $(1,1)+(1,0)\ne(2,2)$ anyway. (M5 §C)
6. Reverse KKT and wrong-way inequalities
In plain words: exam questions rarely ask you to find the minimum. They give you a point $x^0$ that is supposed to be optimal and ask you to choose the missing numbers in the constraints so that this is true ("reverse KKT"), or to decide which inequality signs must have been written the wrong way round ("wrong-way inequalities"). Both are the KKT equation $\nabla f(x^0)=\sum\lambda_i\nabla g_i(x^0)$ solved backwards: the unknowns are the constraint data, or the signs of the $\lambda_i$.
Words and symbols on this stop: $x^0$ = the given candidate optimum. "Active at $x^0$" = $g_i(x^0)=0$; only active constraints may carry $\lambda_i\gt0$. A point that is feasible must have $g_i(x^0)\ge0$ for every constraint written as "$\ge0$". "Wrong way" = a printed "$\ge$" that really has to be "$\le$" (or the opposite).
Recipe: (1) $x^0$ must be feasible; if some $g_i(x^0)\lt0$ under "$g_i\ge0$", that inequality must be reversed (and is inactive, $\lambda_i=0$). (2) List the active constraints. (3) Write $\nabla f(x^0)=\sum_{\text{active}}\lambda_i\nabla g_i(x^0)$ and solve for the unknowns, checking every component (the system is often over-determined). (4) A constraint with $\lambda_i\lt0$ is written the wrong way: reverse it (its multiplier becomes $-\lambda_i\ge0$). (5) For "is it a global minimum?" use convexity, or the relaxation argument: drop all constraints but the active ones; if the relaxed convex problem is solved by $x^0$, so is the original. (M5 §D, §E)
A KKT point must be feasible: every constraint written $g_i(x)\ge0$ has $g_i(x^0)\ge0$ at it.
Explanation
True. Primal feasibility is the first of the four KKT parts. This is the starting point of every wrong-way question: if $g(x^0)=-5\lt0$ is printed under "$g\ge0$", the inequality as printed cannot belong to a problem for which $x^0$ is a KKT point. (M5 §E)
$\min f$ s.t. $x_1+a\,x_2\ge b$ is the only active constraint at $x^0$, and $\nabla f(x^0)=(2,4)$. For $x^0$ to be a KKT point, $a$ must be
- (a) $a=1$
- (b) $a=2$
- (c) $a=4$
- (d) $a=\tfrac12$
Explanation
(b). $\nabla g=(1,a)$, and stationarity is $(2,4)=\lambda(1,a)$. First component: $\lambda=2\ge0$. Second: $4=2a$, so $a=2$. Then $b$ is fixed by the wall passing through $x^0$ ($g(x^0)=0$). (a), (c), (d) give $\lambda a=2,8,1\ne4$: the vectors are not parallel. (M5 §D)
$\min f$ over $\mathbb R^3$ s.t. $2-c^\top x\ge0$ and $x_1\ge0$; $x^0=(0,1,1)$, $\nabla f(x^0)=(1,-1,-1)$. For which $c$ is $x^0$ a KKT point?
- (a) $c=(-2,1,1)$
- (b) $c=(0,2,2)$
- (c) $c=(-1,1,1)$
- (d) $c=(0,1,0)$
Explanation
(c). Gradients: $\nabla g_1=-c$, $\nabla g_2=e_1$ (active, since $x^0_1=0$). Components 2 and 3 of $(1,-1,-1)=-\lambda_1c+\lambda_2e_1$ give $\lambda_1c_2=\lambda_1c_3=1$, so $\lambda_1\gt0$ and $g_1$ must be active: $c_2+c_3=2$, i.e. $c_2=c_3=1$, $\lambda_1=1$. Component 1: $1=-c_1+\lambda_2$, so $\lambda_2=1+c_1\ge0$, i.e. $c_1\ge-1$. Hence $c=(c_1,1,1)$, $c_1\ge-1$. (a) has $c_1=-2$: $\lambda_2=-1\lt0$. (b),(d) have $c_2+c_3=4$ and $1$, not 2. (c) works with $\lambda_2=0$. (M5 §D)
$\min f$ s.t. $a_1^\top x+c_1\ge0$, $a_2^\top x+c_2\ge0$ (both active at the local minimum $x^{(0)}$, linear hence regular), with $\nabla f=(6,-10,4)$, $a_1=(1,-1,0)$, $a_2=(0,1,-1)$. Then the second inequality is written the wrong way and must be $a_2^\top x+c_2\le0$.
Explanation
True. KKT holds (linear active constraints): $(6,-10,4)=\lambda_1(1,-1,0)+\lambda_2(0,1,-1)$. Component 1: $\lambda_1=6$. Component 3: $-\lambda_2=4$, so $\lambda_2=-4$. Check component 2: $-6+(-4)=-10$ ✓ consistent. $\lambda_1=6\ge0$ so the first inequality is right; $\lambda_2=-4\lt0$ means the second is reversed (with multiplier $4$ after reversing). (Also $g(x^{(0)})=-5\lt0$ forces the third constraint to be reversed too.) (M5 §E)
7. Gradient projection
In plain words: to minimise $f$ over a set $C$, do ordinary gradient descent, but after each step, project the result back onto $C$ if you left it. The method stops moving exactly when a gradient step followed by projection returns the same point (a fixed point); and this happens exactly where the first-order condition of Stop 2 holds. It does not reach the answer in finitely many steps, and the answer need not have zero gradient, because a boundary minimum has a non-zero gradient pushed back by the wall.
Words and symbols on this stop: $x^{(k)}$ = the $k$-th iterate. $\alpha$ = step size. $L$ = the Lipschitz constant of $\nabla f$ ($f\in C^1_L$, a bound on the curvature: M1). $P_C$ = projection (Stop 3). "Fixed point": $x=P_C(x-\alpha\nabla f(x))$.
Precisely: $x^{(k+1)}=P_C\big(x^{(k)}-\alpha\nabla f(x^{(k)})\big)$, $x^{(0)}\in C$, $C$ closed convex, $f\in C^1_L$, constant step $\alpha\in(0,\tfrac2L)$ (often $\alpha\le\tfrac1L$). Each step satisfies $f(x^{(k+1)})\le f(x^{(k)})-\big(\tfrac1\alpha-\tfrac L2\big)\|x^{(k+1)}-x^{(k)}\|^2$. Fixed points are exactly the points with $\nabla f(x)^\top(y-x)\ge0$ for all $y\in C$. For convex $f$ the limit is a global minimum; for non-convex $f$ only a stationary point in this sense. (M5 §F)
Gradient projection takes a gradient step $x-\alpha\nabla f(x)$ and then projects the result back onto $C$.
Explanation
True. That is the update $x^{(k+1)}=P_C(x^{(k)}-\alpha\nabla f(x^{(k)}))$. If the gradient step already lands in $C$, projection does nothing. (M5 §F)
$f(x)=\tfrac12x_1^2+x_2^2-2x_1-2x_2$ over the box $C=[0,1]^2$, $\alpha=\tfrac14$, $x^{(0)}=(0,0)$. Then $x^{(2)}$ is
- (a) $(0.5,\,0.5)$
- (b) $(0.875,\,0.75)$
- (c) $(1,\,0.75)$
- (d) $(0.875,\,1)$
Explanation
(b). $\nabla f=(x_1-2,\ 2x_2-2)$. From $(0,0)$: $\nabla f=(-2,-2)$, $y=(0,0)+\frac14(2,2)=(0.5,0.5)$, inside the box: $x^{(1)}=(0.5,0.5)$. Then $\nabla f=(-1.5,-1)$, $y=(0.5+0.375,\ 0.5+0.25)=(0.875,0.75)$, still inside: $x^{(2)}=(0.875,0.75)$. (a) is $x^{(1)}$, not $x^{(2)}$. (c),(d) would need a clip, but both coordinates are below 1. The limit is $(1,1)$ (a fixed point: $\nabla f(1,1)=(-1,0)$ and the step lands at $(1.25,1)$, which clips back to $(1,1)$). (M5 §F)
The gradient projection algorithm finds the global minimum of a convex program in a finite number of iterations.
Explanation
False. It converges to the minimiser in the limit, not exactly after finitely many steps (like gradient descent). Counterexample: $\min\frac12x^2$ over $[-1,1]$ from $x^{(0)}=1$ with $\alpha=\frac12$: $x^{(k)}=2^{-k}\ne0$ for every $k$. His key: False. (M5 §F)
Projected gradient descent always converges to a point whose gradient is $0$.
Explanation
False. The limit may sit on the boundary with $\nabla f\ne0$, held there by the wall. Counterexample: $f=\tfrac12x^2-2x$ over $[0,1]$ converges to $x=1$ with $f'(1)=-1\ne0$. What is true is the first-order condition $\nabla f(x)^\top(y-x)\ge0$ on $C$. (M5 §F)
For a convex programming problem, gradient projection with an appropriate step size converges to a global minimum.
Explanation
True. With $\alpha\in(0,2/L)$ the limit points are fixed points, which satisfy $\nabla f(x)^\top(y-x)\ge0$ on $C$; for convex $f$ this first-order condition is sufficient (Stop 2), so the limit is a global minimum. If $f$ were not convex, only a stationary point would be guaranteed. His key: True. (M5 §F)
8. The active set method
In plain words: for a quadratic objective with linear inequality walls, guess which walls you are standing on (the working set $W$), pretend they are equalities, and solve that easy problem for a step $v$. (With $W=\emptyset$ the step is the unconstrained minimiser step; for $\frac12\|x\|^2$ it is $v=-x$.) Walk along $v$ but stop at the first wall you would hit (the ratio test) and add that wall to $W$. When the step is $v=0$ (nowhere left to go along the current walls), read the multipliers: if all are $\ge0$ you are done; if one is negative, that wall is holding you back wrongly, so drop it and continue.
Words and symbols on this stop: problem $\min\frac12x^\top Qx+h^\top x$ ($Q\succ0$ = positive definite) s.t. $a_i^\top x\ge b_i$. $W$ = working set. $v$ = the step from the subproblem on $W$. $t_i=\dfrac{a_i^\top x-b_i}{-a_i^\top v}$ = the fraction of $v$ you can walk before wall $i$ blocks you (only for walls with $a_i^\top v\lt0$). $\mu_i$ = multipliers from $\nabla f(x)=\sum_{i\in W}\mu_ia_i$.
Precisely: (1) Solve the equality-constrained subproblem on $W$ for $v$. (2) $v\ne0$: step $t=\min(1,\min_{i\notin W,\,a_i^\top v\lt0}t_i)$; if $t\lt1$ add the blocking constraint to $W$. (3) $v=0$: compute $\mu$; all $\mu_i\ge0$ means optimal; otherwise drop some $l$ with $\mu_l\lt0$ (the new step is a feasible descent direction, and $v^\top Qv=-\mu_l\,a_l^\top v$). (M5 §G)
In the active set method, the working set $W$ is the set of constraints that the current step treats as equalities.
Explanation
True. That is its role: the subproblem on $W$ is an equality-constrained problem (easy to solve), and the other constraints are ignored until the ratio test shows one of them blocks the step. (M5 §G)
$\min\frac12\|x\|^2$ s.t. $a_1^\top x\ge3$, $a_2^\top x\ge3$ with $a_1=(1,2)$, $a_2=(2,1)$. From $x=(6,0)$ with $W=\emptyset$ the step is $v=-x=(-6,0)$. The fraction $t$ of $v$ walked before a wall blocks is
- (a) $t=\tfrac12$
- (b) $t=\tfrac34$
- (c) $t=1$
- (d) $t=\tfrac14$
Explanation
(a). Ratios: wall 1: $\frac{a_1^\top x-3}{-a_1^\top v}=\frac{6-3}{6}=\frac12$. Wall 2: $\frac{12-3}{12}=\frac34$. The step stops at the first wall, $t=\min(1,\tfrac12,\tfrac34)=\tfrac12$, giving $x=(3,0)$ and $W=\{1\}$. (b) is wall 2's ratio (hit later, after already crossing wall 1: infeasible). (c) would be the full step, which breaks wall 1. (d) is not any ratio. (M5 §G)
In the active set algorithm, a descent direction is generated only when we remove constraints from the working set.
Explanation
False. Whenever the subproblem on the current $W$ gives a nonzero step $v$, that step lowers the objective, so it is a descent direction, e.g. the very first step from $(6,0)$ with $W=\emptyset$. Removing a constraint is only needed when $v=0$ and some $\mu_l\lt0$. His key: False. (M5 §G)
The active set algorithm is applied to a convex quadratic program with 500 variables and more than 50 linear constraints, from a feasible point with no active constraints. After some iterations $f$ has strictly decreased and the working set has grown to 8 constraints. Is this observed behaviour possible for the algorithm?
Explanation
False (his key). I cannot reconstruct a clean reason from first principles: a working set does grow by one constraint per blocked step, so size 8 with $f$ strictly decreasing looks possible. Treat this as a low-priority item: if it appears, answer False (his key), as he does. (M5 §G)
The rigorous version
- Feasible / descent direction. $u$ is feasible at $x\in\Omega$ if $x+tu\in\Omega$ for all small $t\gt0$; descent if $\nabla f(x)^\top u\lt0$. If $x^*$ is a local minimum of $f\in C^1$ over $\Omega$, no direction is both.
- First-order condition. $C$ convex, $x^*$ a local minimum over $C$ $\Rightarrow$ $\nabla f(x^*)^\top(x-x^*)\ge0$ for all $x\in C$. If $f$ is convex the condition is also sufficient for a global minimum.
- Projection theorem. $C$ closed, convex, nonempty: $P_C(z)=\arg\min_{x\in C}\tfrac12\|x-z\|^2$ exists and is unique; $p=P_C(z)$ iff $p\in C$ and $(z-p)^\top(x-p)\le0$ for all $x\in C$. Formulas: box (clip), ball $a+\frac{r}{\max(r,\|z-a\|)}(z-a)$, half-space $z-\frac{(a^\top z-b)_+}{\|a\|^2}a$, affine $z-A^\top(AA^\top)^{-1}(Az-b)$.
- Separation. $C$ closed convex, $z\notin C$, $h=z-P_C(z)$: $h^\top x\le h^\top P_C(z)\lt h^\top z$ for all $x\in C$.
- Farkas. Exactly one of: (I) $Ax=b$, $x\ge0$; (II) $A^\top y\ge0$, $b^\top y\lt0$. Equivalent form: exactly one of (i) $\nabla f=\sum\lambda_ia_i$, $\lambda\ge0$; (ii) $\exists u$: $a_i^\top u\ge0\ \forall i$, $\nabla f^\top u\lt0$.
- KKT for $\min f$ s.t. $g_i\ge0$, $h_j=0$: $\nabla f=\sum\lambda_i\nabla g_i+\sum\mu_j\nabla h_j$, $\lambda\ge0$ ($\mu$ free), $\lambda_ig_i=0$, $g\ge0$, $h=0$ (Lagrangian $L=f-\sum\lambda_ig_i-\sum\mu_jh_j$, $\nabla_xL=0$). Necessary at a local minimum that is a regular point (active gradients independent, or active constraints linear). Sufficient for a global minimum when $f$ is convex, $g_i$ concave and $h_j$ affine.
- At a KKT point $\nabla f^\top u\ge0$ for every feasible direction $u$ (no feasible descent direction).
- Reverse KKT / wrong-way. Solve $\nabla f(x^0)=\sum_{\text{active}}\lambda_i\nabla g_i(x^0)$ for the unknowns, impose $\lambda\ge0$ and feasibility; $g_i(x^0)\lt0$ under "$\ge0$" or $\lambda_i\lt0$ means reverse inequality $i$. Global optimality: convexity, or relax to the active constraints.
- Gradient projection. $x^{(k+1)}=P_C(x^{(k)}-\alpha\nabla f(x^{(k)}))$, $\alpha\in(0,2/L)$; $f(x^{(k+1)})\le f(x^{(k)})-(\frac1\alpha-\frac L2)\|x^{(k+1)}-x^{(k)}\|^2$; fixed points $\Leftrightarrow$ first-order condition; convex $\Rightarrow$ global; converges in the limit only.
- Active set (QP). Subproblem on $W$; $v\ne0$: $t=\min(1,\min_i\frac{a_i^\top x-b_i}{-a_i^\top v})$, add the blocker; $v=0$: $\nabla f=\sum_{i\in W}\mu_ia_i$, all $\mu\ge0$ stop, else drop $l$ with $\mu_l\lt0$; then $v^\top Qv=-\mu_la_l^\top v$.
Slips in the papers: 2019 MT3 Q2(b) key ($u=4(1,-1,2)$ is right); 2024 final Q4 numbers are inconsistent (no multipliers exist); 2024 final 1(h) has no printed key (answer False); 2025 final 1(r) key False with no clean reason. Depth: M5 (full theory).
Final mixed round (exam level)
Mixed items from all eight stops. No hints; answer from the recipes.
$f$ is convex on $\mathbb R^3$ with $f(\hat x)=3$, $\nabla f(\hat x)=(1,10,0)$ at $\hat x=(1,1,1)$. The constraints are $\frac13(x_1x_2+x_3x_2+x_1x_2)\le1.5$, $x_1+10x_2\ge11$, $x_2+x_3\le10$, $x_3\ge0.5$; $\hat x$ is a KKT point (only $x_1+10x_2\ge11$ is active, $\lambda=1$). Then the global optimal value is strictly less than 3.
Explanation
False. Relaxation argument: drop every constraint except $x_1+10x_2\ge11$. The relaxed problem is convex (convex $f$, one linear constraint) and $\hat x$ is a KKT point of it, so $\hat x$ is its global minimum, with value 3. The original problem has more constraints, so its optimum is $\ge3$; and $\hat x$ is feasible for it, so the optimum is exactly 3. (M5 §D)
$x^{(0)}$ has two active constraints with $\nabla g_1=(1,-2,0)$, $\nabla g_2=(0,1,-2)$, and $\nabla f(x^{(0)})=(4,-12,4)$. Then there are multipliers $\lambda_1,\lambda_2$ with $\nabla f=\lambda_1\nabla g_1+\lambda_2\nabla g_2$.
Explanation
False. Component 1 gives $\lambda_1=4$; component 3 gives $-2\lambda_2=4$, so $\lambda_2=-2$. Then component 2 would be $-2\cdot4+(-2)\cdot1=-10$, but $\nabla f$ has $-12$: the system is inconsistent, so no multipliers exist. The printed key answers as if they did; if you meet this, show the method and state the inconsistency. (M5 §E)
Minimise $\tfrac12\|x-(2,2)\|^2$ subject to $x_1+x_2\le2$ (i.e. project $(2,2)$ onto the half-space). Write it with $g(x)=2-x_1-x_2\ge0$. The solution $x^*$ and multiplier $\lambda$ are
- (a) $x^*=(2,2)$, $\lambda=0$
- (b) $x^*=(1,1)$, $\lambda=1$
- (c) $x^*=(1,1)$, $\lambda=-1$
- (d) $x^*=(2,0)$, $\lambda=2$
Explanation
(b). Half-space formula: $a=(1,1)$, $a^\top z-b=4-2=2$, $\|a\|^2=2$: $P=(2,2)-\frac22(1,1)=(1,1)$. Stationarity: $\nabla f=x-z=(-1,-1)$ and $\nabla g=(-1,-1)$, so $\lambda=1\ge0$. (a) is infeasible ($4\gt2$). (c) has the right point but a negative multiplier: with $g\ge0$ the weight must be $\ge0$. (d): $(2,0)$ is feasible but not the nearest point: $\nabla f(2,0)=(0,-2)$ is not a multiple of $(-1,-1)$. (M5 §B, §C)
$\min f$ s.t. $c^\top x\le3$, active at $x^0=(1,1)$, with $\nabla f(x^0)=(-2,-4)$. For $x^0$ to be a KKT point, $c$ must be
- (a) $c=(1,2)$
- (b) $c=(-1,-2)$
- (c) $c=(2,4)$
- (d) $c=(1,1)$
Explanation
(a). In his form $g=3-c^\top x\ge0$, $\nabla g=-c$. Stationarity: $(-2,-4)=-\lambda c$, so $c=\frac1\lambda(2,4)$ with $\lambda\gt0$. The wall must pass through $x^0$: $c^\top x^0=3$, i.e. $\frac1\lambda\cdot6=3$, so $\lambda=2$ and $c=(1,2)$. (b) has the wrong sign ($\lambda$ would be $-2$). (c) is parallel but $c^\top x^0=6\ne3$: the wall misses $x^0$. (d) is not parallel to $(2,4)$. (M5 §D)
For the set $C=\{x\in\mathbb R^2:\|x\|\ge1\}$ (the outside of the unit disc), the projection of the origin onto $C$ is unique.
Explanation
False. Every point of the unit circle is at distance 1 from the origin and nothing in $C$ is closer, so every unit vector is a nearest point: infinitely many. $C$ is closed but not convex; the uniqueness theorem needs convexity (Stop 3). (M5 §B)
Mark all correct statements.
- (a) For a convex problem, every KKT point is a global minimum.
- (b) For convex $f$ and closed convex $C$, a fixed point of $x\mapsto P_C(x-\alpha\nabla f(x))$ is a global minimum of $f$ over $C$.
- (c) If the active set method reaches a point with $v=0$ and all multipliers $\mu_i\ge0$, that point is a KKT point (with $\lambda_i=\mu_i$ on $W$, $0$ elsewhere).
- (d) Every KKT point of a non-convex problem is at least a local minimum.
Explanation
(a), (b), (c). (a) is the sufficiency theorem (Stop 5). (b) A fixed point satisfies the first-order condition, which is sufficient for convex $f$ (Stops 2 and 7). (c) With $v=0$ stationarity is $\nabla f=\sum_{i\in W}\mu_ia_i$; the walls outside $W$ are feasible and inactive; $\mu\ge0$ completes KKT. (d) is false: $\min-x^2$ on $[-1,1]$ has the KKT point $x=0$, which is a maximum. (M5 §C, §F, §G)
In the active set method the current working set is $W=\{1,2,3\}$, the subproblem step is $v=0$ and the multipliers are $\mu=(1,2,-3)$. Mark all correct statements.
- (a) The current point is not optimal.
- (b) Constraint 3 should be dropped from $W$.
- (c) Constraint 1 should be dropped, because it has the smallest multiplier magnitude.
- (d) If $\hat u$ is the next (non-zero) step after dropping constraint 3 and $\hat u^\top Q\hat u=6$, then $a_3^\top\hat u=2$.
Explanation
(a), (b), (d). (a) A negative multiplier ($\mu_3=-3$) means KKT fails. (b) Drop the constraint with the negative multiplier; the new step is a feasible descent direction. (c) wrong: size is irrelevant, only the sign decides ($\mu_1=1\gt0$ is fine). (d) $\hat u^\top Q\hat u=-\mu_3\,a_3^\top\hat u=3\,a_3^\top\hat u=6$, so $a_3^\top\hat u=2$. (M5 §G)