B u `ªã@sTddlmZGdd„deƒZGdd„deeƒZGdd„deƒZGdd „d eeƒZd S) é)ÚApplicationErrorc@seZdZdZdS)ÚPyomoExceptionz³ Exception class for other pyomo exceptions to inherit from, allowing pyomo exceptions to be caught in a general way (e.g., in other applications that use Pyomo). N)Ú__name__Ú __module__Ú __qualname__Ú__doc__©rrú7/tmp/pip-unpacked-wheel-n62dbgi3/pyomo/common/errors.pyrsrc@s eZdZdZdd„Zdd„ZdS)ÚDeveloperErrorz¯ Exception class used to throw errors that result from Pyomo programming errors, rather than user modeling errors (e.g., a component not declaring a 'ctype'). cCs ||_dS)N)Ú parameter)ÚselfÚvalrrr Ú__init__szDeveloperError.__init__cCsdt|jƒfS)NzUInternal Pyomo implementation error: %s Please report this to the Pyomo Developers.)Úreprr )r rrr Ú__str__!szDeveloperError.__str__N)rrrrrrrrrr r sr c@seZdZdZdS)ÚInfeasibleConstraintExceptionz¦ Exception class used by Pyomo transformations to indicate that an infeasible constraint has been identified (e.g. in the course of range reduction). N)rrrrrrrr r'src@seZdZdZdS)ÚNondifferentiableErrorzEA Pyomo-specific ValueError raised for non-differentiable expressionsN)rrrrrrrr r0srN) Zpyutilib.commonrÚ ExceptionrÚNotImplementedErrorr rÚ ValueErrorrrrrr Ú s