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

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

# S4 method for 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.