[Tutor] Error: 'IndexedVar' object is not callable

Pooja Bhalode poojabhalode11 at gmail.com
Fri Sep 9 14:50:57 EDT 2016


Hi everyone,

I was getting this error which read ' 'IndexedVar' object is not callable '
for a variable type.

The variable is defined as a class variable and has dimensions m.C(i,j) in
z and t axis.

The program isnt able to take in any of the equations that I am giving it
to because of this error. I looked up online, and it said that maybe the
variable is being used up somewhere else, also tried changing the name but
it didn't help.

Could someone please tell me the possible reasons for this happening.

ERROR: Rule failed when generating expression for constraint concentration
with index (10, 10):
TypeError: 'IndexedVar' object is not callable
ERROR: Constructing component 'concentration' from data=None failed:
TypeError: 'IndexedVar' object is not callable


I would appreciate it.
Thank you


More information about the Tutor mailing list