(function from pyomo.contrib.viewer.report)
pyomo.contrib.viewer.report
Get value and ignore most exceptions (including division by 0).
c – a Pyomo component to get the value of
A value, could be None