parameters: (self, tolerance: float = 1e-8)
return_statement: return np.all(residual <= tolerance)
docstring: Checks whether the constraint violation is less than a tolerance.
  
          Parameters
          ----------
              tolerance : float
                  The absolute tolerance to impose on the violation.
  
          Returns
          -------
              bool
                  True if the violation is less than ``tolerance``, False
                  otherwise.
  
          Raises
          ------
              ValueError
                  If the constrained expression does not have a value associated
                  with it.
docstring_summary: Checks whether the constraint violation is less than a tolerance.
docstring_tokens: Checks whether the constraint violation is less than a tolerance .
function: def value(self, tolerance: float = 1e-8):
          """Checks whether the constraint violation is less than a tolerance.
  
          Parameters
          ----------
              tolerance : float
                  The absolute tolerance to impose on the violation.
  
          Returns
          -------
              bool
                  True if the violation is less than ``tolerance``, False
                  otherwise.
  
          Raises
          ------
              ValueError
                  If the constrained expression does not have a value associated
                  with it.
          """
          residual = self.residual
          if residual is None:
              raise ValueError("Cannot compute the value of an constraint "
                               "whose expression is None-valued.")
          return np.all(residual <= tolerance)
function_tokens: def value ( self , tolerance : float = 1e-8 ) : residual = self . residual if residual is None : raise ValueError ( "Cannot compute the value of an constraint " "whose expression is None-valued." ) return np . all ( residual <= tolerance )