(function from pyomo.dae.set_utils)
pyomo.dae.set_utils
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.