Convex optimization

From Wikipedia, the free encyclopedia
(Redirected from Convex programming)
Jump to navigation Jump to search

Template:Short description Convex optimization is a subfield of mathematical optimization that studies the problem of minimizing convex functions over convex sets (or, equivalently, maximizing concave functions over convex sets). Many classes of convex optimization problems admit polynomial-time algorithms,[1] whereas mathematical optimization is in general NP-hard.[2][3][4]

Definition

Abstract form

A convex optimization problem is defined by two ingredients:[5][6]

  • The objective function, which is a real-valued convex function of n variables, f:𝒟n;
  • The feasible set, which is a convex subset Cn.

The goal of the problem is to find some 𝐱C attaining

inf{f(𝐱):𝐱C}.

In general, there are three options regarding the existence of a solution:[7]Template:Rp

  • If such a point x* exists, it is referred to as an optimal point or solution; the set of all optimal points is called the optimal set; and the problem is called solvable.
  • If f is unbounded below over C, or the infimum is not attained, then the optimization problem is said to be unbounded.
  • Otherwise, if C is the empty set, then the problem is said to be infeasible.

Standard form

A convex optimization problem is in standard form if it is written as

minimize𝐱f(𝐱)subject togi(𝐱)0,i=1,,mhi(𝐱)=0,i=1,,p,

where:[7]Template:Rp

  • 𝐱n is the vector of optimization variables;
  • The objective function f:𝒟n is a convex function;
  • The inequality constraint functions gi:n, i=1,,m, are convex functions;
  • The equality constraint functions hi:n, i=1,,p, are affine transformations, that is, of the form: hi(𝐱)=a𝐢𝐱bi, where a𝐢 is a vector and bi is a scalar.

The feasible set C of the optimization problem consists of all points 𝐱𝒟 satisfying the inequality and the equality constraints. This set is convex because 𝒟 is convex, the sublevel sets of convex functions are convex, affine sets are convex, and the intersection of convex sets is convex.[7]Template:Rp

Many optimization problems can be equivalently formulated in this standard form. For example, the problem of maximizing a concave function f can be re-formulated equivalently as the problem of minimizing the convex function f. The problem of maximizing a concave function over a convex set is commonly called a convex optimization problem.[8]

Epigraph form (standard form with linear objective)Script error: No such module "anchor".

In the standard form it is possible to assume, without loss of generality, that the objective function f is a linear function. This is because any program with a general objective can be transformed into a program with a linear objective by adding a single variable t and a single constraint, as follows:[9]Template:Rp

minimize𝐱,ttsubject tof(𝐱)t0gi(𝐱)0,i=1,,mhi(𝐱)=0,i=1,,p,

Conic form

Every convex program can be presented in a conic form, which means minimizing a linear objective over the intersection of an affine plane and a convex cone:[9]Template:Rp

minimize𝐱cTxsubject tox(b+L)K

where K is a closed pointed convex cone, L is a linear subspace of Rn, and b is a vector in Rn. A linear program in standard form is the special case in which K is the nonnegative orthant of Rn.

Eliminating linear equality constraints

It is possible to convert a convex program in standard form, to a convex program with no equality constraints.[7]Template:Rp Denote the equality constraints hi(x)=0 as Ax=b, where A has n columns. If Ax=b is infeasible, then of course the original problem is infeasible. Otherwise, it has some solution x0 , and the set of all solutions can be presented as: Fz+x0, where z is in Rk, k=n-rank(A), and F is an n-by-k matrix. Substituting x = Fz+x0 in the original problem gives:

minimize𝐱f(𝐅𝐳+𝐱𝟎)subject togi(𝐅𝐳+𝐱𝟎)0,i=1,,m

where the variables are z. Note that there are rank(A) fewer variables. This means that, in principle, one can restrict attention to convex optimization problems without equality constraints. In practice, however, it is often preferred to retain the equality constraints, since they might make some algorithms more efficient, and also make the problem easier to understand and analyze.

Special cases

The following problem classes are all convex optimization problems, or can be reduced to convex optimization problems via simple transformations:[7]Template:Rp[10]

File:Hierarchy compact convex.png
A hierarchy of convex optimization problems. (LP: linear programming, QP: quadratic programming, SOCP second-order cone program, SDP: semidefinite programming, CP: conic optimization.)

Other special cases include;

Properties

The following are useful properties of convex optimization problems:[11][7]Template:Rp

  • every point that is local minimum is also a global minimum;
  • the optimal set is convex;
  • if the objective function is strictly convex, then the problem has at most one optimal point.

These results are used by the theory of convex minimization along with geometric notions from functional analysis (in Hilbert spaces) such as the Hilbert projection theorem, the separating hyperplane theorem, and Farkas' lemma.Script error: No such module "Unsubst".

Algorithms

Unconstrained and equality-constrained problems

