Skip to content

Commit d237614

Browse files
committed
Add dual of GeometricMeanCone
1 parent fb303dc commit d237614

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

src/sets.jl

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,11 @@ dual_set_type(::Type{RotatedSecondOrderCone}) = RotatedSecondOrderCone
267267
GeometricMeanCone(dimension)
268268
269269
The geometric mean cone ``\\{ (t,x) \\in \\mathbb{R}^{n+1} : x \\ge 0, t \\le \\sqrt[n]{x_1 x_2 \\cdots x_n} \\}`` of dimension `dimension```{}=n+1``.
270+
271+
### Duality note
272+
273+
The dual of the geometric mean cone is
274+
``\\{ (u, v) \\in \\mathbb{R}^{n+1} : v \\ge 0, u \\le n \\sqrt[n]{\\prod_i v_i} \\}`` of dimension `dimension```{}=n+1``.
270275
"""
271276
struct GeometricMeanCone <: AbstractVectorSet
272277
dimension::Int
@@ -330,8 +335,8 @@ The relative entropy cone ``\\{ (u, v, w) \\in \\mathbb{R}^{1+2n} : u \\ge \\sum
330335
### Duality note
331336
332337
The dual of the relative entropy cone is
333-
``\\{ (u, v, w) \\in \\mathbb{R}^{1+2n} : \\forall i, -u \\exp (v_i/u) \\le \\exp(1) w_i, u < 0 \\}`` of dimension `dimension```{}=2n+1``.
334-
Note that the inequality is rewritten in terms of ``\\log`` as follows: ``v_i \\le u (\\log(w_i/-u) + 1)``.
338+
``\\{ (u, v, w) \\in \\mathbb{R}^{1+2n} : \\forall i, -u \\exp (w_i/u) \\le \\exp(1) v_i, u < 0 \\}`` of dimension `dimension```{}=2n+1``.
339+
Note that the inequality is rewritten in terms of ``\\log`` as follows: ``w_i \\le u (\\log(v_i/-u) + 1)``.
335340
"""
336341
struct RelativeEntropyCone <: AbstractVectorSet
337342
dimension::Int

0 commit comments

Comments
 (0)