(function from pyomo.util.infeasible)
pyomo.util.infeasible
Find the infeasible constraints in the model.
Uses the current model state.
m (Block) – Pyomo block or model to check
tol (float) – absolute feasibility tolerance
constr (ConstraintData) – The infeasible constraint object
body_value (float or None) – The numeric value of the constraint body (or None if there was an error evaluating the expression)
infeasible (int) – A bitmask indicating which bound was infeasible (1 for the lower bound, 2 for the upper bound, or 4 if the body or bound was undefined)