B ÔÂ_|ã@sHGdd„deƒZGdd„deeƒZGdd„deƒZGdd„deeƒZdS) c@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-d4p3hk07/pyomo/common/errors.pyr src@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)rrrrr rrrrrrsrc@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)rrrrrrrrr%src@seZdZdZdS)ÚNondifferentiableErrorzEA Pyomo-specific ValueError raised for non-differentiable expressionsN)rrrrrrrrr.srN)Ú ExceptionrÚNotImplementedErrorrrÚ ValueErrorrrrrrÚ s