fbpx
Wikipedia

Second-order cone programming

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

minimize
subject to

where the problem parameters are , and . is the optimization variable. is the Euclidean norm and indicates transpose.[1] The "second-order cone" in SOCP arises from the constraints, which are equivalent to requiring the affine function to lie in the second-order cone in .[1]

SOCPs can be solved by interior point methods[2] and in general, can be solved more efficiently than semidefinite programming (SDP) problems.[3] Some engineering applications of SOCP include filter design, antenna array weight design, truss design, and grasping force optimization in robotics.[4] 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.[5][6][7]

Second-order cone edit

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

 .

The second-order cone is also known by quadratic cone or ice-cream cone or Lorentz cone. The standard second-order cone in   is  .

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

 

and hence is convex.

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

 

i.e., a second-order cone constraint is equivalent to a linear matrix inequality (Here   means   is semidefinite matrix). Similarly, we also have,

 .

Relation with other optimization problems edit

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

When   for  , the SOCP reduces to a linear program. When   for  , 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.[4] 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.[4] The converse, however, is not valid: there are positive semidefinite cones that do not admit any second-order cone representation.[3] In fact, while any closed convex semialgebraic set in the plane can be written as a feasible region of a SOCP,[8] it is known that there exist convex semialgebraic sets that are not representable by SDPs, that is, there exist convex semialgebraic sets that can not be written as a feasible region of a SDP.[9]

Examples edit

Quadratic constraint edit

Consider a convex quadratic constraint of the form

 

This is equivalent to the SOCP constraint

 

Stochastic linear programming edit

Consider a stochastic linear program in inequality form

minimize  
subject to
 

where the parameters   are independent Gaussian random vectors with mean   and covariance   and  . This problem can be expressed as the SOCP

minimize  
subject to
 

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

Stochastic second-order cone programming edit

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.[10]

Other examples edit

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

Solvers and scripting (programming) languages edit

Name License Brief info
AMPL commercial An algebraic modeling language with SOCP support
Artelys Knitro commercial
CPLEX commercial
CVXPY open source Python modeling language with support for SOCP. Supports open source and commercial solvers.
CVXOPT open source Convex solver with support for SOCP
ECOS open source SOCP solver optimized for embedded applications
FICO Xpress commercial
Gurobi Optimizer commercial
MATLAB commercial The coneprog function solves SOCP problems[12] using an interior-point algorithm[13]
MOSEK commercial parallel interior-point algorithm
NAG Numerical Library commercial General purpose numerical library with SOCP solver
SCS open source SCS (Splitting Conic Solver) is a numerical optimization package for solving large-scale convex quadratic cone problems.

See also edit

  • Power cones are generalizations of quadratic cones to powers other than 2.[14]

References edit

  1. ^ a b c Boyd, Stephen; Vandenberghe, Lieven (2004). Convex Optimization (PDF). Cambridge University Press. ISBN 978-0-521-83378-3. Retrieved July 15, 2019.
  2. ^ Potra, lorian A.; Wright, Stephen J. (1 December 2000). "Interior-point methods". Journal of Computational and Applied Mathematics. 124 (1–2): 281–302. Bibcode:2000JCoAM.124..281P. doi:10.1016/S0377-0427(00)00433-7.
  3. ^ a b Fawzi, Hamza (2019). "On representing the positive semidefinite cone using the second-order cone". Mathematical Programming. 175 (1–2): 109–118. arXiv:1610.04901. doi:10.1007/s10107-018-1233-0. ISSN 0025-5610. S2CID 119324071.
  4. ^ a b c Lobo, Miguel Sousa; Vandenberghe, Lieven; Boyd, Stephen; Lebret, Hervé (1998). "Applications of second-order cone programming". Linear Algebra and Its Applications. 284 (1–3): 193–228. doi:10.1016/S0024-3795(98)10032-0.
  5. ^ "Solving SOCP" (PDF).
  6. ^ "portfolio optimization" (PDF).
  7. ^ Li, Haksun (16 January 2022). Numerical Methods Using Java: For Data Science, Analysis, and Engineering. APress. pp. Chapter 10. ISBN 978-1484267967.
  8. ^ Scheiderer, Claus (2020-04-08). "Second-order cone representation for convex subsets of the plane". arXiv:2004.04196 [math.OC].
  9. ^ Scheiderer, Claus (2018). "Spectrahedral Shadows". SIAM Journal on Applied Algebra and Geometry. 2 (1): 26–44. doi:10.1137/17M1118981. ISSN 2470-6566.
  10. ^ Alzalg, Baha M. (2012-10-01). "Stochastic second-order cone programming: Applications models". Applied Mathematical Modelling. 36 (10): 5122–5134. doi:10.1016/j.apm.2011.12.053. ISSN 0307-904X.
  11. ^ "MOSEK Modeling Cookbook - Conic Quadratic Optimization".
  12. ^ "Second-order cone programming solver - MATLAB coneprog". MathWorks. 2021-03-01. Retrieved 2021-07-15.
  13. ^ "Second-Order Cone Programming Algorithm - MATLAB & Simulink". MathWorks. 2021-03-01. Retrieved 2021-07-15.
  14. ^ "MOSEK Modeling Cookbook - the Power Cones".

