PyNumeroEvaluationError
(class from pyomo.contrib.pynumero.exceptions)
- class pyomo.contrib.pynumero.exceptions.PyNumeroEvaluationError[source]
Bases:
ArithmeticErrorAn 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.
- __init__(*args, **kwargs)
Member Documentation
- add_note()
Exception.add_note(note) – add a note to the exception
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.