MPEC4_Transformation

(class from pyomo.mpec.plugins.mpec4)

class pyomo.mpec.plugins.mpec4.MPEC4_Transformation[source]

Bases: Transformation

__init__()[source]

Methods

__init__()

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

print_nl_form(instance)

Summarize the complementarity relations in this problem.

to_common_form(cdata, free_vars)

Convert a common form that can processed by AMPL

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

print_nl_form(instance)[source]

Summarize the complementarity relations in this problem.

to_common_form(cdata, free_vars)[source]

Convert a common form that can processed by AMPL