violation
The violation is maxOf(0, R(x) - b). This quantity is often used in penalty function calculations.
Parameters
response Value
The value of the response to be evaluated for the constraint.
Overloaded violation function that accepts an EstimatedResponse.
A response constraint's violation is computed from the solution's estimated response for this constraint's response; 0 when the solution has no estimate for it.