get_index_information
(function from pyomo.dae.misc
)
- pyomo.dae.misc.get_index_information(var, ds)[source]
This method will find the index location of the set ds in the var, return a list of the non_ds indices and return a function that can be used to access specific indices in var indexed by a ContinuousSet by specifying the finite element and collocation point. Users of this method should have already confirmed that ds is an indexing set of var and that it’s a ContinuousSet