second, order, cone, programming, this, article, technical, most, readers, understand, please, help, improve, make, understandable, experts, without, removing, technical, details, october, 2011, learn, when, remove, this, template, message, second, order, cone. This article may be too technical for most readers to understand Please help improve it to make it understandable to non experts without removing the technical details October 2011 Learn how and when to remove this template message A second order cone program SOCP is a convex optimization problem of the form minimize f T x displaystyle f T x subject to A i x b i 2 c i T x d i i 1 m displaystyle lVert A i x b i rVert 2 leq c i T x d i quad i 1 dots m F x g displaystyle Fx g dd where the problem parameters are f R n A i R n i n b i R n i c i R n d i R F R p n displaystyle f in mathbb R n A i in mathbb R n i times n b i in mathbb R n i c i in mathbb R n d i in mathbb R F in mathbb R p times n and g R p displaystyle g in mathbb R p x R n displaystyle x in mathbb R n is the optimization variable x 2 displaystyle lVert x rVert 2 is the Euclidean norm and T displaystyle T indicates transpose 1 The second order cone in SOCP arises from the constraints which are equivalent to requiring the affine function A x b c T x d displaystyle Ax b c T x d to lie in the second order cone in R n i 1 displaystyle mathbb R n i 1 1 SOCPs can be solved by interior point methods 2 and in general can be solved more efficiently than semidefinite programming SDP problems 3 Some engineering applications of SOCP include filter design antenna array weight design truss design and grasping force optimization in robotics 4 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 5 6 7 Contents 1 Second order cone 2 Relation with other optimization problems 3 Examples 3 1 Quadratic constraint 3 2 Stochastic linear programming 3 3 Stochastic second order cone programming 3 4 Other examples 4 Solvers and scripting programming languages 5 See also 6 ReferencesSecond order cone editThe standard or unit second order cone of dimension n 1 displaystyle n 1 nbsp is defined asC n 1 x t x R n t R x 2 t displaystyle mathcal C n 1 left begin bmatrix x t end bmatrix Bigg x in mathbb R n t in mathbb R x 2 leq t right nbsp The second order cone is also known by quadratic cone or ice cream cone or Lorentz cone The standard second order cone in R 3 displaystyle mathbb R 3 nbsp is x y z x 2 y 2 z displaystyle left x y z Big sqrt x 2 y 2 leq z right nbsp The set of points satisfying a second order cone constraint is the inverse image of the unit second order cone under an affine mapping A i x b i 2 c i T x d i A i c i T x b i d i C n i 1 displaystyle lVert A i x b i rVert 2 leq c i T x d i Leftrightarrow begin bmatrix A i c i T end bmatrix x begin bmatrix b i d i end bmatrix in mathcal C n i 1 nbsp and hence is convex The second order cone can be embedded in the cone of the positive semidefinite matrices since x t t I x x T t 0 displaystyle x leq t Leftrightarrow begin bmatrix tI amp x x T amp t end bmatrix succcurlyeq 0 nbsp i e a second order cone constraint is equivalent to a linear matrix inequality Here M 0 displaystyle M succcurlyeq 0 nbsp means M displaystyle M nbsp is semidefinite matrix Similarly we also have A i x b i 2 c i T x d i c i T x d i I A i x b i A i x b i T c i T x d i 0 displaystyle lVert A i x b i rVert 2 leq c i T x d i Leftrightarrow begin bmatrix c i T x d i I amp A i x b i A i x b i T amp c i T x d i end bmatrix succcurlyeq 0 nbsp Relation with other optimization problems edit nbsp A hierarchy of convex optimization problems LP linear program QP quadratic program SOCP second order cone program SDP semidefinite program CP cone program When A i 0 displaystyle A i 0 nbsp for i 1 m displaystyle i 1 dots m nbsp the SOCP reduces to a linear program When c i 0 displaystyle c i 0 nbsp for i 1 m displaystyle i 1 dots m nbsp 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 4 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 4 The converse however is not valid there are positive semidefinite cones that do not admit any second order cone representation 3 In fact while any closed convex semialgebraic set in the plane can be written as a feasible region of a SOCP 8 it is known that there exist convex semialgebraic sets that are not representable by SDPs that is there exist convex semialgebraic sets that can not be written as a feasible region of a SDP 9 Examples editQuadratic constraint edit Consider a convex quadratic constraint of the form x T A x b T x c 0 displaystyle x T Ax b T x c leq 0 nbsp This is equivalent to the SOCP constraint A 1 2 x 1 2 A 1 2 b 1 4 b T A 1 b c 1 2 displaystyle lVert A 1 2 x frac 1 2 A 1 2 b rVert leq left frac 1 4 b T A 1 b c right frac 1 2 nbsp Stochastic linear programming edit Consider a stochastic linear program in inequality form minimize c T x displaystyle c T x nbsp subject toP a i T x b i p i 1 m displaystyle mathbb P a i T x leq b i geq p quad i 1 dots m nbsp dd where the parameters a i displaystyle a i nbsp are independent Gaussian random vectors with mean a i displaystyle bar a i nbsp and covariance S i displaystyle Sigma i nbsp and p 0 5 displaystyle p geq 0 5 nbsp This problem can be expressed as the SOCP minimize c T x displaystyle c T x nbsp subject toa i T x F 1 p S i 1 2 x 2 b i i 1 m displaystyle bar a i T x Phi 1 p lVert Sigma i 1 2 x rVert 2 leq b i quad i 1 dots m nbsp dd where F 1 displaystyle Phi 1 cdot nbsp is the inverse normal cumulative distribution function 1 Stochastic second order cone programming edit 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 10 Other examples edit Other modeling examples are available at the MOSEK modeling cookbook 11 Solvers and scripting programming languages editName License Brief infoAMPL commercial An algebraic modeling language with SOCP supportArtelys Knitro commercialCPLEX commercialCVXPY open source Python modeling language with support for SOCP Supports open source and commercial solvers CVXOPT open source Convex solver with support for SOCPECOS open source SOCP solver optimized for embedded applicationsFICO Xpress commercialGurobi Optimizer commercialMATLAB commercial The coneprog function solves SOCP problems 12 using an interior point algorithm 13 MOSEK commercial parallel interior point algorithmNAG Numerical Library commercial General purpose numerical library with SOCP solverSCS open source SCS Splitting Conic Solver is a numerical optimization package for solving large scale convex quadratic cone problems See also editPower cones are generalizations of quadratic cones to powers other than 2 14 References edit a b c Boyd Stephen Vandenberghe Lieven 2004 Convex Optimization PDF Cambridge University Press ISBN 978 0 521 83378 3 Retrieved July 15 2019 Potra lorian A Wright Stephen J 1 December 2000 Interior point methods Journal of Computational and Applied Mathematics 124 1 2 281 302 Bibcode 2000JCoAM 124 281P doi 10 1016 S0377 0427 00 00433 7 a b Fawzi Hamza 2019 On representing the positive semidefinite cone using the second order cone Mathematical Programming 175 1 2 109 118 arXiv 1610 04901 doi 10 1007 s10107 018 1233 0 ISSN 0025 5610 S2CID 119324071 a b c Lobo Miguel Sousa Vandenberghe Lieven Boyd Stephen Lebret Herve 1998 Applications of second order cone programming Linear Algebra and Its Applications 284 1 3 193 228 doi 10 1016 S0024 3795 98 10032 0 Solving SOCP PDF portfolio optimization PDF Li Haksun 16 January 2022 Numerical Methods Using Java For Data Science Analysis and Engineering APress pp Chapter 10 ISBN 978 1484267967 Scheiderer Claus 2020 04 08 Second order cone representation for convex subsets of the plane arXiv 2004 04196 math OC Scheiderer Claus 2018 Spectrahedral Shadows SIAM Journal on Applied Algebra and Geometry 2 1 26 44 doi 10 1137 17M1118981 ISSN 2470 6566 Alzalg Baha M 2012 10 01 Stochastic second order cone programming Applications models Applied Mathematical Modelling 36 10 5122 5134 doi 10 1016 j apm 2011 12 053 ISSN 0307 904X MOSEK Modeling Cookbook Conic Quadratic Optimization Second order cone programming solver MATLAB coneprog MathWorks 2021 03 01 Retrieved 2021 07 15 Second Order Cone Programming Algorithm MATLAB amp Simulink MathWorks 2021 03 01 Retrieved 2021 07 15 MOSEK Modeling Cookbook the Power Cones Retrieved from https en wikipedia org w index php title Second order cone programming amp oldid 1189989047, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.