constr_value: Is Constraint Violated?

constr_valueR 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.


CVXR documentation built on June 27, 2024, 5:11 p.m.