Lecture 2: August 31

Similar documents
Convexity I: Sets and Functions

Lecture 2: August 29, 2018

Lecture 2: August 29, 2018

Lecture 4: Convexity

2. Convex sets. x 1. x 2. affine set: contains the line through any two distinct points in the set

Shiqian Ma, MAT-258A: Numerical Optimization 1. Chapter 2. Convex Optimization

2. Convex sets. affine and convex sets. some important examples. operations that preserve convexity. generalized inequalities

COM Optimization for Communications Summary: Convex Sets and Convex Functions

Tutorial on Convex Optimization for Engineers

Convex Optimization. Convex Sets. ENSAE: Optimisation 1/24

Convex sets and convex functions

Convex Sets (cont.) Convex Functions

CS675: Convex and Combinatorial Optimization Fall 2014 Convex Functions. Instructor: Shaddin Dughmi

Introduction to Modern Control Systems

Convex sets and convex functions

Lecture 5: Properties of convex sets

Convex Sets. CSCI5254: Convex Optimization & Its Applications. subspaces, affine sets, and convex sets. operations that preserve convexity

Simplex Algorithm in 1 Slide

2. Convex sets. affine and convex sets. some important examples. operations that preserve convexity. generalized inequalities

Affine function. suppose f : R n R m is affine (f(x) =Ax + b with A R m n, b R m ) the image of a convex set under f is convex

Convex Optimization. 2. Convex Sets. Prof. Ying Cui. Department of Electrical Engineering Shanghai Jiao Tong University. SJTU Ying Cui 1 / 33

Convexity Theory and Gradient Methods

EE/ACM Applications of Convex Optimization in Signal Processing and Communications Lecture 6

Convex Optimization - Chapter 1-2. Xiangru Lian August 28, 2015

Lecture 2 - Introduction to Polytopes

Lecture: Convex Sets

CS675: Convex and Combinatorial Optimization Spring 2018 Convex Sets. Instructor: Shaddin Dughmi

CS599: Convex and Combinatorial Optimization Fall 2013 Lecture 4: Convex Sets. Instructor: Shaddin Dughmi

This lecture: Convex optimization Convex sets Convex functions Convex optimization problems Why convex optimization? Why so early in the course?

Mathematical Programming and Research Methods (Part II)

Lecture 1: Introduction

DM545 Linear and Integer Programming. Lecture 2. The Simplex Method. Marco Chiarandini

60 2 Convex sets. {x a T x b} {x ã T x b}

Convex Optimization Lecture 2

Convex Optimization M2

Convexity: an introduction

Lecture 2 Convex Sets

Introduction to Convex Optimization. Prof. Daniel P. Palomar

Lecture 2 September 3

Convex Geometry arising in Optimization

Lecture 2. Topology of Sets in R n. August 27, 2008

LECTURE 10 LECTURE OUTLINE

Advanced Operations Research Techniques IE316. Quiz 1 Review. Dr. Ted Ralphs

IE 521 Convex Optimization

Chapter 4 Convex Optimization Problems

Convex Sets. Pontus Giselsson

Combinatorial Geometry & Topology arising in Game Theory and Optimization

Introduction to optimization

Week 5. Convex Optimization

maximize c, x subject to Ax b,

Revisiting Frank-Wolfe: Projection-Free Sparse Convex Optimization. Author: Martin Jaggi Presenter: Zhongxing Peng

CMU-Q Lecture 9: Optimization II: Constrained,Unconstrained Optimization Convex optimization. Teacher: Gianni A. Di Caro

EC 521 MATHEMATICAL METHODS FOR ECONOMICS. Lecture 2: Convex Sets

CS522: Advanced Algorithms

Numerical Optimization

Lecture 3: Convex sets

Math 5593 Linear Programming Lecture Notes

Constrained optimization

Aspects of Convex, Nonconvex, and Geometric Optimization (Lecture 1) Suvrit Sra Massachusetts Institute of Technology

FAQs on Convex Optimization

