to_standard_form

(function from pyomo.core.plugins.transform.model)

pyomo.core.plugins.transform.model.to_standard_form(self)[source]

DEPRECATED.

Produces a standard-form representation of the model. Returns 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}\]

All three returned values are instances of the array.array class, and store Python floats (C doubles).

Deprecated since version 6.7.3: to_standard_form() is deprecated. Please use WriterFactory(‘compile_standard_form’) (will be removed in (or after) 6.8.0)