create_access_function

(function from pyomo.dae.misc)

pyomo.dae.misc.create_access_function(var)[source]

This method returns a function that returns a component by calling it rather than indexing it