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

Dgp2Dcp-class

Reduce DGP problems to DCP problems.


Description

This reduction takes as input a DGP problem and returns an equivalent DCP problem. Because every (generalized) geometric program is a DGP problem, this reduction can be used to convert geometric programs into convex form.

Usage

## S4 method for signature 'Dgp2Dcp,Problem'
accepts(object, problem)

## S4 method for signature 'Dgp2Dcp,Problem'
perform(object, problem)

## S4 method for signature 'Dgp2Dcp'
canonicalize_expr(object, expr, args)

## S4 method for signature 'Dgp2Dcp,Solution,InverseData'
invert(object, solution, inverse_data)

Arguments

object

A Dgp2Dcp object.

problem

A Problem object.

expr

An Expression object corresponding to the DGP problem.

args

A list of values corresponding to the DGP expression

solution

A Solution object to invert.

inverse_data

A InverseData object containing data necessary for the inversion.

Methods (by generic)

  • accepts: Is the problem DGP?

  • perform: Converts the DGP problem to a DCP problem.

  • canonicalize_expr: Canonicalizes each atom within an Dgp2Dcp expression.

  • invert: Returns the solution to the original problem given the inverse_data.


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.