IneqConstraint-class: The IneqConstraint class

<=,Expression,Expression-methodR Documentation

The IneqConstraint class

Description

The IneqConstraint class

Usage

## S4 method for signature 'Expression,Expression'
e1 <= e2

## S4 method for signature 'Expression,ConstVal'
e1 <= e2

## S4 method for signature 'ConstVal,Expression'
e1 <= e2

## S4 method for signature 'Expression,Expression'
e1 < e2

## S4 method for signature 'Expression,ConstVal'
e1 < e2

## S4 method for signature 'ConstVal,Expression'
e1 < e2

## S4 method for signature 'Expression,Expression'
e1 >= e2

## S4 method for signature 'Expression,ConstVal'
e1 >= e2

## S4 method for signature 'ConstVal,Expression'
e1 >= e2

## S4 method for signature 'Expression,Expression'
e1 > e2

## S4 method for signature 'Expression,ConstVal'
e1 > e2

## S4 method for signature 'ConstVal,Expression'
e1 > e2

## S4 method for signature 'IneqConstraint'
name(x)

## S4 method for signature 'IneqConstraint'
dim(x)

## S4 method for signature 'IneqConstraint'
size(object)

## S4 method for signature 'IneqConstraint'
expr(object)

## S4 method for signature 'IneqConstraint'
is_dcp(object)

## S4 method for signature 'IneqConstraint'
is_dgp(object)

## S4 method for signature 'IneqConstraint'
residual(object)

Arguments

e1, e2

The Expression objects or numeric constants to compare.

x, object

A IneqConstraint object.

Methods (by generic)

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

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

  • size(IneqConstraint): The size of the constrained expression.

  • expr(IneqConstraint): The expression to constrain.

  • is_dcp(IneqConstraint): A non-positive constraint is DCP if its argument is convex.

  • is_dgp(IneqConstraint): Is the constraint DGP?

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


CVXR documentation built on Oct. 31, 2022, 1:07 a.m.