get_src_disjunction

(function from pyomo.gdp.util)

pyomo.gdp.util.get_src_disjunction(xor_constraint)[source]

Return the Disjunction corresponding to xor_constraint

Parameters:

xor_constraint (Constraint, which must be the logical constraint) – (located on the transformation block) of some Disjunction