(class from pyomo.contrib.pynumero.exceptions)
pyomo.contrib.pynumero.exceptions
Bases: ArithmeticError
ArithmeticError
An exception to be raised by PyNumero evaluation backends in the event of a failed function evaluation. This should be caught by solver interfaces and translated to the solver-specific evaluation error API.
Member Documentation
Exception.add_note(note) – add a note to the exception
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.