Community-created

Convex Optimization: Theory, Algorithms, and Modeling

by Coral-Heron-35416
A rigorous, Boyd-inspired series on convex optimization — building from convex sets, functions, and duality to interior-point solvers, proximal methods, and SDP relaxations, with applications drawn from computer graphics and vision.
Library
Course cover

Foundations: Convex Sets and Functions

Lesson 1
The Line Everyone Draws in the Wrong Place image

The Line Everyone Draws in the Wrong Place

Everyone 'knows' linear problems are easy and nonlinear ones are hard — so why does the same solver crush a million-variable nonlinear problem and get hopelessly lost on one with two variables?
Start
Lesson 2
How Do You Say One Matrix Is Smaller Than Another? image

How Do You Say One Matrix Is Smaller Than Another?

Solvers for LP, SOCP, and SDP compare things that have no natural order — vectors, even whole matrices — and the secret turns out to be a single geometric object hiding inside every one of these problems.
Start
Lesson 3
The Energy That Broke the Hessian Test image

The Energy That Broke the Hessian Test

A one-line image-denoising energy defeats the standard Hessian test entirely — and the shortcut every expert uses instead hides a composition trap that fools almost everyone who meets it.
Start
Lesson 4
One Number per Slope: A Function's Secret Twin image

One Number per Slope: A Function's Secret Twin

Compress an entire function into one number per slope — the best gap a line can open against it — and you've either thrown almost everything away or built a perfect secret twin. Which is it, and why does the answer secretly power every likelihood in computer vision?
Start

The Hierarchy of Convex Problems

Lesson 5
The Seam That a Million Equations Erased image

The Seam That a Million Equations Erased

Photoshop's seamless paste solves a million-variable optimization problem before your finger leaves the mouse — what hidden structure makes a problem that huge feel that easy, and why does the same trick fail the moment a few outliers sneak in?
Start
Lesson 6
Conic Optimization: SOCP and SDP image

Conic Optimization: SOCP and SDP

Step beyond polyhedra into second-order cones and semidefinite matrices, unlocking a far richer language of constraints.
Locked till you take the prior lesson

Duality and Optimality

Lesson 7
The Geometry of Duality and Lagrange Multipliers image

The Geometry of Duality and Lagrange Multipliers

What actually happens at a constrained optimum? A geometric picture that makes dual problems feel intuitive.
Locked till you take the prior lesson
Lesson 8
KKT Conditions: Certifying Optimality image

KKT Conditions: Certifying Optimality

Uncover the fundamental conditions that certify optimality — and see how they unlock closed-form dual solutions.
Locked till you take the prior lesson

Solvers and Algorithms

Lesson 9
First-Order Methods: Why Gradient Descent Zigzags image

First-Order Methods: Why Gradient Descent Zigzags

Examine condition numbers, gradient descent trajectories, and why ill-conditioned problems choke simple solvers.
Locked till you take the prior lesson
Lesson 10
Interior-Point Methods: How Solvers Work Under the Hood image

Interior-Point Methods: How Solvers Work Under the Hood

See how modern solvers transform hard inequality constraints into smooth logarithmic barrier functions.
Locked till you take the prior lesson
Lesson 11
Non-Smooth Optimization and Proximal Operators image

Non-Smooth Optimization and Proximal Operators

Gradient descent fails at kinks. Meet the proximal operator that handles L1 norms and non-smooth terms effortlessly.
Locked till you take the prior lesson
Lesson 12
ADMM: Splitting Complex Energy Functions image

ADMM: Splitting Complex Energy Functions

Learn the operator-splitting trick behind modern imaging solvers, and build intuition for consensus optimization.
Locked till you take the prior lesson

Applications, Relaxations, and Modeling

Lesson 13
Ill-Posed Problems and Regularization image

Ill-Posed Problems and Regularization

Some inverse problems have infinitely many solutions. Discover how adding penalty terms restores well-posedness.
Locked till you take the prior lesson
Lesson 14
Convex Relaxations in 3D Vision image

Convex Relaxations in 3D Vision

Rotations and correspondences live on non-convex sets. See how semidefinite relaxations give provable bounds.
Locked till you take the prior lesson
Lesson 15
The Art of Convex Modeling image

The Art of Convex Modeling

Take messy graphics and vision formulations and reformulate them into disciplined convex programs.
Locked till you take the prior lesson