CvxAttr2Constr-class: The CvxAttr2Constr class.

CvxAttr2Constr-classR Documentation

The CvxAttr2Constr class.

Description

This class represents a reduction that expands convex variable attributes into constraints.

Usage

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

## S4 method for signature 'CvxAttr2Constr,Solution,list'
invert(object, solution, inverse_data)

Arguments

object

A CvxAttr2Constr object.

problem

A Problem object.

solution

A Solution to a problem that generated the inverse data.

inverse_data

The inverse data returned by an invocation to apply.

Methods (by generic)

  • perform(object = CvxAttr2Constr, problem = Problem): Expand convex variable attributes to constraints.

  • invert(object = CvxAttr2Constr, solution = Solution, inverse_data = list): Performs the reduction on a problem and returns an equivalent problem.


CVXR documentation built on June 27, 2024, 5:11 p.m.