(function from pyomo.contrib.pynumero.interfaces.utils)
pyomo.contrib.pynumero.interfaces.utils
Creates masks for converting from the full vector of bounds that may contain -np.inf or np.inf to a vector of bounds that are finite only.