def METHOD_NAME(m, rel_tol=1e-4, abs_tol=1e-5):
    """
    print constraints close to their bounds
    Args:
        m : A Pyomo Block or ConcreteModel
        rel_tol : (optional) relative tolerance for comparing the value
                   to the bound, default 1e-04
        abs_tol : (optional) absolute tolerance for comparing the value
                   to the bound, default 1e-05
    Returns:
        None
    """
    for con in m.component_data_objects(
        ctype=Constraint, descend_into=True, active=True
    ):
        if con.equality:
            continue
        val = value(con.body, exception=False)
        if val is None:
            print(f"Cannot evaluate Constraint {con.name}: missing variable value")
        else:
            _eval_close(con, val, rel_tol, abs_tol)