The convex programs easiest to solve are the unconstrained problems, or the problems with only equality constraints. As the equality constraints are all linear, they can be eliminated with linear algebra and integrated into the objective, thus converting an equality-constrained problem into an unconstrained one.

In the class of unconstrained (or equality-constrained) problems, the simplest ones are those in which the objective is quadratic. For these problems, the KKT conditions (which are necessary for optimality) are all linear, so they can be solved analytically.[7]Template:Rp

For unconstrained (or equality-constrained) problems with a general convex objective that is twice-differentiable, Newton's method can be used. It can be seen as reducing a general unconstrained convex problem, to a sequence of quadratic problems.[7]Template:RpNewton's method can be combined with line search for an appropriate step size, and it can be mathematically proven to converge quickly.

Other efficient algorithms for unconstrained minimization are gradient descent (a special case of steepest descent).

General problems

The more challenging problems are those with inequality constraints. A common way to solve them is to reduce them to unconstrained problems by adding a barrier function, enforcing the inequality constraints, to the objective function. Such methods are called interior point methods.[7]Template:RpThey have to be initialized by finding a feasible interior point using by so-called phase I methods, which either find a feasible point or show that none exist. Phase I methods generally consist of reducing the search in question to a simpler convex optimization problem.[7]Template:Rp

Convex optimization problems can also be solved by the following contemporary methods:[12]

Subgradient methods can be implemented simply and so are widely used.[15] Dual subgradient methods are subgradient methods applied to a dual problem. The drift-plus-penalty method is similar to the dual subgradient method, but takes a time average of the primal variables.Script error: No such module "Unsubst".

Lagrange multipliers

Script error: No such module "Labelled list hatnote". Script error: No such module "Unsubst".

Consider a convex minimization problem given in standard form by a cost function f(x) and inequality constraints gi(x)0 for 1im. Then the domain 𝒳 is:

𝒳={xX|g1(x),,gm(x)0}.

The Lagrangian function for the problem is[16]

L(x,λ0,λ1,,λm)=λ0f(x)+λ1g1(x)++λmgm(x).

For each point x in X that minimizes f over X, there exist real numbers λ0,λ1,,λm, called Lagrange multipliers, that satisfy these conditions simultaneously:

  1. x minimizes L(y,λ0,λ1,,λm) over all yX,
  2. λ0,λ1,,λm0, with at least one λk>0,
  3. λ1g1(x)==λmgm(x)=0 (complementary slackness).

If there exists a "strictly feasible point", that is, a point z satisfying

g1(z),,gm(z)<0,

then the statement above can be strengthened to require that λ0=1.

Conversely, if some x in X satisfies (1)–(3) for scalars λ0,,λm with λ0=1 then x is certain to minimize f over X.

Software

There is a large software ecosystem for convex optimization. This ecosystem has two main categories: solvers on the one hand and modeling tools (or interfaces) on the other hand.

Solvers implement the algorithms themselves and are usually written in C. They require users to specify optimization problems in very specific formats which may not be natural from a modeling perspective. Modeling tools are separate pieces of software that let the user specify an optimization in higher-level syntax. They manage all transformations to and from the user's high-level model and the solver's input/output format.

Below are two tables. The first shows shows modelling tools (such as CVXPY and JuMP.jl) and the second solvers (such as SCS and MOSEK). They are by no means exhaustive.

Program Language Description FOSS? Ref
CVX MATLAB Interfaces with SeDuMi and SDPT3 solvers; designed to only express convex optimization problems. Yes [17]
CVXPY Python Yes [18]
Convex.jl Julia Disciplined convex programming, supports many solvers. Yes [19]
CVXR R Yes [20]
GAMS Modeling system for linear, nonlinear, mixed integer linear/nonlinear, and second-order cone programming problems. No [17]
GloptiPoly MATLAB,

Octave

