(函数来自 pyomo.contrib.pynumero.interfaces.utils)
pyomo.contrib.pynumero.interfaces.utils
创建掩码,用于从可能包含 -np.inf 或 np.inf 的完整边界向量转换为仅包含有限值的边界向量。