The IneqConstraint class
# S4 method for Expression,Expression
<=(e1, e2)# S4 method for Expression,ConstVal
<=(e1, e2)
# S4 method for ConstVal,Expression
<=(e1, e2)
# S4 method for Expression,Expression
<(e1, e2)
# S4 method for Expression,ConstVal
<(e1, e2)
# S4 method for ConstVal,Expression
<(e1, e2)
# S4 method for Expression,Expression
>=(e1, e2)
# S4 method for Expression,ConstVal
>=(e1, e2)
# S4 method for ConstVal,Expression
>=(e1, e2)
# S4 method for Expression,Expression
>(e1, e2)
# S4 method for Expression,ConstVal
>(e1, e2)
# S4 method for ConstVal,Expression
>(e1, e2)
# S4 method for IneqConstraint
name(x)
# S4 method for IneqConstraint
dim(x)
# S4 method for IneqConstraint
size(object)
# S4 method for IneqConstraint
expr(object)
# S4 method for IneqConstraint
is_dcp(object)
# S4 method for IneqConstraint
is_dgp(object)
# S4 method for IneqConstraint
residual(object)
name
: The string representation of the constraint.
dim
: The dimensions of the constrained expression.
size
: The size of the constrained expression.
expr
: The expression to constrain.
is_dcp
: A non-positive constraint is DCP if its argument is convex.
is_dgp
: Is the constraint DGP?
residual
: The residual of the constraint.