Interface Constraint

    • Method Detail

      • overshoot

        double overshoot​(RealVector y)
        Check how much a point overshoots the constraint.

        The overshoots is zero if the point fulfills the constraint, and positive if the value of the constraint is on the wrong side of lower or upper boundaries.

        Parameters:
        y - constraint value (y = value(x))
        Returns:
        L¹-norm of constraint overshoot