StandardForm
(class from pyomo.core.plugins.transform.standard_form)
- class pyomo.core.plugins.transform.standard_form.StandardForm(**kwds)[source]
Bases:
IsomorphicTransformationProduces a standard-form representation of the model. This form has the coefficient matrix (A), the cost vector (c), and the constraint vector (b), where the ‘standard form’ problem is
\[\begin{split}\min/\max\ & c'x \\ s.t.\ & Ax = b \\ & x >= 0\end{split}\]- Options
slack_names Default auxiliary_slack excess_names Default auxiliary_excess lb_names Default _lower_bound up_names Default _upper_bound pos_suffix Default _plus neg_suffix Default _neg
Methods
__init__(**kwds)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