Convexity
Definitions
Convex sets
- sets = basis of convexity
- definition: a set
in a vector space is convex if for any the line segment connecting and is also in ,
Convex function
Given a convex set
Properties
- Jensen's inequality
- = the expectation of a convex function
the convex function of an expectation
- = the expectation of a convex function
- local minima are global minima
- Below sets of convex functions are convex
- convexity and second derivatives
- a twice-differentiable function is convex if and only if its Hessian (a matrix of second derivatives) is positive semidefinite
Convex constraints
- can be added via the Lagrangian
- can be added with a penalty to the objective function in practice