--
You received this message because you are subscribed to the Google Groups "Pyomo Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyomo-forum...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Are you ever dividing one parameter value by another? Python 2.7 does integer division by default (i.e. 1/2 = 0). You can force floating-point division by making sure at least one of the parameters is a float or by including the import statement “from __future__ import division”. In Python 3, floating-point division is the default (i.e. 1/2 = 0.5)
Bethany
--
To unsubscribe from this group and stop receiving emails from it, send an email to pyomo-forum+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Pyomo Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pyomo-forum/Mf1w-B1U3ac/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pyomo-forum+unsubscribe@googlegroups.com.