CS 435, 2018 Lecture 2, Date: 1 March 2018 Instructor: Nisheeth Vishnoi. Convex Programming and Efficiency

MTAEA Convexity and Quasiconvexity

Chapter 4 Concepts from Geometry

Convexization in Markov Chain Monte Carlo

CS 473: Algorithms. Ruta Mehta. Spring University of Illinois, Urbana-Champaign. Ruta (UIUC) CS473 1 Spring / 29

LECTURE 7 LECTURE OUTLINE. Review of hyperplane separation Nonvertical hyperplanes Convex conjugate functions Conjugacy theorem Examples

Convex Optimization / Homework 2, due Oct 3

Convex Optimization. Chapter 1 - chapter 2.2

Lecture 5: Duality Theory

However, this is not always true! For example, this fails if both A and B are closed and unbounded (find an example).

Convex Optimization MLSS 2015

Ellipsoid II: Grötschel-Lovász-Schrijver theorems

Homework 1 (a and b) Convex Sets and Convex Functions

CS675: Convex and Combinatorial Optimization Spring 2018 Consequences of the Ellipsoid Algorithm. Instructor: Shaddin Dughmi

Polytopes Course Notes

Applied Integer Programming

MA4254: Discrete Optimization. Defeng Sun. Department of Mathematics National University of Singapore Office: S Telephone:

Math 414 Lecture 2 Everyone have a laptop?

Discrete Optimization 2010 Lecture 5 Min-Cost Flows & Total Unimodularity

Convex Optimization Euclidean Distance Geometry 2ε

Convex Optimization Euclidean Distance Geometry 2ε

Section 5 Convex Optimisation 1. W. Dai (IC) EE4.66 Data Proc. Convex Optimisation page 5-1

AMS : Combinatorial Optimization Homework Problems - Week V

Linear programming and duality theory

Lec13p1, ORF363/COS323

FACES OF CONVEX SETS

Locally convex topological vector spaces

Lecture 2 Optimization with equality constraints

Integer Programming Theory

Lectures on Discrete Geometry

Programming, numerics and optimization

A mini-introduction to convexity

Conic Duality. yyye

Linear and Integer Programming :Algorithms in the Real World. Related Optimization Problems. How important is optimization?

Lecture 19: Convex Non-Smooth Optimization. April 2, 2007

Unconstrained Optimization Principles of Unconstrained Optimization Search Methods

13. Cones and semidefinite constraints

Lecture 6: Faces, Facets

Machine Learning for Signal Processing Lecture 4: Optimization

Geometric structures on 2-orbifolds

Transcription:

10-725/36-725: Convex Optimization Fall 2016 Lecture 2: August 31 Lecturer: Lecturer: Ryan Tibshirani Scribes: Scribes: Lidan Mu, Simon Du, Binxuan Huang 2.1 Review A convex optimization problem is of the form min x D subjectto f(x) g i (x) 0, i = 1,..., m h j (x) = 0, j = 1,..., r where f and g i, i = 1,..., m are all convex, and h j, j = 1,..., r are affine. A local minimizer for a convex optimization is a global minimizer. 2.2 Convex Sets 2.2.1 Definition Convex set is a set C R n such that x, y C tx + (1 t)y C for all 0 t 1 In other words, line segment joining any two elements lies entirely in the set. Figure 2.1: A convex set and a nonconvex set Convex combination of x 1,..., x k R n is any linear combination with θ i 0, i = 1,..., k, and k i=1 θ i = 1. θ 1 x 1 +... + θ k x k Convex hull of set C, conv(c), is all convex combinations of elements. A convex hull is allways convex, but set C is not required to be convex. 2-1

