Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

constr_value

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

Disciplined Convex Optimization

v1.0-10
Apache License 2.0 | file LICENSE
Authors
Anqi Fu [aut, cre], Balasubramanian Narasimhan [aut], David W Kang [aut], Steven Diamond [aut], John Miller [aut], Stephen Boyd [ctb], Paul Kunsberg Rosenfield [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.