transform_current_disjunctive_state

Classes

TransformCurrentDisjunctiveState(**kwds)

This transformation finds disjunctive state (indicator_var values) in the given GDP, and, for any Disjunction, when the state fully determines what Disjunct will be selected, it reclassifies all the Disjuncts of the Disjunction as Blocks, and activates or deactivates them according to whether their indicator_vars are set (or implied to be set) as 'True' or 'False' (respectively).