Second-order cone programming

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

A second-order cone program (SOCP) is a convex optimization problem of the form

minimize  fTx 
subject to
Aix+bi2ciTx+di,i=1,,m
Fx=g 

where the problem parameters are fn, Aini×n, bini, cin, di, Fp×n, and gp. xn is the optimization variable. x2 is the Euclidean norm and T indicates transpose.[1]

The name "second-order cone programming" comes from the nature of the individual constraints, which are each of the form:

Ax+b2cTx+d

These each define a subspace that is bounded by an inequality based on a second-order polynomial function defined on the optimization variable x; this can be shown to define a convex cone, hence the name "second-order cone".[2] By the definition of convex cones, their intersection can also be shown to be a convex cone, although not necessarily one that can be defined by a single second-order inequality. See below for a more detailed treatment.

SOCPs can be solved by interior point methods[3] and in general, can be solved more efficiently than semidefinite programming (SDP) problems.[4] Some engineering applications of SOCP include filter design, antenna array weight design, truss design, and grasping force optimization in robotics.[5] Applications in quantitative finance include portfolio optimization; some market impact constraints, because they are not linear, cannot be solved by quadratic programming but can be formulated as SOCP problems.[6][7][8]

Second-order cones

[edit | edit source]

The standard or unit second-order cone of dimension n+1 is defined as

𝒞n+1={[xt]|xn,t,x2t}.

The second-order cone is also known by the names quadratic cone or ice-cream cone or Lorentz cone. For example, the standard second-order cone in 3 is

{(x,y,z)|x2+y2z}.

The set of points satisfying a second-order cone constraint is the inverse image of the unit second-order cone under an affine mapping:

Aix+bi2ciTx+di[AiciT]x+[bidi]𝒞ni+1

and hence is convex.

The second-order cone can be embedded in the cone of the positive semidefinite matrices since

||x||t[tIxxTt]0,

i.e., a second-order cone constraint is equivalent to a linear matrix inequality. The nomenclature here can be confusing; here M0 means M is a semidefinite matrix: that is to say

xTMx0 for all xn

which is not a linear inequality in the conventional sense.

Similarly, we also have,

Aix+bi2ciTx+di[(ciTx+di)IAix+bi(Aix+bi)TciTx+di]0.

Relation with other optimization problems

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

When Ai=0 for i=1,,m, the SOCP reduces to a linear program. When ci=0 for i=1,,m, the SOCP is equivalent to a convex quadratically constrained linear program.

Convex quadratically constrained quadratic programs can also be formulated as SOCPs by reformulating the objective function as a constraint.[5] Semidefinite programming subsumes SOCPs as the SOCP constraints can be written as linear matrix inequalities (LMI) and can be reformulated as an instance of semidefinite program.[5] The converse, however, is not valid: there are positive semidefinite cones that do not admit any second-order cone representation.[4]

Any closed convex semialgebraic set in the plane can be written as a feasible region of a SOCP,.[9] However, it is known that there exist convex semialgebraic sets of higher dimension that are not representable by SDPs; that is, there exist convex semialgebraic sets that can not be written as the feasible region of a SDP (nor, a fortiori, as the feasible region of a SOCP).[10]

Examples

[edit | edit source]

Quadratic constraint

[edit | edit source]

Consider a convex quadratic constraint of the form

xTAx+bTx+c0.

This is equivalent to the SOCP constraint

A1/2x+12A1/2b(14bTA1bc)12

Stochastic linear programming

[edit | edit source]

Consider a stochastic linear program in inequality form

minimize  cTx 
subject to
(aiTxbi)p,i=1,,m

where the parameters ai  are independent Gaussian random vectors with mean a¯i and covariance Σi  and p0.5. This problem can be expressed as the SOCP

minimize  cTx 
subject to
a¯iTx+Φ1(p)Σi1/2x2bi,i=1,,m

where Φ1()  is the inverse normal cumulative distribution function.[1]

Stochastic second-order cone programming

[edit | edit source]

We refer to second-order cone programs as deterministic second-order cone programs since data defining them are deterministic. Stochastic second-order cone programs are a class of optimization problems that are defined to handle uncertainty in data defining deterministic second-order cone programs.[11]

Other examples

[edit | edit source]

Other modeling examples are available at the MOSEK modeling cookbook.[12]

Solvers and scripting (programming) languages

[edit | edit source]
Name License Brief info
ALGLIB free/commercial A dual-licensed C++/C#/Java/Python numerical analysis library with parallel SOCP solver.
AMPL commercial An algebraic modeling language with SOCP support
Artelys Knitro commercial
CPLEX commercial
FICO Xpress commercial
Gurobi Optimizer commercial
MATLAB commercial The coneprog function solves SOCP problems[13] using an interior-point algorithm[14]
MOSEK commercial parallel interior-point algorithm
NAG Numerical Library commercial General purpose numerical library with SOCP solver

See also

[edit | edit source]
  • Power cones are generalizations of quadratic cones to powers other than 2.[15]

References

[edit | edit source]
  1. ^ a b Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  2. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  3. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  4. ^ a b Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  5. ^ a b c Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  6. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  7. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  8. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  9. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  10. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  11. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  12. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  13. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  14. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  15. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).