(function from pyomo.contrib.fbbt.interval)
pyomo.contrib.fbbt.interval
Compute the “bounds” on a RangedExpression
Note this is not performing interval arithmetic: we are calculating the “bounds” on a RelationalExpression (whose domain is {True, False}). Therefore we are determining if y can be between z and z, y can be outside the range x and z, or both.