hopsy.Problem.slacks#

Problem.slacks(point)#

Given a point` computes polytope slacks, i.e., b - A * x. Note, that if A and b have been transformed, then the slacks are computed in the transformed space, e.g. after rounding.

:param : :type : param point: point at which to compute slacks :param : :type : type point: numpy.ndarray[float64[n,1]]

Returns:

  • return: The value of the slacks at point

  • rtype: numpy.ndarray[float64[n,1]]