Modeling system for polynomial optimization. Yes [17]
JuMP.jl Julia Supports many solvers. Also supports integer and nonlinear optimization, and some nonconvex optimization. Yes [21]
ROME Modeling system for robust optimization. Supports distributionally robust optimization and uncertainty sets. Yes [17]
SOSTOOLS Modeling system for polynomial optimization. Uses SDPT3 and SeDuMi. Requires Symbolic Computation Toolbox. Yes [17]
SparsePOP Modeling system for polynomial optimization. Uses the SDPA or SeDuMi solvers. Yes [17]
YALMIP MATLAB, Octave Interfaces with CPLEX, GUROBI, MOSEK, SDPT3, SEDUMI, CSDP, SDPA, PENNON solvers; also supports integer and nonlinear optimization, and some nonconvex optimization. Can perform robust optimization with uncertainty in LP/SOCP/SDP constraints. Yes [17]
Program Language Description FOSS? Ref
AIMMS Can do robust optimization on linear programming (with MOSEK to solve second-order cone programming) and mixed integer linear programming. Modeling package for LP + SDP and robust versions. No [17]
CPLEX Supports primal-dual methods for LP + SOCP. Can solve LP, QP, SOCP, and mixed integer linear programming problems. No [17]
CSDP C Supports primal-dual methods for LP + SDP. Interfaces available for MATLAB, R, and Python. Parallel version available. SDP solver. Yes [17]
CVXOPT Python Supports primal-dual methods for LP + SOCP + SDP. Uses Nesterov-Todd scaling. Interfaces to MOSEK and DSDP. Yes [17]
MOSEK Supports primal-dual methods for LP + SOCP. No [17]
SeDuMi MATLAB, Octave, MEX Solves LP + SOCP + SDP. Supports primal-dual methods for LP + SOCP + SDP. Yes [17]
SDPA C++ Solves LP + SDP. Supports primal-dual methods for LP + SDP. Parallelized and extended precision versions are available. Yes [17]
SDPT3 MATLAB, Octave, MEX Solves LP + SOCP + SDP. Supports primal-dual methods for LP + SOCP + SDP. Yes [17]
ConicBundle Supports general-purpose codes for LP + SOCP + SDP. Uses a bundle method. Special support for SDP and SOCP constraints. Yes [17]
DSDP Supports general-purpose codes for LP + SDP. Uses a dual interior point method. Yes [17]
LOQO Supports general-purpose codes for SOCP, which it treats as a nonlinear programming problem. No [17]
PENNON Supports general-purpose codes. Uses an augmented Lagrangian method, especially for problems with SDP constraints. No [17]
SDPLR Supports general-purpose codes. Uses low-rank factorization with an augmented Lagrangian method. Yes [17]

Applications

Convex optimization can be used to model problems in a wide range of disciplines, such as automatic control systems, estimation and signal processing, communications and networks, electronic circuit design,[7]Template:Rp data analysis and modeling, finance, statistics (optimal experimental design),[22] and structural optimization, where the approximation concept has proven to be efficient.[7][23] Convex optimization can be used to model problems in the following fields:

Extensions

Extensions of convex optimization include the optimization of biconvex, pseudo-convex, and quasiconvex functions. Extensions of the theory of convex analysis and iterative methods for approximately solving non-convex minimization problems occur in the field of generalized convexity, also known as abstract convex analysis.Script error: No such module "Unsubst".

See also

Notes

  1. a b Script error: No such module "Footnotes".
  2. Script error: No such module "Citation/CS1".
  3. Sahni, S. "Computationally related problems," in SIAM Journal on Computing, 3, 262--279, 1974.
  4. Script error: No such module "Citation/CS1".
  5. Script error: No such module "citation/CS1".
  6. Script error: No such module "citation/CS1".
  7. a b c d e f g h i j k l Script error: No such module "citation/CS1".
  8. Script error: No such module "citation/CS1".
  9. a b Script error: No such module "citation/CS1".
  10. Script error: No such module "Citation/CS1".
  11. Script error: No such module "Citation/CS1".
  12. For methods for convex minimization, see the volumes by Hiriart-Urruty and Lemaréchal (bundle) and the textbooks by Ruszczyński, Bertsekas, and Boyd and Vandenberghe (interior point).
  13. Script error: No such module "citation/CS1".
  14. Script error: No such module "Citation/CS1".
  15. Script error: No such module "Citation/CS1".
  16. Script error: No such module "citation/CS1".
  17. a b c d e f g h i j k l m n o p q r s t Script error: No such module "citation/CS1".
  18. Script error: No such module "citation/CS1".
  19. Script error: No such module "citation/CS1".
  20. Script error: No such module "citation/CS1".
  21. Script error: No such module "Citation/CS1".
  22. Christensen/Klarbring, chpt. 4.
  23. Schmit, L.A.; Fleury, C. 1980: Structural synthesis by combining approximation concepts and dual methods. J. Amer. Inst. Aeronaut. Astronaut 18, 1252-1260
  24. a b c d e Script error: No such module "citation/CS1".
  25. a b c Script error: No such module "citation/CS1".
  26. Ben Haim Y. and Elishakoff I., Convex Models of Uncertainty in Applied Mechanics, Elsevier Science Publishers, Amsterdam, 1990
  27. Ahmad Bazzi, Dirk TM Slock, and Lisa Meilhac. "Online angle of arrival estimation in the presence of mutual coupling." 2016 IEEE Statistical Signal Processing Workshop (SSP). IEEE, 2016.

References

  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Hiriart-Urruty, Jean-Baptiste, and Lemaréchal, Claude. (2004). Fundamentals of Convex analysis. Berlin: Springer.
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Nesterov, Yurii. (2004). Introductory Lectures on Convex Optimization, Kluwer Academic Publishers
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Schmit, L.A.; Fleury, C. 1980: Structural synthesis by combining approximation concepts and dual methods. J. Amer. Inst. Aeronaut. Astronaut 18, 1252-1260

External links

Template:Sister project

Template:Optimization algorithms Template:Convex analysis and variational analysis