# 4 The power cone¶

So far we studied quadratic cones and their applications in modeling problems involving, directly or indirectly, quadratic terms. In this part we expand the quadratic and rotated quadratic cone family with *power cones*, which provide a convenient language to express models involving powers other than \(2\). We must stress that although the power cones include the quadratic cones as special cases, at the current state-of-the-art they require more advanced and less efficient algorithms.

## 4.1 The power cone(s)¶

\(n\)-dimensional power cones form a family of convex cones parametrized by a real number \(0<\alpha<1\):

The constraint in the definition of \(\POW_n^{\alpha,1-\alpha}\) can be expressed as a composition of two constraints, one of which is a quadratic cone:

which means that the basic building block we need to consider is the three-dimensional power cone

More generally, we can also consider power cones with “long left-hand side”. That is, for \(m< n\) and a sequence of exponents \(\alpha_1,\ldots,\alpha_m\) with \(\alpha_1+\cdots+\alpha_m=1\), we have the most general power cone object defined as

The left-hand side is nothing but the weighted geometric mean of the \(x_i\), \(i=1,\ldots, m\) with weights \(\alpha_i\). As we will see later, also this most general cone can be modeled as a composition of three-dimensional cones \(\POW_3^{\alpha,1-\alpha}\), so in a sense that is the basic object of interest.

There are some notable special cases we are familiar with. If we let \(\alpha\to 0\) then in the limit we get \(\POW_n^{0,1}=\real_+\times \Q^{n-1}\). If \(\alpha=\frac12\) then we have a rescaled version of the rotated quadratic cone, precisely:

A gallery of three-dimensional power cones for varying \(\alpha\) is shown in Fig. 4.1.

## 4.2 Sets representable using the power cone¶

In this section we give basic examples of constraints which can be expressed using power cones.

### 4.2.1 Powers¶

For all values of \(p\neq 0,1\) we can bound \(x^p\) depending on the convexity of \(f(x)=x^p\).

For \(p>1\) the inequality \(t\geq |x|^p\) is equivalent to \(t^{1/p}\geq |x|\) and hence corresponds to

\[t\geq |x|^p \iff (t, 1, x) \in \POW_3^{1/p,1-1/p}.\]For instance \(t\geq |x|^{1.5}\) is equivalent to \((t,1,x)\in\POW_3^{2/3,1/3}\).

For \(0<p<1\) the function \(f(x)=x^p\) is concave for \(x\geq 0\) and so we get

\[|t|\leq x^p,\ x\geq 0 \iff (x, 1, t) \in \POW_3^{p,1-p}.\]For \(p<0\) the function \(f(x)=x^p\) is convex for \(x>0\) and in this range the inequality \(t\geq x^p\) is equivalent to

\[t\geq x^p \iff t^{1/(1-p)}x^{-p/(1-p)}\geq 1 \iff (t,x,1)\in\POW_3^{1/(1-p),-p/(1-p)}.\]For example \(t\geq\frac{1}{\sqrt{x}}\) is the same as \((t,x,1)\in\POW_3^{2/3,1/3}\).

### 4.2.2 \(p\)-norm cones¶

Let \(p\geq 1\). The \(p\)-norm of a vector \(x\in\real^n\) is \(\|x\|_p=\left(|x_1|^p+\cdots+|x_n|^p\right)^{1/p}\) and the \(p\)-norm ball of radius \(t\) is defined by the inequality \(\|x\|_p\leq t\). We take the \(p\)-norm cone (in dimension \(n+1\)) to be the convex set

For \(p=2\) this is precisely the quadratic cone. We can model the \(p\)-norm cone by writing the inequality \(t\geq \|x\|_p\) as:

and bounding each summand with a power cone. This leads to the following model:

When \(0<p<1\) or \(p<0\) the formula for \(\|x\|_p\) gives a concave, rather than convex function on \(\real^n_+\) and in this case it is possible to model the set

We leave it as an exercise (see previous subsection). The case \(p=-1\) appears in Sec. 3.2.7 (Harmonic mean).

### 4.2.3 The most general power cone¶

Consider the most general version of the power cone with “long left-hand side” defined in (4.4). We show that it can be expressed using the basic three-dimensional cones \(\POW_3^{\alpha,1-\alpha}\). Clearly it suffices to consider a short right-hand side, that is to model the cone

where \(\sum_i\alpha_i=1\). Denote \(s=\alpha_1+\cdots+\alpha_{m-1}\). We split (4.7) into two constraints

and this way we expressed \(\POW_{m+1}^{\alpha_1,\ldots,\alpha_m}\) using two power cones \(\POW_{m}^{\alpha_1/s,\ldots,\alpha_{m-1}/s}\) and \(\POW_3^{s,\alpha_m}\). Proceeding by induction gives the desired splitting.

### 4.2.4 Geometric mean¶

The power cone \(\POW_{n+1}^{1/n,\ldots,1/n}\) is a direct way to model the inequality

