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.