(函数来自 pyomo.contrib.viewer.report)
pyomo.contrib.viewer.report
获取值并忽略大多数异常(包括除以0)。
c – 一个用于获取值的Pyomo组件
一个值,可能是None