which corresponds to maximizing the geometric mean of the variables \(x_i\geq 0\). In this special case tracing through the splitting (4.8) produces an equivalent representation of (4.9) using three-dimensional power cones as follows:

### 4.2.5 Non-homogenous constraints¶

Every constraint of the form

where \(\sum_i\alpha_i< \beta\) and \(\alpha_i>0\) is equivalent to

with \(s=1-\sum_i\alpha_i/\beta\).

## 4.3 Power cone case studies¶

### 4.3.1 Portfolio optimization with market impact¶

Let us go back to the Markowitz portfolio optimization problem introduced in Sec. 3.3.3 (Markowitz portfolio optimization), where we now ask to maximize expected profit subject to bounded risk in a long-only portfolio:

In a realistic model we would have to consider transaction costs which decrease the expected return. In particular if a really large volume is traded then the trade itself will affect the price of the asset, a phenomenon called *market impact*. It is typically modeled by decreasing the expected return of \(i\)-th asset by a slippage cost proportional to \(x^\beta\) for some \(\beta>1\), so that the objective function changes to

A popular choice is \(\beta=3/2\). This objective can easily be modeled with a power cone as in Sec. 4.2 (Sets representable using the power cone):

In particular if \(\beta=3/2\) the inequality \(t_i\geq x_i^{3/2}\) has conic representation \((t_i,1,x_i)\in \POW_3^{2/3,1/3}\).

### 4.3.2 Maximum volume cuboid¶

Suppose we have a convex, conic representable set \(K\subseteq\real^n\) (for instance a polyhedron, a ball, intersections of those and so on). We would like to find a maximum volume axis-parallel cuboid inscribed in \(K\). If we denote by \(p\in\real^n\) the leftmost corner and by \(x_1,\ldots,x_n\) the edge lengths, then this problem is equivalent to

where the last constraint states that all vertices of the cuboid are in \(K\). The optimal volume is then \(v=t^n\). Modeling the geometric mean with power cones was discussed in Sec. 4.2.4 (Geometric mean).

Maximizing the volume of an arbitrary (not necessarily axis-parallel) cuboid inscribed in \(K\) is no longer a convex problem. However, it can be solved by maximizing the solution to (4.11) over all sets \(T(K)\) where \(T\) is a rotation (orthogonal matrix) in \(\real^n\). In practice one can approximate the global solution by sampling sufficiently many rotations \(T\) or using more advanced methods of optimization over the orthogonal group.

### 4.3.3 \(p\)-norm geometric median¶

The *geometric median* of a sequence of points \(x_1,\ldots,x_k\in\real^n\) is defined as

that is a point which minimizes the sum of distances to all the given points. Here \(\|\cdot\|\) can be any norm on \(\real^n\). The most classical case is the Euclidean norm, where the geometric median is the solution to the basic facility location problem minimizing total transportation cost from one depot to given destinations.

For a general \(p\)-norm \(\|x\|_p\) with \(1\leq p<\infty\) (see Sec. 4.2.2 (-norm cones)) the geometric median is the solution to the obvious conic problem:

In Sec. 4.2.2 (-norm cones) we showed how to model the \(p\)-norm bound using \(n\) power cones.

The *Fermat-Torricelli point* of a triangle is the Euclidean geometric mean of its vertices, and a classical theorem in planar geometry (due to Torricelli, posed by Fermat), states that it is the unique point inside the triangle from which each edge is visible at the angle of \(120^\circ\) (or a vertex if the triangle has an angle of \(120^\circ\) or more). Using (4.12) we can compute the \(p\)-norm analogues of the Fermat-Torricelli point. Some examples are shown in Fig. 4.3.

### 4.3.4 Maximum likelihood estimator of a convex density function¶

In [TV98] the problem of estimating a density function that is know in advance to be convex is considered. Here we will show that this problem can be posed as a conic optimization problem. Formally the problem is to estimate an unknown convex density function \(g : \R_+ \rightarrow \R_+\) given an ordered sample \(y_1 < y_2 < \ldots < y_n\) of \(n\) outcomes of a distribution with density \(g\).

The estimator \(\tilde g \geq 0\) is a piecewise linear function

with break points at \((y_i, x_i)\), \(i = 1, \ldots , n\), where the variables \(x_i > 0\) are estimators for \(g(y_i)\). The slope of the \(i\)-th linear segment of \(\tilde g\) is

Hence the convexity requirement leads to the constraints

Recall the area under the density function must be 1. Hence,

must hold. Therefore, the problem to be solved is

Maximizing \(\prod_{i=1}^n x_i\) or the geometric mean \((\prod_{i=1}^n x_i)^\frac{1}{n}\) will produce the same optimal solutions. Using that observation we can model the objective as shown in Sec. 4.2.4 (Geometric mean). Alternatively, one can use as objective \(\sum_i\log{x_i}\) and model it using the exponential cone as in Sec. 5.2 (Modeling with the exponential cone).