Convex analysis is the branch of mathematics devoted to the study of properties of convex functions and convex sets, often with applications in convex minimization, a subdomain of optimization theory.
A subset C ⊆ X {\displaystyle C\subseteq X} of some vector space X {\displaystyle X} is convex if it satisfies any of the following equivalent conditions:
Throughout, f : X → [ − ∞ , ∞ ] {\displaystyle f:X\to [-\infty ,\infty ]} will be a map valued in the extended real numbers [ − ∞ , ∞ ] = R ∪ { ± ∞ } {\displaystyle [-\infty ,\infty ]=\mathbb {R} \cup \{\pm \infty \}} with a domain domain f = X {\displaystyle \operatorname {domain} f=X} that is a convex subset of some vector space. The map f : X → [ − ∞ , ∞ ] {\displaystyle f:X\to [-\infty ,\infty ]} is a convex function if
holds for any real 0 < r < 1 {\displaystyle 0<r<1} and any x , y ∈ X {\displaystyle x,y\in X} with x ≠ y . {\displaystyle x\neq y.} If this remains true of f {\displaystyle f} when the defining inequality (Convexity ≤) is replaced by the strict inequality
then f {\displaystyle f} is called strictly convex.[1]
Convex functions are related to convex sets. Specifically, the function f {\displaystyle f} is convex if and only if its epigraph
is a convex set.[2] The epigraphs of extended real-valued functions play a role in convex analysis that is analogous to the role played by graphs of real-valued function in real analysis. Specifically, the epigraph of an extended real-valued function provides geometric intuition that can be used to help formula or prove conjectures.
The domain of a function f : X → [ − ∞ , ∞ ] {\displaystyle f:X\to [-\infty ,\infty ]} is denoted by domain f {\displaystyle \operatorname {domain} f} while its effective domain is the set[2]
The function f : X → [ − ∞ , ∞ ] {\displaystyle f:X\to [-\infty ,\infty ]} is called proper if dom f ≠ ∅ {\displaystyle \operatorname {dom} f\neq \varnothing } and f ( x ) > − ∞ {\displaystyle f(x)>-\infty } for all x ∈ domain f . {\displaystyle x\in \operatorname {domain} f.} [2] Alternatively, this means that there exists some x {\displaystyle x} in the domain of f {\displaystyle f} at which f ( x ) ∈ R {\displaystyle f(x)\in \mathbb {R} } and f {\displaystyle f} is also never equal to − ∞ . {\displaystyle -\infty .} In words, a function is proper if its domain is not empty, it never takes on the value − ∞ , {\displaystyle -\infty ,} and it also is not identically equal to + ∞ . {\displaystyle +\infty .} If f : R n → [ − ∞ , ∞ ] {\displaystyle f:\mathbb {R} ^{n}\to [-\infty ,\infty ]} is a proper convex function then there exist some vector b ∈ R n {\displaystyle b\in \mathbb {R} ^{n}} and some r ∈ R {\displaystyle r\in \mathbb {R} } such that
where x ⋅ b {\displaystyle x\cdot b} denotes the dot product of these vectors.
The convex conjugate of an extended real-valued function f : X → [ − ∞ , ∞ ] {\displaystyle f:X\to [-\infty ,\infty ]} (not necessarily convex) is the function f ∗ : X ∗ → [ − ∞ , ∞ ] {\displaystyle f^{*}:X^{*}\to [-\infty ,\infty ]} from the (continuous) dual space X ∗ {\displaystyle X^{*}} of X , {\displaystyle X,} and[3]
where the brackets ⟨ ⋅ , ⋅ ⟩ {\displaystyle \left\langle \cdot ,\cdot \right\rangle } denote the canonical duality ⟨ x ∗ , z ⟩ := x ∗ ( z ) . {\displaystyle \left\langle x^{*},z\right\rangle :=x^{*}(z).} The biconjugate of f {\displaystyle f} is the map f ∗ ∗ = ( f ∗ ) ∗ : X → [ − ∞ , ∞ ] {\displaystyle f^{**}=\left(f^{*}\right)^{*}:X\to [-\infty ,\infty ]} defined by f ∗ ∗ ( x ) := sup z ∗ ∈ X ∗ { ⟨ x , z ∗ ⟩ − f ( z ∗ ) } {\displaystyle f^{**}(x):=\sup _{z^{*}\in X^{*}}\left\{\left\langle x,z^{*}\right\rangle -f\left(z^{*}\right)\right\}} for every x ∈ X . {\displaystyle x\in X.} If Func ( X ; Y ) {\displaystyle \operatorname {Func} (X;Y)} denotes the set of Y {\displaystyle Y} -valued functions on X , {\displaystyle X,} then the map Func ( X ; [ − ∞ , ∞ ] ) → Func ( X ∗ ; [ − ∞ , ∞ ] ) {\displaystyle \operatorname {Func} (X;[-\infty ,\infty ])\to \operatorname {Func} \left(X^{*};[-\infty ,\infty ]\right)} defined by f ↦ f ∗ {\displaystyle f\mapsto f^{*}} is called the Legendre-Fenchel transform.
If f : X → [ − ∞ , ∞ ] {\displaystyle f:X\to [-\infty ,\infty ]} and x ∈ X {\displaystyle x\in X} then the subdifferential set is
For example, in the important special case where f = ‖ ⋅ ‖ {\displaystyle f=\|\cdot \|} is a norm on X {\displaystyle X} , it can be shown[proof 1] that if 0 ≠ x ∈ X {\displaystyle 0\neq x\in X} then this definition reduces down to:
For any x ∈ X {\displaystyle x\in X} and x ∗ ∈ X ∗ , {\displaystyle x^{*}\in X^{*},} f ( x ) + f ∗ ( x ∗ ) ≥ ⟨ x ∗ , x ⟩ , {\displaystyle f(x)+f^{*}\left(x^{*}\right)\geq \left\langle x^{*},x\right\rangle ,} which is called the Fenchel-Young inequality. This inequality is an equality (i.e. f ( x ) + f ∗ ( x ∗ ) = ⟨ x ∗ , x ⟩ {\displaystyle f(x)+f^{*}\left(x^{*}\right)=\left\langle x^{*},x\right\rangle } ) if and only if x ∗ ∈ ∂ f ( x ) . {\displaystyle x^{*}\in \partial f(x).} It is in this way that the subdifferential set ∂ f ( x ) {\displaystyle \partial f(x)} is directly related to the convex conjugate f ∗ ( x ∗ ) . {\displaystyle f^{*}\left(x^{*}\right).}
The biconjugate of a function f : X → [ − ∞ , ∞ ] {\displaystyle f:X\to [-\infty ,\infty ]} is the conjugate of the conjugate, typically written as f ∗ ∗ : X → [ − ∞ , ∞ ] . {\displaystyle f^{**}:X\to [-\infty ,\infty ].} The biconjugate is useful for showing when strong or weak duality hold (via the perturbation function).
For any x ∈ X , {\displaystyle x\in X,} the inequality f ∗ ∗ ( x ) ≤ f ( x ) {\displaystyle f^{**}(x)\leq f(x)} follows from the Fenchel–Young inequality. For proper functions, f = f ∗ ∗ {\displaystyle f=f^{**}} if and only if f {\displaystyle f} is convex and lower semi-continuous by Fenchel–Moreau theorem.[3][4]
A convex minimization (primal) problem is one of the form
In optimization theory, the duality principle states that optimization problems may be viewed from either of two perspectives, the primal problem or the dual problem.
In general given two dual pairs separated locally convex spaces ( X , X ∗ ) {\displaystyle \left(X,X^{*}\right)} and ( Y , Y ∗ ) . {\displaystyle \left(Y,Y^{*}\right).} Then given the function f : X → [ − ∞ , ∞ ] , {\displaystyle f:X\to [-\infty ,\infty ],} we can define the primal problem as finding x {\displaystyle x} such that
If there are constraint conditions, these can be built into the function f {\displaystyle f} by letting f = f + I c o n s t r a i n t s {\displaystyle f=f+I_{\mathrm {constraints} }} where I {\displaystyle I} is the indicator function. Then let F : X × Y → [ − ∞ , ∞ ] {\displaystyle F:X\times Y\to [-\infty ,\infty ]} be a perturbation function such that F ( x , 0 ) = f ( x ) . {\displaystyle F(x,0)=f(x).} [5]
The dual problem with respect to the chosen perturbation function is given by
where F ∗ {\displaystyle F^{*}} is the convex conjugate in both variables of F . {\displaystyle F.}
The duality gap is the difference of the right and left hand sides of the inequality[6][5][7]
This principle is the same as weak duality. If the two sides are equal to each other, then the problem is said to satisfy strong duality.
There are many conditions for strong duality to hold such as:
For a convex minimization problem with inequality constraints,
the Lagrangian dual problem is
where the objective function L ( x , u ) {\displaystyle L(x,u)} is the Lagrange dual function defined as follows: