Learn R Programming

CVXR (version 1.0-14)

ZeroConstraint-class: The ZeroConstraint class

Description

The ZeroConstraint class

Usage

# S4 method for ZeroConstraint
name(x)

# S4 method for ZeroConstraint dim(x)

# S4 method for ZeroConstraint is_dcp(object)

# S4 method for ZeroConstraint is_dgp(object)

# S4 method for ZeroConstraint residual(object)

# S4 method for ZeroConstraint canonicalize(object)

Arguments

x, object

A ZeroConstraint object.

Methods (by generic)

  • name(ZeroConstraint): The string representation of the constraint.

  • dim(ZeroConstraint): The dimensions of the constrained expression.

  • is_dcp(ZeroConstraint): Is the constraint DCP?

  • is_dgp(ZeroConstraint): Is the constraint DGP?

  • residual(ZeroConstraint): The residual of a constraint

  • canonicalize(ZeroConstraint): The graph implementation of the object.