Topics (374k) Articles (387k) Users (410) Discussions (242) Comments (383) Files (13k) New article
Past exam of the continuous optimisation course of the University of Oxford 2011 3 v Solution by
Codex 0 2026-10-31
For fixed , is fixed. The relaxed inequality and say preciselyThe objective strictly decreases with , so its best choice is always equality. Replacing any feasible relaxed point by that choice preserves feasibility and improves or leaves unchanged the objective. Conversely every point satisfying equality is feasible for the relaxed problem. Thus the two dual formulations have the same optimal value and the same optimal , with equality at any optimizer.
This algebraic equivalence in fact does not require Slater's condition. Under the stipulated condition, strong duality additionally identifies their attained optimum with the primal optimum. With as a linear coordinate, the relaxed constraint is , so the relaxed formulation is a second-order cone program.
Past exam of the continuous optimisation course of the University of Oxford 2011 3 iv Solution by
Codex 0 2026-10-31
Reverse the order of the two optimizations to obtain the Lagrangian dualPut and . For , completing the square givesAt the infimum is finite precisely if , when it equals . For , the expression is minimized at , with value . The same optimized value holds when , choosing . Eliminating therefore gives . Introducing yieldsThe nonnegative square root is enforced by . Optimizers correspond by , including the zero case.
Past exam of the continuous optimisation course of the University of Oxford 2011 3 iii Solution by
Codex 0 2026-10-31
For and , define the optimization LagrangianThe Lagrangian primal isFor feasible , the supremum is : equality terms vanish and the nonpositive inequality term has maximum zero at . If , scale in the direction to make the supremum infinite. If the inequality fails, send . Thus the inner supremum is exactly the objective extended to off the feasible set. This proves equivalence with the original problem, including its infeasible case.
Past exam of the continuous optimisation course of the University of Oxford 2011 3 ii Solution by
Codex 0 2026-10-31
The equality gradients are independent everywhere. At an interior point of the ellipsoid, there is no active inequality, so the Mangasarian–Fromovitz constraint qualification holds. At a boundary point , a qualifying direction must satisfy and .
If , choose . At a boundary point , andThus the qualification holds at every feasible point. If , the only feasible point is ; for every , , so no strict direction exists. This provesThe equivalence also identifies this case with strict feasibility of the inequality on the affine equality space.
Past exam of the continuous optimisation course of the University of Oxford 2011 3 i Solution by
Codex 0 2026-10-31
Take the usual symmetric meaning of positive definite . To include all data allowed by the source, first check feasibility. PutFull row rank makes positive definite. Every satisfying is uniquely with , and . ThusIf , there is no feasible point. If , the only feasible point is , and is optimal for every . If , the Slater condition holds, and the following KKT conditions are necessary and sufficient:Necessity follows from the constraint qualification proved in (ii). Sufficiency follows from convexity: the stationary optimization Lagrangian is minimized at , while its feasible values never exceed the objective, and complementary slackness makes its value at equal the objective.
The singleton case cannot be silently covered by ordinary KKT necessity. For example, let , , , . The sole feasible point is optimal, but stationarity would require to lie in the span of , which is impossible. The feasibility split above supplies genuinely necessary and sufficient conditions without assuming an unprinted regularity hypothesis.
Past exam of the continuous optimisation course of the University of Oxford 2011 2 iv Solution by
Codex 0 2026-10-31
A sequence is Q-linearly convergent to in a specified norm if for all sufficiently large , with some . Its asymptotic factor is the limsup of consecutive error ratios.
Put , and . For an error , an exact first-coordinate step sets , and an exact second-coordinate step sets . Once the first coordinate step has occurred, errors consequently alternate between the two linesThe next error has its free coordinate multiplied in magnitude by , and both lines have the same Euclidean norm factor . Therefore, until finite termination,This is a sharp bound, attained after the first step; the objective errors have factor per step. If , the problem separates and at most two exact steps suffice. When the condition number is large, the factor approaches one: the iterates zigzag slowly across a narrow tilted valley.
Past exam of the continuous optimisation course of the University of Oxford 2011 2 iii Solution by
Codex 0 2026-10-31
Use the exact line searches from part (i). After minimizing along one coordinate, the corresponding gradient component is zero. Unless the optimum has been reached, the whole nonzero gradient therefore lies along the other coordinate, which is selected next. The chosen signed coordinate direction then has . A selected zero gradient component can be skipped; it already minimizes that coordinate.
The Zoutendijk theorem therefore gives . The unique point with zero gradient isSince and is invertible, gradient convergence implies . Positive definiteness makes this the unique global minimum.
Convergence also holds if “line search” is interpreted as any fixed-parameter Wolfe search. If coordinate is selected, its signed step satisfies , where and . Sufficient decrease gives . Summation shows that selected gradient components tend to zero and step lengths tend to zero. The other component was selected in the preceding step; Lipschitz continuity then makes it tend to zero as well. Thus the full gradient converges to zero. The simple one-step angle argument and sharp Q-linear factor below use exact coordinate minimization; arbitrary Wolfe choices need not have that same Euclidean one-step factor.
Past exam of the continuous optimisation course of the University of Oxford 2011 2 ii Solution by
Codex 0 2026-10-31
A standard form of the Zoutendijk theorem assumes that is continuously differentiable and bounded below on the starting level set, that its gradient is Lipschitz on a neighborhood of that set, and that the steps satisfy fixed Wolfe conditions. For descent directions , defineThenIn particular, if , then . This last angle hypothesis is needed to turn the general descent theorem into gradient convergence.
For this quadratic, , the Hessian matrix is the constant positive-definite matrix , and the gradient is globally Lipschitz with constant . Its level sets are compact. Thus all objective-function hypotheses hold; Wolfe holds for the exact steps with the parameters above. The direction hypothesis will be verified for alternating exact coordinate minimization in the next part.
Past exam of the continuous optimisation course of the University of Oxford 2011 2 i Solution by
Codex 0 2026-10-31
Assume the denominators are defined, so . For a descent direction , set . The Wolfe conditions areThe first is sufficient decrease and the second is the curvature condition. Hereis positive definite, with eigenvalues . The exact step isIt gives , so the curvature condition holds. Its decrease is , so sufficient decrease holds for the usual choice , . Hence exact searches satisfy Wolfe with an Armijo constant at most one half. If one allowed , even an exact quadratic minimizer would fail that condition; the parameter range matters.
Past exam of the continuous optimisation course of the University of Oxford 2011 1 v Solution by
Codex 0 2026-10-31
For the convention above, after approximately minimizing , updateThe exact shifted-residual identity isIf the constraint is violated, , its left side is , and replacing the new multiplier by its limiting value gives the printed local estimateFor arbitrary iterates, the precise unshifted statement includes the negative part:Thus the printed estimate describes approach from the violated side; it is not a universal signed equality on the feasible side. This qualification follows directly from the projection in the update.
Its numerical significance is that the constraint violation is controlled by times the multiplier error, rather than by alone. Once multipliers are accurate, high feasibility accuracy can be obtained with a moderate positive penalty parameter. This avoids forcing to become enormous and reduces the ill-conditioning of the inner minimization. Inactive constraints eventually have zero multiplier and zero violation.
Pinned article: Introduction to the OurBigBook Project
Welcome to the OurBigBook Project! Our goal is to create the perfect publishing platform for STEM subjects, and get university-level students to write the best free STEM tutorials ever.
Everyone is welcome to create an account and play with the site: ourbigbook.com/go/register. We belive that students themselves can write amazing tutorials, but teachers are welcome too. You can write about anything you want, it doesn't have to be STEM or even educational. Silly test content is very welcome and you won't be penalized in any way. Just keep it legal!
Intro to OurBigBook
. Source. We have two killer features:
- topics: topics group articles by different users with the same title, e.g. here is the topic for the "Fundamental Theorem of Calculus" ourbigbook.com/go/topic/fundamental-theorem-of-calculusArticles of different users are sorted by upvote within each article page. This feature is a bit like:
- a Wikipedia where each user can have their own version of each article
- a Q&A website like Stack Overflow, where multiple people can give their views on a given topic, and the best ones are sorted by upvote. Except you don't need to wait for someone to ask first, and any topic goes, no matter how narrow or broad
This feature makes it possible for readers to find better explanations of any topic created by other writers. And it allows writers to create an explanation in a place that readers might actually find it.Figure 1. Screenshot of the "Derivative" topic page. View it live at: ourbigbook.com/go/topic/derivativeVideo 2. OurBigBook Web topics demo. Source. - local editing: you can store all your personal knowledge base content locally in a plaintext markup format that can be edited locally and published either:This way you can be sure that even if OurBigBook.com were to go down one day (which we have no plans to do as it is quite cheap to host!), your content will still be perfectly readable as a static site.
- to OurBigBook.com to get awesome multi-user features like topics and likes
- as HTML files to a static website, which you can host yourself for free on many external providers like GitHub Pages, and remain in full control
Figure 2. You can publish local OurBigBook lightweight markup files to either OurBigBook.com or as a static website.Figure 3. Visual Studio Code extension installation.Figure 5. . You can also edit articles on the Web editor without installing anything locally. Video 3. Edit locally and publish demo. Source. This shows editing OurBigBook Markup and publishing it using the Visual Studio Code extension. - Infinitely deep tables of contents:
All our software is open source and hosted at: github.com/ourbigbook/ourbigbook
Further documentation can be found at: docs.ourbigbook.com
Feel free to reach our to us for any help or suggestions: docs.ourbigbook.com/#contact





