error in 4.2.8 and 4.2.9 (caused by Var m.z ?)
mriepi opened this issue · 2 comments
mriepi commented
mriepi commented
I found that the following solves the problem:
'machine': [mach for mach in MACHINES if value(m.z[j,mach])][0]
The value() is necessary.
jckantor commented
Yes, the problem was accessing the pyomo object rather than retrieving the value. This is fixed (sorry for the delay). Thanks!