Learn R Programming

CVXR (version 1.9.1)

residual: Get the Residual of a Constraint

Description

Returns the residual of a constraint, measuring how much the constraint is violated or satisfied.

Usage

residual(x, ...)

Value

Numeric array, or NULL if expression has no value.

Arguments

x

A constraint object.

...

Not used.