2-2 Lecture 2: August 31 2.2.2 Examples of Convex Sets Here are some examples of convex sets: Trivial ones: empty set, point, line Norm ball: {x : x r}, for given norm, radius r. Hyperplane: {x : a T x = b}, for given a, b. Halfspace: {x : a T x b} Affine space: {x : Ax = b}, for given A, b. Polyhedron: {x : Ax b}, where inquality is interprated componentwise for any vectors x, y x y means x i y i for all i. Note: the set {x : Ax b, Cx = d} is also a polyhedron, because it is equivalent to {x : Ax b, Cx d, Cx d} Simplex: it is a special case of polyhedra, given by conv{x 0,..., x k }, where Figure 2.2: A polyhedron in two dimensional space, where {a i } is A s row. these points are affinely independent. The canonical example is the probability simplex, conv{e 1,..., e n } = {w : w 0, 1 T w = 1}. Two related definition: x 0,..., x k are affinely independent means x 1 x 0,..., x k x 0 are linear independent. x 0,...x k are linear independent means a 0 x 0 +... + a k x k = 0 a 0 =... = a k = 0 2.3 Cones 2.3.1 definition Cone is a set C R n such that x C tx C for all t 0 Convex cone is a cone that is also convex, i.e., x 1, x 2 C t 1 x 1 + t 2 x 2 C for all t 1, t 2 0

