Mathematical Programming and Research Methods (Part II)
|
|
- Alexina Wiggins
- 6 years ago
- Views:
Transcription
1 Mathematical Programming and Research Methods (Part II) 4. Convexity and Optimization Massimiliano Pontil (based on previous lecture by Andreas Argyriou) 1
2 Today s Plan Convex sets and functions Types of convex programs Algorithms Convex learning problems 2
3 Convexity Simple intuition, originates from simple geometric shapes (e.g. polygons) Convex Convex NOT Convexity plays a very important role in optimization 3
4 Convex Sets Definition 1. A set C IR d is called convex if λx + (1 λ)y C for all x, y C,λ [0,1] I.e. if x and y are in the set C, then the whole line segment {λx + (1 λ)y : λ [0,1]} lies also in C 4
5 Convex Sets (contd.) We call λx + (1 λ)y a convex combination of x and y whenever λ [0, 1] Generally, for any k IN, the sum k λ i x i i=1 is called a convex combination of the points x 1,...,x k IR d whenever λ 1,...,λ k 0 and k λ i = 1 i=1 5
6 Convex Sets (contd.) Clearly, if a set C is convex, all convex combinations of points in C (for all k IN) belong to C This set of all convex combinations is called the convex hull of C In general, given a set S IR d (S need not be convex), the convex hull of S is the set { k } k conv(s) := λ i x i : x i S, λ 1,...,λ k 0, λ i = 1, k IN i=1 i=1 The convex hull is the smallest convex set containing S 6
7 Convex Sets (contd.) S = conv(s) if and only if S is convex 7
8 Examples of Convex Sets Affine sets, i.e. sets of solutions of linear equations {x : Ax = b} Convex cones, i.e. sets containing any nonnegative combination k θ i x i, θ 1,...,θ k 0, of their points i=
9 Examples of Convex Sets (contd.) Hyperplanes, i.e. sets of the form {x : a x = b}, where a IR d, a 0, b IR (since they are special cases of affine sets) Halfspaces, i.e. sets of the form {x : a x b}, where a IR d, a 0, b IR 9
10 Polyhedra A polyhedron is a set defined by a finite number of affine equalities and inequalities P = {x : a i x b i, i = 1,...,m, c j x = d j, j = 1,...,p} where a 1,...,a m, c 1,...,c p IR d, b 1,...,b m,d 1,...,d p IR Polyhedra are convex sets 10
11 Polyhedra (contd.) A bounded polyhedron is called a polytope A set is a polytope if and only if it is the convex hull of a finite set of points 11
12 The Positive Semidefinite Cone We use the notations X 0 X 0 to denote that a d d matrix X is positive semidefinite and positive definite, respectively The sets and S d + := {X IR d d : X 0} S d ++ := {X IR d d : X 0} are called the positive semidefinite cone and positive definite cone, respectively 12
13 The Positive Semidefinite Cone (contd.) S d + and S d ++ are convex cones Proof. For any A, B S d +, θ 1, θ 2 0, the matrix θ 1 A + θ 2 B is psd. E.g. in IR 2 2, the positive semidefinite cone consists of the matrices of the form ( ) x y such that x, z 0, xz y y z
14 Norms A norm, denoted by, is a function from IR d to IR + such that 1. w 0, for all w IR d 2. w = 0 if and only if w = 0 3. aw = a w, for all a IR, w IR d (homogeneity) 4. w + z w + z, for all w, z IR d (triangle inequality) Important example: the L p norm where p [1,+ ) w p := ( d i=1 w i p ) 1 p 14
15 Norms (contd.) We have already seen the L 2 norm it is the regularizer in ridge regression, SVM etc. ( d )1 2 w 2 = = (w w) 2 1 i=1 w 2 i The L 1 norm w 1 = d w i i=1 Letting p +, we get the L norm w = d max i=1 w i 15
16 Norm Balls The unit ball for a norm is the set {w : w 1} L 1 unit ball L 2 unit ball L unit ball 16
17 Norm Balls (contd.) In general, any norm ball of the form {w : w c r} where c IR d and r 0 are the center and radius of the ball, respectively, is a convex set 17
18 Convex Functions A function f : IR d IR is called convex if for all x, y IR d, λ [0, 1] f(λx + (1 λ)y) λf(x) + (1 λ)f(y) Intuition: the line segment connecting any two points on the graph of f lies above the graph Convex Non-convex 18
19 Convex Functions (contd.) Similarly, a function f is called concave if f(λx + (1 λ)y) λf(x) + (1 λ)f(y) for all x, y IR d, λ [0, 1] or, equivalently, if f is convex 19
20 Strict Convexity A function f : IR d IR is called strictly convex if f(λx + (1 λ)y) < λf(x) + (1 λ)f(y) for all x, y IR d, x y, λ (0,1) I.e. the line segment connecting any two points on the graph of f lies strictly above the graph Equivalently, the graph of a strictly convex function does not contain any line segments 20
21 Strict Convexity (contd.) Not strictly convex Strictly convex 21
22 Jensen s Inequality If f is convex, it follows by induction that ( k ) k f λ i x i λ i f(x i ) i=1 i=1 for all k IN, x 1,...,x k IR d, λ 1,...,λ k 0, such that k i=1 λ i = 1 It can be generalised to integrals and expected values (it is used e.g. to derive the EM algorithm) 22
23 Continuity / Differentiability Theorem 1. If a function f is convex on IR d then it is also continuous on IR d. Proof. Not easy. There are convex functions which are not differentiable everywhere (and others which are) 23
24 Second Order Condition Theorem 2. Assume that a function f is twice differentiable on IR d. Then f is convex if and only if its Hessian is psd. 2 f(w) 0 for all w IR d Recall that the Hessian is the matrix formed by the second partial derivatives ( ) f d 2 f(w) := (w) w i w j i,j=1 Note: the condition 2 f 0 implies strict convexity, but the converse is not true see [Boyd & Vanderberghe] 24
25 Examples of Convex Functions Affine functions w a w + b are both convex and concave Exponentials, powers, log-sum-exp w IR e aw w IR w p w IR d log for any a IR for any p 1 ( d ) i=1 ew i 25
26 Examples of Convex Functions (contd.) Psd. quadratic functions f(w) = w Aw + a w + b for all w IR d where A S d +, a IR d, b IR 26
27 Examples of Convex Functions (contd.) Max function w max{w 1,...,w d } 27
28 Norms Are Convex Functions Every norm is a convex function Proof. Let w, z IR d and λ (0, 1). Then λw +(1 λ)z triangle inequality λw + (1 λ)z = homogeneity λ w +(1 λ) z No norm is strictly convex (to see this, select z = aw with a > 0,a 1) The square of every norm, w w 2, is a convex function Proof. Do it as an exercise. 28
29 Operations that Preserve Convexity Question: If f 1,...,f q : IR d IR are convex functions, which operations F can we apply so that f := F(f 1,...,f q ) is also convex? Nonnegative weighted sums where θ 1,...,θ q 0 f = q θ i f i i=1 Proof. Easy from the definition. 29
30 Operations that Preserve Convexity (contd.) Composition of a convex function with an affine map f(x) = g(ax + b) for all x IR d where g : IR n IR is convex, A IR n d is a matrix and b IR n Proof. Let x, y IR d,λ (0, 1). Then f(λx + (1 λ)y) = g(λax + (1 λ)ay + b) = g (λ(ax + b) + (1 λ)(ay + b)) λg(ax + b) + (1 λ)g(ay + b) = λf(x) + (1 λ)f(y) 30
31 Operations that Preserve Convexity (contd.) Maximum of convex functions f = max{f 1,...,f q } Proof (for q = 2, can be easily generalised to any q). Let x, y IR d, λ (0, 1). Then f(λx + (1 λ)y) = max{f 1 (λx + (1 λ)y), f 2 (λx + (1 λ)y)} max{λf 1 (x) + (1 λ)f 1 (y), λf 2 (x) + (1 λ)f 2 (y)} max{λf 1 (x), λf 2 (x)} + max{(1 λ)f 1 (y), (1 λ)f 2 (y)} Extends also to infinite sets of convex functions = λf(x) + (1 λ)f(y) 31
32 Proving Convexity Thus, to prove convexity of a function f, there are several approaches From the definition of convexity Compute the Hessian of f and show that it is psd. Decompose f as a nonnegative weighted sum of convex functions Decompose f as the composition of a convex and an affine function Decompose f as a maximum of convex functions 32
33 Examples Show that the function f(w) = w w = w 2 is strictly convex Proof. The Hessian of f equals 2 f(w) = 2I d which is positive definite. 33
34 Examples (contd.) Show that the quadratic function f(w) = w Aw + a w + b where A S d +, a IR d, b IR, is convex Proof. Write A = R R for some matrix R IR d d. Then w Aw = (Rw) (Rw), which is a composition of the convex function w w w and a linear map. The term w a w + b is affine and hence convex. Thus f is convex, as the sum of convex functions. Alternatively, we may compute the Hessian, which equals 2A, which is psd. 34
35 Proving Strict Convexity To prove strict convexity of a function f Use the definition (with strict inequality, x y and λ (0, 1)) Compute the Hessian of f and show that it is positive definite Decompose f as a sum of a convex and a strictly convex function (easy to prove this property) Note: When does the convex-affine composition operation apply? Example: the quadratic function f(w) = w Aw + a w + b is strictly convex if and only if A 0 (since the Hessian equals 2A) 35
36 Convex Optimization The problem min w IR d f(w) subject to f i (w) 0 i = 1,...,M (1) a j w = b j j = 1,...,P where f, f 1,...,f M are convex functions, is called a convex program or convex optimization problem The function f whose value we wish to minimise is called the objective function 36
37 Remarks The set of points w satisfying the constraints f i (w) 0, a j w = b j is called the feasible set The feasible set is convex: for any feasible points x, y, f i (λx + (1 λ)y) λf i (x) + (1 λ)f i (y) 0 and a j (λx + (1 λ)y)) = λb j + (1 λ)b j = b j In general, if we minimize a convex objective function over a convex set, the problem can be rewritten in form (1) (in principle at least; sometimes not practically possible) Many problems of interest can be rewritten in the form (1); they do not necessarily appear in that form however 37
38 Remarks (contd.) Minimum (1) does not always exist! (could be an infimum or could be ) The set of solutions (minimisers) of problem (1) is convex (easy to show) In particular, if the function f is strictly convex, then there is a unique minimiser (if any exists) 38
39 Remarks (contd.) There are no local minima outside the set of minimisers This is important because it implies that algorithms will not get stuck away from the solution(s) Thus, the great appeal of convex programs is that they can be solved! (many of them in polynomial time) 39
40 Examples where A, B 0 min w IR d w Aw + a w subject to w Bw + b w + c 0 d w = e min w IR d a w subject to b 1w c 1 b 2w c 2 d 1w = e 1 40
41 Regularization min w IR d m E ( ) w x i, y i + γ w 2 i=1 (R) Assume that E(,y) is a convex function for every y IR Then, problem (R) is a convex program; this program is unconstrained Indeed, the objective function is convex, as a sum of convex functions: E(w x i, y i ) is convex as a convex-affine composition and w 2 is also convex, as we have already seen It can be shown that the minimum exists (under mild assumptions on E) 41
42 Regularization (contd.) Example 1: ridge regression min w IR d m (y i w x i ) 2 + γ w 2 i=1 Convex program, since the function z (z y) 2 is convex for every y IR 42
43 Regularization (contd.) Example 2: we have seen (in Lecture 1) that SVM is equivalent to the regularization problem with γ = 1 2C min w IR d m max{1 y i (w x i ), 0} + γ w 2 i=1 This is a convex program, since the function z max{1 yz, 0} (the hinge loss) is convex for every y { 1, 1}; indeed, it is a maximum of convex (in particular, affine) functions 43
44 Regularization (contd.) How about the SVM primal 1 min w IR d 2 w 2 + C m i=1 subject to y i (w x i ) 1 ξ i, ξ i 0, for i = 1,...,m ξ i It is also easy to see that this is a convex program, but now the variables include w i and ξ i as well The objective function is convex (quadratic in w, linear in ξ i ); the functions 1 ξ i y i (w x i ) and ξ i in the inequality constraints are also convex 44
45 Regularization (contd.) Similarly, the SVM and ridge regression dual problems can be seen to be convex problems In general, the dual of regularization min c IR m m E ( ) c g i, y i + γ c Gc i=1 (C) is a convex problem (assuming as before that the loss function is convex) Indeed, the quadratic form c Gc is a convex function of c since the Gram matrix G is positive semidefinite 45
46 Regularization (contd.) min w IR d min c IR m m E ( ) w x i, y i + γ w 2 i=1 m E ( ) c g i, y i + γ c Gc i=1 (R) (C) Problem (R) has a unique solution; indeed, the term w 2 is strictly convex; hence the objective function is also strictly convex However, problem (C) has a unique solution only if G 0, i.e. only if the feature vectors φ(x i ) are linearly independent; otherwise, there are infinite optimal ĉ, but the corresponding ŵ = m i=1 ĉiφ(x i ) is unique 46
47 Convex Programs with Linear Equality Constraints The following special type of convex program can be solved using Lagrange multipliers min w IR d f(w) subject to a j w = b j j = 1,...,P (2) where f is a convex and differentiable function Set the gradient to zero: f(w) = P j=1 c ja j, for some c j IR; the set of solutions of this equation is the same as the set of minimisers of (2) (by a theorem); a dual problem can also be obtained 47
48 Important Convex Optimization Problems Linear Programming Quadratic Programming Semidefinite Programming Dedicated off-the-shelf algorithms exist for each of the above categories In machine learning, algorithms have been developed for special subtypes of such problems 48
49 Linear Programming (LP) min w IR d c w subject to d i w e i i = 1,...,M (3) a j w = b j j = 1,...,P The feasible set is a polyhedron (bounded or not) Problem (3) may have one, none, or infinite solutions Interesting fact: the dual problem is also a linear program 49
50 Linear Programming (contd.) It can be shown that the solution (if unique) will be one of the vertices The simplex algorithm is one of the oldest optimization algorithms (Dantzig in the 40s) 50
51 Linear Programming (contd.) Intuition of simplex: find a vertex to start from; from each vertex, move to a neighbour so that the objective function decreases; terminate if there is no such neighbour Time complexity: very good in almost all cases, but very bad (exponential) in the worst case In practice, very fast for typical problems and can be applied to large data sets Methods developed in the 80s (interior-point methods) have been applied to linear programming and are of polynomial-time complexity 51
52 Quadratic Programming (QP) min w IR d w Aw + c w subject to d i w e i i = 1,...,M (4) a j w = b j j = 1,...,P where A 0 If A 0, the solution (if any) is unique (due to strict convexity) The dual is also a quadratic program 52
53 Quadratic Programming (contd.) The idea behind simplex does not apply here; in fact, the minimiser could be anywhere in the feasible set (on the boundary or in the interior) The difficulty in solving QP is due to the fact that the solution may lie on the boundary of the feasible set 53
54 Interior-Point Methods Idea: change the objective function by adding to it a barrier function The barrier depends on the constraints and is parameterised by a parameter t Unconstrained minimisation of the barrier function gives a solution in the interior of the feasible set Changing t appropriately, the algorithm converges to the solution of (4) in polynomial time These methods can handle problems of reasonably large size 54
55 Ridge Regression as QP min w IR d m (y i w x i ) 2 + γ w 2 i=1 Ridge regression is an unconstrained QP Just need to solve a linear system using standard methods 55
56 SVM as QP 1 min w IR d 2 w 2 + C m i=1 ξ i max α IR m 1 2 α Aα + s. t. y i (w x i ) 1 ξ i s. t. 0 α i C ξ i 0 for i = 1,...,m m i=1 α i for i = 1,...,m SVM is a QP with inequality constraints The SVM dual is a QP with box constraints 56
57 Algorithms for SVM One approach to solve SVMs is with interior-point methods For large datasets (say m > 10 3 ) it is practically impossible to solve the dual problem with such methods (matrix A is dense!) A typical approach is to iteratively optimize wrt. an active set A of dual variables, fixing the rest. Set α = 0, choose q m and an active set A of q variables. We repeat until convergence the steps Solve the problem wrt. the variables in A Remove one variable from A which satisfies the KKT conditions and add one variable, if any, which violates the KKT conditions. If no such variable exists, stop 57
58 QCQP min w IR d w Aw + c w subject to w Bw + d i w e i i = 1,...,M where both A,B are psd. a j w = b j j = 1,...,P It is called a quadratically constrained quadratic program (QCQP) Larger family; contains the family of QP The dual problem is not a QCQP, in general 58
59 QCQP (contd.) The feasible set is the intersection of ellipsoids and/or a polyhedron It is faster to solve a QP with a dedicated method than to use a QCQP solver 59
60 SDP min w IR d c w subject to w 1 F w n F n + G 0 a j w = b j j = 1,...,P There is a linear matrix inequality (LMI) constraint Multiple LMIs reduce to an equivalent problem with just one LMI The dual problem of an SDP is also an SDP LP QP QCQP SDP (LPs, QPs, QCQPs can be rewritten as SDPs) 60
61 Bibliography Lectures available at: See also Boyd and Vandenberghe, Convex Optimization, 2004, Secs , 3.1.1, 3.1.5, 3.1.8, , 4.1.1, 4.2.1, 4.2.2, 4.3, 4.4,
Shiqian Ma, MAT-258A: Numerical Optimization 1. Chapter 2. Convex Optimization
Shiqian Ma, MAT-258A: Numerical Optimization 1 Chapter 2 Convex Optimization Shiqian Ma, MAT-258A: Numerical Optimization 2 2.1. Convex Optimization General optimization problem: min f 0 (x) s.t., f i
More informationIntroduction to Modern Control Systems
Introduction to Modern Control Systems Convex Optimization, Duality and Linear Matrix Inequalities Kostas Margellos University of Oxford AIMS CDT 2016-17 Introduction to Modern Control Systems November
More informationLecture 2 - Introduction to Polytopes
Lecture 2 - Introduction to Polytopes Optimization and Approximation - ENS M1 Nicolas Bousquet 1 Reminder of Linear Algebra definitions Let x 1,..., x m be points in R n and λ 1,..., λ m be real numbers.
More informationConvexity: an introduction
Convexity: an introduction Geir Dahl CMA, Dept. of Mathematics and Dept. of Informatics University of Oslo 1 / 74 1. Introduction 1. Introduction what is convexity where does it arise main concepts and
More information2. Convex sets. x 1. x 2. affine set: contains the line through any two distinct points in the set
2. Convex sets Convex Optimization Boyd & Vandenberghe affine and convex sets some important examples operations that preserve convexity generalized inequalities separating and supporting hyperplanes dual
More informationCMU-Q Lecture 9: Optimization II: Constrained,Unconstrained Optimization Convex optimization. Teacher: Gianni A. Di Caro
CMU-Q 15-381 Lecture 9: Optimization II: Constrained,Unconstrained Optimization Convex optimization Teacher: Gianni A. Di Caro GLOBAL FUNCTION OPTIMIZATION Find the global maximum of the function f x (and
More information2. Convex sets. affine and convex sets. some important examples. operations that preserve convexity. generalized inequalities
2. Convex sets Convex Optimization Boyd & Vandenberghe affine and convex sets some important examples operations that preserve convexity generalized inequalities separating and supporting hyperplanes dual
More informationLecture 5: Properties of convex sets
Lecture 5: Properties of convex sets Rajat Mittal IIT Kanpur This week we will see properties of convex sets. These properties make convex sets special and are the reason why convex optimization problems
More informationConvex Optimization. Convex Sets. ENSAE: Optimisation 1/24
Convex Optimization Convex Sets ENSAE: Optimisation 1/24 Today affine and convex sets some important examples operations that preserve convexity generalized inequalities separating and supporting hyperplanes
More informationConvex Optimization M2
Convex Optimization M2 Lecture 1 A. d Aspremont. Convex Optimization M2. 1/49 Today Convex optimization: introduction Course organization and other gory details... Convex sets, basic definitions. A. d
More informationConvex Optimization Lecture 2
Convex Optimization Lecture 2 Today: Convex Analysis Center-of-mass Algorithm 1 Convex Analysis Convex Sets Definition: A set C R n is convex if for all x, y C and all 0 λ 1, λx + (1 λ)y C Operations that
More informationLecture 2: August 29, 2018
10-725/36-725: Convex Optimization Fall 2018 Lecturer: Ryan Tibshirani Lecture 2: August 29, 2018 Scribes: Adam Harley Note: LaTeX template courtesy of UC Berkeley EECS dept. Disclaimer: These notes have
More informationLecture 2 September 3
EE 381V: Large Scale Optimization Fall 2012 Lecture 2 September 3 Lecturer: Caramanis & Sanghavi Scribe: Hongbo Si, Qiaoyang Ye 2.1 Overview of the last Lecture The focus of the last lecture was to give
More informationConvex Sets. CSCI5254: Convex Optimization & Its Applications. subspaces, affine sets, and convex sets. operations that preserve convexity
CSCI5254: Convex Optimization & Its Applications Convex Sets subspaces, affine sets, and convex sets operations that preserve convexity generalized inequalities separating and supporting hyperplanes dual
More informationConvex Sets (cont.) Convex Functions
Convex Sets (cont.) Convex Functions Optimization - 10725 Carlos Guestrin Carnegie Mellon University February 27 th, 2008 1 Definitions of convex sets Convex v. Non-convex sets Line segment definition:
More informationTutorial on Convex Optimization for Engineers
Tutorial on Convex Optimization for Engineers M.Sc. Jens Steinwandt Communications Research Laboratory Ilmenau University of Technology PO Box 100565 D-98684 Ilmenau, Germany jens.steinwandt@tu-ilmenau.de
More informationSimplex Algorithm in 1 Slide
Administrivia 1 Canonical form: Simplex Algorithm in 1 Slide If we do pivot in A r,s >0, where c s
More information60 2 Convex sets. {x a T x b} {x ã T x b}
60 2 Convex sets Exercises Definition of convexity 21 Let C R n be a convex set, with x 1,, x k C, and let θ 1,, θ k R satisfy θ i 0, θ 1 + + θ k = 1 Show that θ 1x 1 + + θ k x k C (The definition of convexity
More informationAdvanced Operations Research Techniques IE316. Quiz 1 Review. Dr. Ted Ralphs
Advanced Operations Research Techniques IE316 Quiz 1 Review Dr. Ted Ralphs IE316 Quiz 1 Review 1 Reading for The Quiz Material covered in detail in lecture. 1.1, 1.4, 2.1-2.6, 3.1-3.3, 3.5 Background material
More informationConvex Optimization - Chapter 1-2. Xiangru Lian August 28, 2015
Convex Optimization - Chapter 1-2 Xiangru Lian August 28, 2015 1 Mathematical optimization minimize f 0 (x) s.t. f j (x) 0, j=1,,m, (1) x S x. (x 1,,x n ). optimization variable. f 0. R n R. objective
More informationCS599: Convex and Combinatorial Optimization Fall 2013 Lecture 4: Convex Sets. Instructor: Shaddin Dughmi
CS599: Convex and Combinatorial Optimization Fall 2013 Lecture 4: Convex Sets Instructor: Shaddin Dughmi Announcements New room: KAP 158 Today: Convex Sets Mostly from Boyd and Vandenberghe. Read all of
More informationApplied Lagrange Duality for Constrained Optimization
Applied Lagrange Duality for Constrained Optimization Robert M. Freund February 10, 2004 c 2004 Massachusetts Institute of Technology. 1 1 Overview The Practical Importance of Duality Review of Convexity
More informationAM 221: Advanced Optimization Spring 2016
AM 221: Advanced Optimization Spring 2016 Prof. Yaron Singer Lecture 2 Wednesday, January 27th 1 Overview In our previous lecture we discussed several applications of optimization, introduced basic terminology,
More informationMathematical and Algorithmic Foundations Linear Programming and Matchings
Adavnced Algorithms Lectures Mathematical and Algorithmic Foundations Linear Programming and Matchings Paul G. Spirakis Department of Computer Science University of Patras and Liverpool Paul G. Spirakis
More informationEC 521 MATHEMATICAL METHODS FOR ECONOMICS. Lecture 2: Convex Sets
EC 51 MATHEMATICAL METHODS FOR ECONOMICS Lecture : Convex Sets Murat YILMAZ Boğaziçi University In this section, we focus on convex sets, separating hyperplane theorems and Farkas Lemma. And as an application
More informationCS675: Convex and Combinatorial Optimization Spring 2018 Convex Sets. Instructor: Shaddin Dughmi
CS675: Convex and Combinatorial Optimization Spring 2018 Convex Sets Instructor: Shaddin Dughmi Outline 1 Convex sets, Affine sets, and Cones 2 Examples of Convex Sets 3 Convexity-Preserving Operations
More informationLecture 2: August 31
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
More informationWeek 5. Convex Optimization
Week 5. Convex Optimization Lecturer: Prof. Santosh Vempala Scribe: Xin Wang, Zihao Li Feb. 9 and, 206 Week 5. Convex Optimization. The convex optimization formulation A general optimization problem is
More informationLecture 4: Convexity
10-725: Convex Optimization Fall 2013 Lecture 4: Convexity Lecturer: Barnabás Póczos Scribes: Jessica Chemali, David Fouhey, Yuxiong Wang Note: LaTeX template courtesy of UC Berkeley EECS dept. Disclaimer:
More informationAffine 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
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 S R n convex = f(s) ={f(x) x S} convex the inverse image f 1 (C) of a convex
More informationConvexity I: Sets and Functions
Convexity I: Sets and Functions Lecturer: Aarti Singh Co-instructor: Pradeep Ravikumar Convex Optimization 10-725/36-725 See supplements for reviews of basic real analysis basic multivariate calculus basic
More informationDM545 Linear and Integer Programming. Lecture 2. The Simplex Method. Marco Chiarandini
DM545 Linear and Integer Programming Lecture 2 The Marco Chiarandini Department of Mathematics & Computer Science University of Southern Denmark Outline 1. 2. 3. 4. Standard Form Basic Feasible Solutions
More informationConvex sets and convex functions
Convex sets and convex functions Convex optimization problems Convex sets and their examples Separating and supporting hyperplanes Projections on convex sets Convex functions, conjugate functions ECE 602,
More informationThis lecture: Convex optimization Convex sets Convex functions Convex optimization problems Why convex optimization? Why so early in the course?
Lec4 Page 1 Lec4p1, ORF363/COS323 This lecture: Convex optimization Convex sets Convex functions Convex optimization problems Why convex optimization? Why so early in the course? Instructor: Amir Ali Ahmadi
More informationEE/ACM Applications of Convex Optimization in Signal Processing and Communications Lecture 6
EE/ACM 150 - Applications of Convex Optimization in Signal Processing and Communications Lecture 6 Andre Tkacenko Signal Processing Research Group Jet Propulsion Laboratory April 19, 2012 Andre Tkacenko
More informationPOLYHEDRAL GEOMETRY. Convex functions and sets. Mathematical Programming Niels Lauritzen Recall that a subset C R n is convex if
POLYHEDRAL GEOMETRY Mathematical Programming Niels Lauritzen 7.9.2007 Convex functions and sets Recall that a subset C R n is convex if {λx + (1 λ)y 0 λ 1} C for every x, y C and 0 λ 1. A function f :
More informationLecture 2 Convex Sets
Optimization Theory and Applications Lecture 2 Convex Sets Prof. Chun-Hung Liu Dept. of Electrical and Computer Engineering National Chiao Tung University Fall 2016 2016/9/29 Lecture 2: Convex Sets 1 Outline
More informationIntroduction to Convex Optimization. Prof. Daniel P. Palomar
Introduction to Convex Optimization Prof. Daniel P. Palomar The Hong Kong University of Science and Technology (HKUST) MAFS6010R- Portfolio Optimization with R MSc in Financial Mathematics Fall 2018-19,
More informationConvex sets and convex functions
Convex sets and convex functions Convex optimization problems Convex sets and their examples Separating and supporting hyperplanes Projections on convex sets Convex functions, conjugate functions ECE 602,
More informationCOM Optimization for Communications Summary: Convex Sets and Convex Functions
1 Convex Sets Affine Sets COM524500 Optimization for Communications Summary: Convex Sets and Convex Functions A set C R n is said to be affine if A point x 1, x 2 C = θx 1 + (1 θ)x 2 C, θ R (1) y = k θ
More informationConvexity. 1 X i is convex. = b is a hyperplane in R n, and is denoted H(p, b) i.e.,
Convexity We ll assume throughout, without always saying so, that we re in the finite-dimensional Euclidean vector space R n, although sometimes, for statements that hold in any vector space, we ll say
More informationLecture 10: SVM Lecture Overview Support Vector Machines The binary classification problem
Computational Learning Theory Fall Semester, 2012/13 Lecture 10: SVM Lecturer: Yishay Mansour Scribe: Gitit Kehat, Yogev Vaknin and Ezra Levin 1 10.1 Lecture Overview In this lecture we present in detail
More informationLec13p1, ORF363/COS323
Lec13 Page 1 Lec13p1, ORF363/COS323 This lecture: Semidefinite programming (SDP) Definition and basic properties Review of positive semidefinite matrices SDP duality SDP relaxations for nonconvex optimization
More informationConvexity Theory and Gradient Methods
Convexity Theory and Gradient Methods Angelia Nedić angelia@illinois.edu ISE Department and Coordinated Science Laboratory University of Illinois at Urbana-Champaign Outline Convex Functions Optimality
More informationCS 435, 2018 Lecture 2, Date: 1 March 2018 Instructor: Nisheeth Vishnoi. Convex Programming and Efficiency
CS 435, 2018 Lecture 2, Date: 1 March 2018 Instructor: Nisheeth Vishnoi Convex Programming and Efficiency In this lecture, we formalize convex programming problem, discuss what it means to solve it efficiently
More informationORIE 6300 Mathematical Programming I September 2, Lecture 3
ORIE 6300 Mathematical Programming I September 2, 2014 Lecturer: David P. Williamson Lecture 3 Scribe: Divya Singhvi Last time we discussed how to take dual of an LP in two different ways. Today we will
More informationLecture 19: Convex Non-Smooth Optimization. April 2, 2007
: Convex Non-Smooth Optimization April 2, 2007 Outline Lecture 19 Convex non-smooth problems Examples Subgradients and subdifferentials Subgradient properties Operations with subgradients and subdifferentials
More informationLecture 2: August 29, 2018
10-725/36-725: Convex Optimization Fall 2018 Lecturer: Ryan Tibshirani Lecture 2: August 29, 2018 Scribes: Yingjing Lu, Adam Harley, Ruosong Wang Note: LaTeX template courtesy of UC Berkeley EECS dept.
More information11 Linear Programming
11 Linear Programming 11.1 Definition and Importance The final topic in this course is Linear Programming. We say that a problem is an instance of linear programming when it can be effectively expressed
More informationConvex Optimization. 2. Convex Sets. Prof. Ying Cui. Department of Electrical Engineering Shanghai Jiao Tong University. SJTU Ying Cui 1 / 33
Convex Optimization 2. Convex Sets Prof. Ying Cui Department of Electrical Engineering Shanghai Jiao Tong University 2018 SJTU Ying Cui 1 / 33 Outline Affine and convex sets Some important examples Operations
More informationOPERATIONS RESEARCH. Linear Programming Problem
OPERATIONS RESEARCH Chapter 1 Linear Programming Problem Prof. Bibhas C. Giri Department of Mathematics Jadavpur University Kolkata, India Email: bcgiri.jumath@gmail.com 1.0 Introduction Linear programming
More informationConvex Geometry arising in Optimization
Convex Geometry arising in Optimization Jesús A. De Loera University of California, Davis Berlin Mathematical School Summer 2015 WHAT IS THIS COURSE ABOUT? Combinatorial Convexity and Optimization PLAN
More informationConvex Optimization CMU-10725
Convex Optimization CMU-10725 Ellipsoid Methods Barnabás Póczos & Ryan Tibshirani Outline Linear programs Simplex algorithm Running time: Polynomial or Exponential? Cutting planes & Ellipsoid methods for
More informationCS675: Convex and Combinatorial Optimization Fall 2014 Convex Functions. Instructor: Shaddin Dughmi
CS675: Convex and Combinatorial Optimization Fall 2014 Convex Functions Instructor: Shaddin Dughmi Outline 1 Convex Functions 2 Examples of Convex and Concave Functions 3 Convexity-Preserving Operations
More informationMath 5593 Linear Programming Lecture Notes
Math 5593 Linear Programming Lecture Notes Unit II: Theory & Foundations (Convex Analysis) University of Colorado Denver, Fall 2013 Topics 1 Convex Sets 1 1.1 Basic Properties (Luenberger-Ye Appendix B.1).........................
More informationCombinatorial Geometry & Topology arising in Game Theory and Optimization
Combinatorial Geometry & Topology arising in Game Theory and Optimization Jesús A. De Loera University of California, Davis LAST EPISODE... We discuss the content of the course... Convex Sets A set is
More informationLecture: Convex Sets
/24 Lecture: Convex Sets http://bicmr.pku.edu.cn/~wenzw/opt-27-fall.html Acknowledgement: this slides is based on Prof. Lieven Vandenberghe s lecture notes Introduction 2/24 affine and convex sets some
More informationLECTURE 13: SOLUTION METHODS FOR CONSTRAINED OPTIMIZATION. 1. Primal approach 2. Penalty and barrier methods 3. Dual approach 4. Primal-dual approach
LECTURE 13: SOLUTION METHODS FOR CONSTRAINED OPTIMIZATION 1. Primal approach 2. Penalty and barrier methods 3. Dual approach 4. Primal-dual approach Basic approaches I. Primal Approach - Feasible Direction
More informationDiscrete Optimization 2010 Lecture 5 Min-Cost Flows & Total Unimodularity
Discrete Optimization 2010 Lecture 5 Min-Cost Flows & Total Unimodularity Marc Uetz University of Twente m.uetz@utwente.nl Lecture 5: sheet 1 / 26 Marc Uetz Discrete Optimization Outline 1 Min-Cost Flows
More informationLecture 3: Convex sets
Lecture 3: Convex sets Rajat Mittal IIT Kanpur We denote the set of real numbers as R. Most of the time we will be working with space R n and its elements will be called vectors. Remember that a subspace
More informationInteger Programming Theory
Integer Programming Theory Laura Galli October 24, 2016 In the following we assume all functions are linear, hence we often drop the term linear. In discrete optimization, we seek to find a solution x
More informationCME307/MS&E311 Theory Summary
CME307/MS&E311 Theory Summary Yinyu Ye Department of Management Science and Engineering Stanford University Stanford, CA 94305, U.S.A. http://www.stanford.edu/~yyye http://www.stanford.edu/class/msande311/
More informationHowever, this is not always true! For example, this fails if both A and B are closed and unbounded (find an example).
98 CHAPTER 3. PROPERTIES OF CONVEX SETS: A GLIMPSE 3.2 Separation Theorems It seems intuitively rather obvious that if A and B are two nonempty disjoint convex sets in A 2, then there is a line, H, separating
More informationMA4254: Discrete Optimization. Defeng Sun. Department of Mathematics National University of Singapore Office: S Telephone:
MA4254: Discrete Optimization Defeng Sun Department of Mathematics National University of Singapore Office: S14-04-25 Telephone: 6516 3343 Aims/Objectives: Discrete optimization deals with problems of
More informationProgramming, numerics and optimization
Programming, numerics and optimization Lecture C-4: Constrained optimization Łukasz Jankowski ljank@ippt.pan.pl Institute of Fundamental Technological Research Room 4.32, Phone +22.8261281 ext. 428 June
More informationCS522: Advanced Algorithms
Lecture 1 CS5: Advanced Algorithms October 4, 004 Lecturer: Kamal Jain Notes: Chris Re 1.1 Plan for the week Figure 1.1: Plan for the week The underlined tools, weak duality theorem and complimentary slackness,
More informationOptimization under uncertainty: modeling and solution methods
Optimization under uncertainty: modeling and solution methods Paolo Brandimarte Dipartimento di Scienze Matematiche Politecnico di Torino e-mail: paolo.brandimarte@polito.it URL: http://staff.polito.it/paolo.brandimarte
More informationLinear methods for supervised learning
Linear methods for supervised learning LDA Logistic regression Naïve Bayes PLA Maximum margin hyperplanes Soft-margin hyperplanes Least squares resgression Ridge regression Nonlinear feature maps Sometimes
More informationIntroduction to optimization
Introduction to optimization G. Ferrari Trecate Dipartimento di Ingegneria Industriale e dell Informazione Università degli Studi di Pavia Industrial Automation Ferrari Trecate (DIS) Optimization Industrial
More informationIntroduction to Constrained Optimization
Introduction to Constrained Optimization Duality and KKT Conditions Pratik Shah {pratik.shah [at] lnmiit.ac.in} The LNM Institute of Information Technology www.lnmiit.ac.in February 13, 2013 LNMIIT MLPR
More informationSubmodularity Reading Group. Matroid Polytopes, Polymatroid. M. Pawan Kumar
Submodularity Reading Group Matroid Polytopes, Polymatroid M. Pawan Kumar http://www.robots.ox.ac.uk/~oval/ Outline Linear Programming Matroid Polytopes Polymatroid Polyhedron Ax b A : m x n matrix b:
More informationFACES OF CONVEX SETS
FACES OF CONVEX SETS VERA ROSHCHINA Abstract. We remind the basic definitions of faces of convex sets and their basic properties. For more details see the classic references [1, 2] and [4] for polytopes.
More informationConvex Optimization. Chapter 1 - chapter 2.2
Convex Optimization Chapter 1 - chapter 2.2 Introduction In optimization literatures, one will frequently encounter terms like linear programming, convex set convex cone, convex hull, semidefinite cone
More information4 LINEAR PROGRAMMING (LP) E. Amaldi Fondamenti di R.O. Politecnico di Milano 1
4 LINEAR PROGRAMMING (LP) E. Amaldi Fondamenti di R.O. Politecnico di Milano 1 Mathematical programming (optimization) problem: min f (x) s.t. x X R n set of feasible solutions with linear objective function
More information16.410/413 Principles of Autonomy and Decision Making
16.410/413 Principles of Autonomy and Decision Making Lecture 17: The Simplex Method Emilio Frazzoli Aeronautics and Astronautics Massachusetts Institute of Technology November 10, 2010 Frazzoli (MIT)
More informationConvex Optimization MLSS 2015
Convex Optimization MLSS 2015 Constantine Caramanis The University of Texas at Austin The Optimization Problem minimize : f (x) subject to : x X. The Optimization Problem minimize : f (x) subject to :
More informationIE 5531: Engineering Optimization I
IE 5531: Engineering Optimization I Lecture 3: Linear Programming, Continued Prof. John Gunnar Carlsson September 15, 2010 Prof. John Gunnar Carlsson IE 5531: Engineering Optimization I September 15, 2010
More informationLecture notes on the simplex method September We will present an algorithm to solve linear programs of the form. maximize.
Cornell University, Fall 2017 CS 6820: Algorithms Lecture notes on the simplex method September 2017 1 The Simplex Method We will present an algorithm to solve linear programs of the form maximize subject
More informationLecture 7: Support Vector Machine
Lecture 7: Support Vector Machine Hien Van Nguyen University of Houston 9/28/2017 Separating hyperplane Red and green dots can be separated by a separating hyperplane Two classes are separable, i.e., each
More informationMTAEA Convexity and Quasiconvexity
School of Economics, Australian National University February 19, 2010 Convex Combinations and Convex Sets. Definition. Given any finite collection of points x 1,..., x m R n, a point z R n is said to be
More informationLecture 1: Introduction
Lecture 1 1 Linear and Combinatorial Optimization Anders Heyden Centre for Mathematical Sciences Lecture 1: Introduction The course and its goals Basic concepts Optimization Combinatorial optimization
More informationLinear Programming in Small Dimensions
Linear Programming in Small Dimensions Lekcija 7 sergio.cabello@fmf.uni-lj.si FMF Univerza v Ljubljani Edited from slides by Antoine Vigneron Outline linear programming, motivation and definition one dimensional
More informationConvex Optimization. Lijun Zhang Modification of
Convex Optimization Lijun Zhang zlj@nju.edu.cn http://cs.nju.edu.cn/zlj Modification of http://stanford.edu/~boyd/cvxbook/bv_cvxslides.pdf Outline Introduction Convex Sets & Functions Convex Optimization
More information3. The Simplex algorithmn The Simplex algorithmn 3.1 Forms of linear programs
11 3.1 Forms of linear programs... 12 3.2 Basic feasible solutions... 13 3.3 The geometry of linear programs... 14 3.4 Local search among basic feasible solutions... 15 3.5 Organization in tableaus...
More informationCS675: Convex and Combinatorial Optimization Spring 2018 The Simplex Algorithm. Instructor: Shaddin Dughmi
CS675: Convex and Combinatorial Optimization Spring 2018 The Simplex Algorithm Instructor: Shaddin Dughmi Algorithms for Convex Optimization We will look at 2 algorithms in detail: Simplex and Ellipsoid.
More informationCOMS 4771 Support Vector Machines. Nakul Verma
COMS 4771 Support Vector Machines Nakul Verma Last time Decision boundaries for classification Linear decision boundary (linear classification) The Perceptron algorithm Mistake bound for the perceptron
More informationCS675: Convex and Combinatorial Optimization Spring 2018 Consequences of the Ellipsoid Algorithm. Instructor: Shaddin Dughmi
CS675: Convex and Combinatorial Optimization Spring 2018 Consequences of the Ellipsoid Algorithm Instructor: Shaddin Dughmi Outline 1 Recapping the Ellipsoid Method 2 Complexity of Convex Optimization
More informationLecture 2. Topology of Sets in R n. August 27, 2008
Lecture 2 Topology of Sets in R n August 27, 2008 Outline Vectors, Matrices, Norms, Convergence Open and Closed Sets Special Sets: Subspace, Affine Set, Cone, Convex Set Special Convex Sets: Hyperplane,
More informationCS 473: Algorithms. Ruta Mehta. Spring University of Illinois, Urbana-Champaign. Ruta (UIUC) CS473 1 Spring / 29
CS 473: Algorithms Ruta Mehta University of Illinois, Urbana-Champaign Spring 2018 Ruta (UIUC) CS473 1 Spring 2018 1 / 29 CS 473: Algorithms, Spring 2018 Simplex and LP Duality Lecture 19 March 29, 2018
More information2. Optimization problems 6
6 2.1 Examples... 7... 8 2.3 Convex sets and functions... 9 2.4 Convex optimization problems... 10 2.1 Examples 7-1 An (NP-) optimization problem P 0 is defined as follows Each instance I P 0 has a feasibility
More informationAMS : Combinatorial Optimization Homework Problems - Week V
AMS 553.766: Combinatorial Optimization Homework Problems - Week V For the following problems, A R m n will be m n matrices, and b R m. An affine subspace is the set of solutions to a a system of linear
More informationConvex Functions & Optimization
672 Conve Functions & Optimization Aashray Yadav Abstract - My research paper is based on the recent work in interior-point methods, specifically those methods that keep track of both the primal and dual
More informationLecture 3. Corner Polyhedron, Intersection Cuts, Maximal Lattice-Free Convex Sets. Tepper School of Business Carnegie Mellon University, Pittsburgh
Lecture 3 Corner Polyhedron, Intersection Cuts, Maximal Lattice-Free Convex Sets Gérard Cornuéjols Tepper School of Business Carnegie Mellon University, Pittsburgh January 2016 Mixed Integer Linear Programming
More informationCOMP331/557. Chapter 2: The Geometry of Linear Programming. (Bertsimas & Tsitsiklis, Chapter 2)
COMP331/557 Chapter 2: The Geometry of Linear Programming (Bertsimas & Tsitsiklis, Chapter 2) 49 Polyhedra and Polytopes Definition 2.1. Let A 2 R m n and b 2 R m. a set {x 2 R n A x b} is called polyhedron
More informationAlternating Projections
Alternating Projections Stephen Boyd and Jon Dattorro EE392o, Stanford University Autumn, 2003 1 Alternating projection algorithm Alternating projections is a very simple algorithm for computing a point
More informationMATH 890 HOMEWORK 2 DAVID MEREDITH
MATH 890 HOMEWORK 2 DAVID MEREDITH (1) Suppose P and Q are polyhedra. Then P Q is a polyhedron. Moreover if P and Q are polytopes then P Q is a polytope. The facets of P Q are either F Q where F is a facet
More informationNumerical Optimization
Convex Sets Computer Science and Automation Indian Institute of Science Bangalore 560 012, India. NPTEL Course on Let x 1, x 2 R n, x 1 x 2. Line and line segment Line passing through x 1 and x 2 : {y
More information13. Cones and semidefinite constraints
CS/ECE/ISyE 524 Introduction to Optimization Spring 2017 18 13. Cones and semidefinite constraints ˆ Geometry of cones ˆ Second order cone programs ˆ Example: robust linear program ˆ Semidefinite constraints
More informationLinear programming and duality theory
Linear programming and duality theory Complements of Operations Research Giovanni Righini Linear Programming (LP) A linear program is defined by linear constraints, a linear objective function. Its variables
More informationCharacterizing Improving Directions Unconstrained Optimization
Final Review IE417 In the Beginning... In the beginning, Weierstrass's theorem said that a continuous function achieves a minimum on a compact set. Using this, we showed that for a convex set S and y not
More information