set_utils

Functions

deactivate_model_at(b, cset, pts[, ...])

Finds any block or constraint in block b, indexed explicitly (and not implicitly) by cset, and deactivates it at points specified.

get_index_set_except(comp, *sets)

Function for getting indices of a component over a product of its indexing sets other than those specified.

get_indices_of_projection(index_set, *sets)

We want to project certain sets out of our indexing set.

index_warning(name, index)

is_explicitly_indexed_by(comp, *sets, **kwargs)

Function for determining whether a pyomo component is indexed by a set or group of sets.

is_in_block_indexed_by(comp, s[, stop_at])

Function for determining whether a component is contained in a block that is indexed by a particular set.