DualTransformation
(class from pyomo.duality.lagrangian_dual)
- class pyomo.duality.lagrangian_dual.DualTransformation(**kwds)[source]
Bases:
IsomorphicTransformationCreates a standard form Pyomo model that is equivalent to another model
- Options
dual_constraint_suffix Defaults to
_constraintdual_variable_prefix Defaults top_slack_names Defaults toauxiliary_slackexcess_names Defaults toauxiliary_excesslb_names Defaults to_lower_boundub_names Defaults to_upper_boundpos_suffix Defaults to_plusneg_suffix Defaults to_minus
- __init__(**kwds)[source]
DEPRECATED.
Deprecated since version 5.6.2: Use of the pyomo.duality package is deprecated. There are known bugs in pyomo.duality, and we do not recommend the use of this code. Development of dualization capabilities has been shifted to the Pyomo Adversarial Optimization (PAO) library. Please contact William Hart for further details (wehart@sandia.gov).
Methods
__init__(**kwds)DEPRECATED.
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
Member Documentation
- apply(model, **kwds)
DEPRECATED.
Deprecated since version 4.3.11323: Transformation.apply() has been deprecated. Please use either Transformation.apply_to() for in-place transformations or Transformation.create_using() for transformations that create a new, independent transformed model instance.
- apply_to(model, **kwds)
Apply the transformation to the given model.
- create_using(model, **kwds)
Create a new model with this transformation