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

Canonicalization-class

The Canonicalization class.


Description

This class represents a canonicalization reduction.

Usage

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

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

## S4 method for signature 'Canonicalization'
canonicalize_tree(object, expr)

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

Arguments

object

A Canonicalization object.

problem

A Problem object.

solution

A Solution to a problem that generated the inverse data.

inverse_data

An InverseData object that contains the data encoding the original problem.

expr

An Expression object.

args

List of arguments to canonicalize the expression.

Methods (by generic)

  • perform: Recursively canonicalize the objective and every constraint.

  • invert: Performs the reduction on a problem and returns an equivalent problem.

  • canonicalize_tree: Recursively canonicalize an Expression.

  • canonicalize_expr: Canonicalize an expression, w.r.t. canonicalized arguments.


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.