Learn R Programming

CVXR (version 1.0)

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: The string representation of the constraint.

  • dim: The dimensions of the constrained expression.

  • is_dcp: Is the constraint DCP?

  • is_dgp: Is the constraint DGP?

  • residual: The residual of a constraint

  • canonicalize: The graph implementation of the object.