violation: Get the Violation of a Constraint

violationR Documentation

Get the Violation of a Constraint

Description

Returns the scalar violation (distance to feasibility) of a constraint.

Usage

violation(x, ...)

Arguments

x

A constraint object.

...

Not used.

Value

Numeric scalar.


CVXR documentation built on March 6, 2026, 9:10 a.m.