Learn R Programming

CVXR (version 1.0-14)

NonPosConstraint-class: The NonPosConstraint class

Description

The NonPosConstraint class

Usage

# S4 method for NonPosConstraint
name(x)

# S4 method for NonPosConstraint is_dcp(object)

# S4 method for NonPosConstraint is_dgp(object)

# S4 method for NonPosConstraint canonicalize(object)

# S4 method for NonPosConstraint residual(object)

Arguments

x, object

A NonPosConstraint object.

Methods (by generic)

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

  • is_dcp(NonPosConstraint): Is the constraint DCP?

  • is_dgp(NonPosConstraint): Is the constraint DGP?

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

  • residual(NonPosConstraint): The residual of the constraint.