Save this video free

Lecture 21: Constrained optimization (equality constraints)

Burton Ma · 46:33 · Watch on YouTube

Part of Queen's University CISC 371. See all 23 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

Burton Ma develops the first-order method for equality-constrained optimization by connecting feasible directions, level-set geometry, and gradients, then formalizing the relationship with Lagrange multipliers. Examples include finding the nearest point on a line, minimizing a linear function on a parabola, and minimizing a Mahalanobis distance; the resulting Lagrangian conditions reduce one constraint problem to a system of equations, which may be nonlinear.

Key takeaways

Chapters

0:00 From Unconstrained Gradients to Equality Constraints
3:30 Constraint Gradients as Normals to Level Sets
8:00 Nearest Point on a Line: Parallel Gradients at the Minimum
14:30 Minimizing a Linear Objective on a Parabola
22:00 Mahalanobis Distance to a Parabola
28:00 Why Constrained Minima Have Nonzero Objective Gradients
33:00 Defining the Lagrangian and Its Constraint Qualification
38:00 Deriving the Lagrange Multiplier Equations
43:00 Turning Optimization into a System of Equations

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:01 All right. Good morning, everybody. Um, uh, so we were looking at constrained optimization in the last class. Uh, so that that was the topic that was introduced in the last lecture. Um, so now we want to We didn't actually look at how to solve one of these constrained optimization problems in general. Uh, and so that's the problem that we want to tackle today and probably next week, uh, for a few lectures. All right. So let's see. Um, we want to try to solve these problems in a similar way, uh, that we solved the unconstrained optimization problem. So in the unconstrained optimization problem, the first and second derivatives play an important role, uh, in solving the problem.

0:48 And multivariate functions, obviously it's the gradient and the Hessian now that become uh essential. Uh, so in constrained optimization, the problem that you have is that there's not just one objective function, uh, but there's a whole bunch of or possibly a whole bunch of um constraint functions as well that we have to consider. Um, so we have equality constraints and inequality constraints. Uh, we're going to tackle the equality constraints first because it's a little bit easier uh to derive the necessary machinery. All right. Unconstrained optimization. You're looking for uh well, one way that you can solve these problems is to set the gradient to zero, uh, solve for the quantities of interest, right? And so you can interpret this condition as meaning uh for any

1:35 infinitesimally small change in W star, there's no change in the value of F. So if you're thinking about one dimensional optimization, right? We're looking for somewhere where the derivative goes to zero. Well, sorry, it's not a very good picture. So we're looking for that point there. Right? So the derivative goes to zero.

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

In this course

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Burton Ma.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.