get_src_constraint

(function from pyomo.gdp.util)

pyomo.gdp.util.get_src_constraint(transformedConstraint)[source]

Return the original Constraint whose transformed counterpart is transformedConstraint

Parameters:
  • transformedConstraint (Constraint, which must be a component on one of)

  • of (the BlockDatas in the relaxedDisjuncts Block)

  • block (a transformation)