constr_value {CVXR}R Documentation

Is Constraint Violated?

Description

Checks whether the constraint violation is less than a tolerance.

Usage

constr_value(object, tolerance = 1e-08)

Arguments

object

A Constraint object.

tolerance

A numeric scalar representing the absolute tolerance to impose on the violation.

Value

A logical value indicating whether the violation is less than the tolerance. Raises an error if the residual is NA.


[Package CVXR version 1.0-14 Index]