get_indices_of_projection

(function from pyomo.dae.set_utils)

pyomo.dae.set_utils.get_indices_of_projection(index_set, *sets)[source]

We want to project certain sets out of our indexing set. We return the parameterization of this projection (the product of remaining sets) and a function to recover the original index from an element of the parameterization and coordinates of the sets projected out.