(function from pyomo.util.infeasible)
pyomo.util.infeasible
Logs the infeasible constraints in the model.
Uses the current model state. Messages are logged at the INFO level.
m (Block) – Pyomo block or model to check
tol (float) – absolute feasibility tolerance
logger (logging.Logger) – Logger to output to; defaults to pyomo.util.infeasible.
log_expression (bool) – If true, prints the constraint expression
log_variables (bool) – If true, prints the constraint variable names and values