Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ExpCone-class

The ExpCone class.


Description

This class represents a reformulated exponential cone constraint operating elementwise on a, b, c.

Usage

ExpCone(x, y, z, id = NA_integer_)

## S4 method for signature 'ExpCone'
as.character(x)

## S4 method for signature 'ExpCone'
residual(object)

## S4 method for signature 'ExpCone'
size(object)

## S4 method for signature 'ExpCone'
num_cones(object)

## S4 method for signature 'ExpCone'
cone_sizes(object)

## S4 method for signature 'ExpCone'
is_dcp(object)

## S4 method for signature 'ExpCone'
is_dgp(object)

## S4 method for signature 'ExpCone'
canonicalize(object)

Arguments

x

The variable x in the exponential cone.

y

The variable y in the exponential cone.

z

The variable z in the exponential cone.

id

(Optional) A numeric value representing the constraint ID.

object

A ExpCone object.

Details

Original cone:

K = \{(x,y,z) | y > 0, ye^{x/y} ≤q z\} \cup \{(x,y,z) | x ≤q 0, y = 0, z ≥q 0\}

Reformulated cone:

K = \{(x,y,z) | y, z > 0, y\log(y) + x ≤q y\log(z)\} \cup \{(x,y,z) | x ≤q 0, y = 0, z ≥q 0\}

Methods (by generic)

  • residual: The size of the x argument.

  • size: The number of entries in the combined cones.

  • num_cones: The number of elementwise cones.

  • cone_sizes: The dimensions of the exponential cones.

  • is_dcp: An exponential constraint is DCP if each argument is affine.

  • is_dgp: Is the constraint DGP?

  • canonicalize: Canonicalizes by converting expressions to LinOps.

Slots

x

The variable x in the exponential cone.

y

The variable y in the exponential cone.

z

The variable z in the exponential cone.


CVXR

Disciplined Convex Optimization

v1.0-10
Apache License 2.0 | file LICENSE
Authors
Anqi Fu [aut, cre], Balasubramanian Narasimhan [aut], David W Kang [aut], Steven Diamond [aut], John Miller [aut], Stephen Boyd [ctb], Paul Kunsberg Rosenfield [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.