Roadmap Start learning
E05AdvancedElectiveHard
Advanced Optimisation
Convex optimisation, duality, quadratic programming and stochastic gradient methods.
1.3 h of lessons~39 min of practice across 6 problems
Prerequisites not done
Lessons0 / 4 lessons
Mastery · target 80%0 / 6 solved
Completing the lessons finishes the module. Mastery also needs 80% of its problems solved.
What you will be able to do
- Recognise convex problems and why they are tractable
- Use Lagrangian duality and the KKT conditions
- Formulate portfolio problems as quadratic programmes
- Tune stochastic gradient methods
Before you start
Prerequisites: this module uses their material directly.
Lessons
1.ConvexityConvex sets and functions, the operations that preserve convexity, strong convexity and smoothness with the convergence rates they buy, and how to recognise (or reformulate) portfolio and regression problems as convex programmes.18m2.Duality and KKTThe Lagrangian dual, weak and strong duality, Slater's condition, complementary slackness, a small QP solved both through KKT and through its dual, and dual variables as prices, including state prices in an arbitrage LP.20m3.Quadratic ProgrammingPortfolio construction with budget, long-only, position-cap and turnover constraints as a quadratic programme, active-set intuition worked by hand, and a scipy solution whose KKT conditions are checked numerically.20m4.Stochastic Gradient MethodsSGD convergence with constant and decaying steps, the noise floor and how it scales with step and batch size, Polyak–Ruppert averaging, momentum and Adam, and a runnable comparison on least squares.20m
Practice problems (6)
Where this module fits
- Quant Researcher: Optional; recommended for Machine Learning Research