The Lumenary · Advanced undergraduate
Optimisation
Name: ______________________
Date: ______________________
You will learn to
- Formulate linear programs, solve them with the simplex method, and interpret the dual problem through weak and strong duality, complementary slackness and shadow prices
- Prove that every local minimum of a convex function is a global minimum, and recognise convex sets and functions
- Apply Lagrange multipliers and the KKT conditions, and prove that the KKT conditions are sufficient for convex problems
- Implement gradient descent and prove its rate for convex functions with Lipschitz gradient; compare it with Newton's method
- Treat least-squares data fitting as a convex optimisation problem
- 1.
Maximise subject to , , . What is the optimal value?
- 2.
Which of these functions are convex? (Choose all that apply.)
- A.
- B.
- C.
- D.
- E.
- F.
- 3.
In the workshop problem ( subject to , , , ) the optimal dual solution is . By how much does the maximum profit increase if workshop C gets one extra hour (so )?
- 4.
In the proof of weak duality, . Which hypotheses justify the last inequality ?
- A. and
- B. and
- C. alone
- D.Optimality of
- 5.
Minimise subject to . Which point is the minimiser?
- A.
- B.
- C.
- D.
- 6.
The Lean theorem
local_min_convex_globalassumeshf : ConvexOn ℝ Set.univ fandhx : IsLocalMin f xand concludesf x ≤ f y. Which function and point show that the convexity hypothesishfcannot be dropped?- A. at
- B. at
- C. at
- D. at
- 7.
Gradient descent with step is run on a convex -smooth function with , starting at distance from a minimiser. Using Theorem 9, what is the smallest number of steps that guarantees ?
- 8.
Write
gradient_descent(grad, x0, step, iters)that applies to a numberx0iterstimes and returns the final value. Then use it on , whose gradient is (so ), and observe that steps below converge while larger steps diverge.Computational — Practice