SuppressInfeasibleWarning
(class from pyomo.contrib.gdpopt.util
)
- class pyomo.contrib.gdpopt.util.SuppressInfeasibleWarning[source]
Bases:
object
Suppress the infeasible model warning message from solve().
The “WARNING: Loading a SolverResults object with a warning status” warning message from calling solve() is often unwanted, but there is no clear way to suppress it.
This is modeled on LoggingIntercept from pyomo.common.log, but different in function.
- __init__()
Methods
__init__
()Attributes
warning_filter
Member Documentation