(class from pyomo.contrib.preprocessing.util)
pyomo.contrib.preprocessing.util
Bases: LoggingIntercept
LoggingIntercept
Suppress 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.
Methods
__init__()
__init__
Attributes
module
Member Documentation