Save this video free

Lecture 26: KKT geometry

Burton Ma · 40:20 · 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 uses geometric examples to explain how KKT conditions connect active inequality constraints to constrained minima: if the unconstrained optimum is feasible, it remains optimal; otherwise, active constraints and their gradients determine the solution. Examples progress from a six-constraint chairs-and-tables problem, where checking every active-set combination would require up to 2^6 cases, to quadratic problems solved geometrically and with MATLAB's fmincon.

Key takeaways

Chapters

0:00 Checking the Chairs-and-Tables Candidate with KKT Conditions
8:00 Start with the Unconstrained Minimum and Check Feasibility
11:20 A Boundary Minimum for the Constraint w2 ≤ -1
15:40 Projecting the Origin onto an Oblique Constraint Boundary
18:40 Three Half-Spaces, Convex Feasibility, and One Active Constraint
23:20 Using MATLAB fmincon for Linear and Nonlinear Constraints
27:00 Weighted Quadratics Change the Closest Feasible Point
30:40 Two Active Constraints and the KKT Gradient Combination

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

Transcript excerpt

0:02 Okay, good morning, everybody. Uh, so let me remind you where we left off at the end of last class. Uh, so we were looking uh so we had just studied the KKT conditions. Um, we saw that there were several conditions um that need to be satisfied for a solution to be a minimizer um given some uh constraints, right? Both inequality and equality constraints. Uh, and so we went back and looked at this problem uh the chairs and tables problem where we have a straight a linear optimization problem with linear inequality constraints. Uh, and previously um you were told well the solution is right there. So it's at like uh well I forget the exact numbers. We'll Oh, 300 and 275. Um, so it's sitting right there at that cusp of the corner there,

0:49 right? And if you um look at the picture uh you can determine that um uh you're at the intersection of two lines, right? So you're at the intersection of that inequality constraint uh and the intersection of this inequality constraint. Uh, and so if you trust that the solution is correct uh there are there will be um two uh active inequality constraints, right? All the other constraints are inactive. Right? For example, the one in the yellow is um what is the one in the yellow again? Is uh this one, the upholstery constraint, I believe. Uh, so it's basically W1 is less than is less than 900. Right? And so everything to the left

1:37 of the rightmost edge here um would be the feasible set for that constraint, right? And so you're inside the feasible set, so you know that the yellow constraint is not an active constraint uh if the solution is correct, right? Okay, so to verify uh

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.