slack

fun slack(responseValue: Double): Double

The "slack" is the gap between the response and the right-hand side of the constraint adjusted to ensure a less-than interpretation. If R(x) is the estimated response value, then for a less-than constraint, where ER(x)< b, then the slack is b-R(x). Essentially, the slack is (b-R(x)) adjusted for the direction of the constraint.

Parameters

responseValue

The value of the response to be evaluated for the constraint.