A second-order cone program (SOCP) is a
convex optimization
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 prob ...
problem of the form
:minimize
:subject to
::
::
where the problem parameters are
, and
.
is the optimization variable.
is the
Euclidean norm
Euclidean space is the fundamental space of geometry, intended to represent physical space. Originally, that is, in Euclid's ''Elements'', it was the three-dimensional space of Euclidean geometry, but in modern mathematics there are Euclidea ...
and
indicates
transpose
In linear algebra, the transpose of a matrix is an operator which flips a matrix over its diagonal;
that is, it switches the row and column indices of the matrix by producing another matrix, often denoted by (among other notations).
The tr ...
.
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
.
SOCPs can be solved by
interior point methods
Interior-point methods (also referred to as barrier methods or IPMs) are a certain class of algorithms that solve linear and nonlinear convex optimization problems.
An interior point method was discovered by Soviet mathematician I. I. Dikin in ...
and in general, can be solved more efficiently than
semidefinite programming Semidefinite programming (SDP) is a subfield of convex optimization concerned with the optimization of a linear objective function (a user-specified function that the user wants to minimize or maximize)
over the intersection of the cone of positiv ...
(SDP) problems.
Some engineering applications of SOCP include filter design, antenna array weight design, truss design, and grasping force optimization in robotics.
Applications in
quantitative finance
Mathematical finance, also known as quantitative finance and financial mathematics, is a field of applied mathematics, concerned with mathematical modeling of financial markets.
In general, there exist two separate branches of finance that require ...
include
portfolio optimization Portfolio optimization is the process of selecting the best portfolio (asset distribution), out of the set of all portfolios being considered, according to some objective. The objective typically maximizes factors such as expected return, and minim ...
; some
market impact
In financial markets, market impact is the effect that a market participant has when it buys or sells an asset. It is the extent to which the buying or selling moves the price against the buyer or seller, i.e., upward when buying and downward when ...
constraints, because they are not linear, cannot be solved by
quadratic programming
Quadratic programming (QP) is the process of solving certain mathematical optimization problems involving quadratic functions. Specifically, one seeks to optimize (minimize or maximize) a multivariate quadratic function subject to linear constr ...
but can be formulated as SOCP problems.
Second-order cone
The standard or unit second-order cone of dimension
is defined as
.
The second-order cone is also known by ''quadratic cone'', ''ice-cream cone'', or ''Lorentz cone''. The 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

When
for
, the SOCP reduces to a
linear program
Linear programming (LP), also called linear optimization, is a method to achieve the best outcome (such as maximum profit or lowest cost) in a mathematical model whose requirements are represented by linear relationships. Linear programming is ...
. When
for
, the SOCP is equivalent to a convex quadratically constrained linear program.
Convex
quadratically constrained quadratic program In mathematical optimization, a quadratically constrained quadratic program (QCQP) is an optimization problem in which both the objective function and the constraints are quadratic functions. It has the form
: \begin
& \text && \tfrac12 x^\mathr ...
s can also be formulated as SOCPs by reformulating the objective function as a constraint.
Semidefinite programming Semidefinite programming (SDP) is a subfield of convex optimization concerned with the optimization of a linear objective function (a user-specified function that the user wants to minimize or maximize)
over the intersection of the cone of positiv ...
subsumes SOCPs as the SOCP constraints can be written as
linear matrix inequalities
In convex optimization, a linear matrix inequality (LMI) is an expression of the form
: \operatorname(y):=A_0+y_1A_1+y_2A_2+\cdots+y_m A_m\succeq 0\,
where
* y= _i\,,~i\!=\!1,\dots, m/math> is a real vector,
* A_0, A_1, A_2,\dots,A_m are n\times n ...
(LMI) and can be reformulated as an instance of semidefinite program.
The converse, however, is not valid: there are positive semidefinite cones that do not admit any second-order cone representation.
In fact, while any closed convex
semialgebraic set
In mathematics, a semialgebraic set is a subset ''S'' of ''Rn'' for some real closed field ''R'' (for example ''R'' could be the field of real numbers) defined by a finite sequence of polynomial equations (of the form P(x_1,...,x_n) = 0) and ineq ...
in the plane can be written as a feasible region of a SOCP, 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.
Examples
Quadratic constraint
Consider a convex
quadratic constraint of the form
:
This is equivalent to the SOCP constraint
:
Stochastic linear programming
Consider a
stochastic linear program
In the field of mathematical optimization, stochastic programming is a framework for modeling optimization problems that involve uncertainty. A stochastic program is an optimization problem in which some or all problem parameters are uncertain, ...
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
In statistics, a normal distribution or Gaussian distribution is a type of continuous probability distribution for a real-valued random variable. The general form of its probability density function is
:
f(x) = \frac e^
The parameter \mu is ...
.
Stochastic second-order cone programming
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.
Solvers and scripting (programming) languages
References
{{reflist
Optimization algorithms and methods
Convex optimization