__init__ ()
|
Initialize transformation object. |
apply (model, **kwds)
|
DEPRECATED. |
apply_to (model, **kwds)
|
Apply the transformation to the given model. |
create_using (model, **kwds)
|
Create a new model with this transformation |
get_disaggregated_var (v, disjunct[, ...])
|
Returns the disaggregated variable corresponding to the Var v and the Disjunct disjunct. |
get_disaggregation_constraint (original_var, ...)
|
Returns the disaggregation (re-aggregation?) constraint (which links the disaggregated variables to their original) corresponding to original_var and the transformation of disjunction. |
get_src_constraint ()
|
Return the original Constraint whose transformed counterpart is transformedConstraint |
get_src_disjunct ()
|
Return the Disjunct object whose transformed components are on transBlock. |
get_src_disjunction ()
|
Return the Disjunction corresponding to xor_constraint |
get_src_var (disaggregated_var)
|
Returns the original model variable to which disaggregated_var corresponds. |
get_transformed_constraints (cons)
|
Return the transformed version of srcConstraint |
get_var_bounds_constraint (v[, disjunct])
|
Returns a dictionary mapping keys 'lb' and/or 'ub' to the Constraints that set a disaggregated variable to be within its lower and upper bounds (respectively) when its Disjunct is active and to be 0 otherwise. |