Lecture 2: August 31 2-3 Figure 2.3: A convex cone in two dimensional space Note there exist some non-convex cones. One example is two intersecting lines. Conic combination of x 1,..., x k R n is any linear combination θ 1 x 1 +... + θ k x k with θ i 0, i = 1,..., k. Conic hull of {x 1,..., x k } is collection of all conic combinations { i θ ix i : θ R+}. k 2.3.2 Examples of Convex Cones Norm cone: {(x, t = (: x t}, for a norm. Under l 2 norm 2, it is called second-order cone. Normal cone: given any set C and point x C, we can define normal cone as Normal cone is always a convex cone. N C (x) = {g : g T x g T y for all y C} Proof: For g 1, g 2 N C (x), (t 1 g 1 + t 2 g 2 ) T x = t 1 g T 1 x + t 2 g T 2 x t 1 g T 1 y + t 2 g T 2 y = (t 1 g 1 + t 2 g 2 ) T y for all t 1, t 2 0 Positive semidefinite cone is S n + = {X S n : X 0}, where X 0 means that X is positive semidefinite (and S n is the set of n n matrices) Positive semidefinite: a matrix X is positive semidefinite if all the eigenvalues of X are larger or equal to 0 a T Xa 0 for all a R n. 2.4 Key properties of convex sets Separating hyperplane theorem: two disjoint convex sets have a separating hyperplane between them. A formal definition is: if C, D are nonempty convex sets with C D = then there exists a, b such that C {x : a T x b}

2-4 Lecture 2: August 31 D {x : a T x b} Figure 2.4: A line separates two disjoint convex sets in two dimensional space Supporting hyperplane theorem: if C is a nonempty convex set, and x 0 boundary(c), then there exists a such that C {x : a T x a T x 0 } Figure 2.5: A supporting hyperplane that passing a boundary point of a convex set in two dimensional space

Lecture 2: August 31 2-5 2.5 Operations Preserving Convexity of Convex Sets intersection: the intersection of convex sets is convex. Scaling and translation: if C is convex, then ac + b = {ax + b : x C} is convex for any a, b. Affine images and preimages: if f(x) = Ax + b and C is convex then f(x) = {f(x) : x C} is convex, and if D is convex then f 1 (D) = {x : f(x) D} is convex. Note here f 1 does not mean f must be inversible. 2.5.1 Example: linear matrix inequality solution set Given A 1,..., A k, B S n, a linear matrix inequality is of the form x 1 A 1 + x 2 A 2 +... + x k A k B for a variable x R k. Let s prove the set C of points x that satisfy the above inequality is convex. Approach 1: directly verify that x, y C tx + (1 t)y C. Then for any v, k v T (B (tx i + (1 t)y i )A i )v i=1 =v T [t(b x i A i )]v + v T [(1 t)(b i i y i A i )]v 0 Approach 2: let f : R k S n, f(x) = B k i=1 x ia i. Note that C = f 1 (S n +), affine preimage of convex set. 2.6 Convex Functions 2.6.1 Definitions Convex function is a function f : R R n such that dom(f) R n convex, and f(tx + (1 t)y) tf(x) + (1 t)f(y) for 0 t 1

2-6 Lecture 2: August 31 Figure 2.6: Convex function and all x, y dom(f). In other words, f lies below the line segment joining f(x), f(y) as shown in the following figure. Concave function is a function f : R R n such that dom(f) R n convex, and and all x, y dom(f). So that we have f(tx + (1 t)y) tf(x) + (1 t)f(y) for 0 t 1 f concave f convex. Important modifiers: Strictly convex means that f(tx + (1 t)y) < tf(x) + (1 t)f(y) for 0 t 1 for x y and 0 < t < 1. In other words, f is convex and has greater curvature than a linear function. Strongly convex with parameter m > 0 means that f m 2 x 2 2 is convex. In words, f is at least as convex as a quadratic function. Note that strongly convex strictly convex convex. For example, function f(x) = 1 x but not strongly convex. is strictly convex 2.6.2 Examples of Convex Functions Univariate functions Exponential function e ax is convex for any a over R Power function x a is convex for a 1 or a 0 over R + and concave for 0 a 1 over R + Logarithmic function log x is concave over R ++ Affine function a T x + b is both convex and concave Quadratic function 1 2 xt Qx + b T x + c is convex provided that Q 0 Least squares loss y Ax 2 2 is always convex (since A T A is always positive semidefinite)

Lecture 2: August 31 2-7 Norm x is convex for any norm. For example, l p norms, ( n ) 1/p x p = x p i for p 1, x = max x i i=1,...,n i=1 and also operator (spectral) and trace (nuclear) norms, X op = σ 1 (X), X tr = r σ r (X) where σ 1 (X)... σ r (X) 0 are the singular values of the matrix X Indicator function if C is convex, then its indicator function { 0 x C I C (x) = x / C is convex Support function for any set C (convex or not), its support function is convex Max function f(x) = max{x 1,..., x n } is convex i C(x) = max y C xt y i=1 2.7 Key Properties of Convex Functions A function is convex if and only if its restriction to any line is convex. Epigraph characterization A function f is convex if and only if its epigraph is a convex set, where the epigraph is defined as epi(f) = {(x, t) dom(f) R : f(x) t} Intuitively, the epigraph is the set of points that lie above the graph of the function. Convex sublevel sets If f is convex, then its sublevel sets {x dom(f) : f(x) t} are convex, for all t R. The converse is not true. For example, f(x) = x is not a convex function but each of its sublevel sets are convex sets. First-order characterization If f is differentiable, then f is convex if and only if dom(f) is convex, and f(y) f(x) + f(x) T (yx) for all x, y dom(f). In other words, f must completely lie above each of its tangent hyperplanes. Therefore for a differentiable f, x minimizes f if and only if f(x) = 0. Second-order characterization If f is twice differentiable, then f is convex if and only if dom(f) is convex, and the Hessian matrix 2 f(x) 0 for all x dom(f). Jensens inequality If f is convex, and X is a random variable supported on dom(f), then f(e[x]) E[f(X)].

2-8 Lecture 2: August 31 2.8 Operations Preserving Convexity of Convex Functions Nonnegative linear combination f 1,..., f m convex implies a 1 f 1 +...+a m f m convex for any a 1,..., a m 0. Pointwise maximization if f s is convex for any s S, then f(x) = max s S f s (x) is convex. Note that the set s here can be infinite. Partial minimization if g(x, y) is convex in x, y, and C is convex, then f(x) = min y C g(x, y) is convex. 2.8.1 Example: distances to a set Let C be an arbitrary set, and consider the maximum distance to C under an arbitrary norm. : f(x) = max x y y C Proof: f y (x) = x y is convex in x for any fixed y, so by pointwise maximization rule, f is convex. Let C be convex, and consider the minimum distance to C: f(x) = min x y y C Proof: g(x, y) = x y is convex in x, y jointly, and C is assumed convex, so by applying partial minimization rule, f is convex.