Save this video free

CPBS 7620 - Lecture 18 - Convex Optimization

Nicholas Dwork · 13:44 · Watch on YouTube

CPBS 7620 - Lecture 18 - Convex Optimization Watch on YouTube →

Overview

Nicholas Dwork introduces convex sets and functions, then explains how convexity makes optimization problems tractable and how disciplined convex programming (DCP) turns recognized mathematical building blocks into solvable models. He demonstrates CVXPY in Python, including a constrained quadratic, lasso, and reformulations that make initially unrecognized expressions DCP-compliant.

Key takeaways

Chapters

0:00 Convex Sets, Functions, and Optimization Problem Definitions
5:16 DCP Composition Rules and CVXPY Basics
9:57 Reformulating Lasso and Non-DCP Constraints for CVXPY

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

Transcript excerpt

0:00 Hi, I'm Nicholas Twork, and in this lecture, we'll discuss convex optimization. Recall a convex set S is one where the line segment connecting any two points in the set lies in the set. So, for example, this set is convex, and if we choose any two points in the set and connect them with a line, the whole line is within the set. This set is not convex. We can find two points where if we connect those two points with a line segment, then at least part of the segment lies outside of the set. The intersection of convex sets is convex. So, here's a simple example. And we needn't restrict the number of sets that we're intersecting to two. We can add a third, and in fact, this statement is true for an infinite number of convex sets. Recall that a convex function is one where the line connecting any two points

0:48 on the function lies above the function. So, here's one example. If we choose any two points on this function, the line segment lies above the function, so this example is convex. Here's a different example. In this case, we can choose two points that lie on the function where the line segment connecting those two points lies below the function in at least one location. So, this example is not convex. And here's the rigorous definition for a convex function. Recall that the epigraph of a function is the set of all points that lie above the function. And a function is convex if and only if its epigraph is a convex set. We have rules for convex functions that let us make more interesting convex functions out of more basic ones. One is

1:35 that the sum of two convex functions defined on the same domain is convex.

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

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, Nicholas Dwork.

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.