When I run the following code:
for key,value in before_yield_ts.items():
print(key,value)
Before this block of code:
# The result of the objective function is here
final_amount_ts = value (prob_ts.objective)
print ("Total", final_amount_ts)
This is the error that I get:
Traceback (most recent call last):
File "metal_blend.py", line 181, in <module>
final_amount_ts = value (prob_ts.objective)
TypeError: 'float' object is not callable