log_close_to_bounds
(function from pyomo.util.infeasible)
- pyomo.util.infeasible.log_close_to_bounds(m, tol=1e-06, logger=<Logger pyomo.util.infeasible (WARNING)>)[source]
Print the variables and constraints that are near their bounds.
See
find_close_to_bounds()for a description of the variables and constraints that are returned (and which are omitted).- Parameters:
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.