B  @`sã@s4ddlZddlmZddlmZGdd„deƒZdS)éN)ÚStringIO)ÚLoggingInterceptcs eZdZdZ‡fdd„Z‡ZS)Ú SuppressConstantObjectiveWarningaDSuppress the infeasible model warning message from solve(). The "WARNING: Constant objective detected, replacing with a placeholder" warning message from calling solve() is often unwanted, but there is no clear way to suppress it. TODO need to fix this so that it only suppresses the desired message. cstt|ƒ tƒdtj¡dS)Nz pyomo.core)ÚsuperrÚ__init__rÚloggingÚWARNING)Úself)Ú __class__©úD/tmp/pip-unpacked-wheel-bi3529v6/pyomo/contrib/preprocessing/util.pyrs z)SuppressConstantObjectiveWarning.__init__)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚ __classcell__r r )r r rs r)rÚsixrZpyomo.common.logrrr r r r Ús