(class from pyomo.repn.plugins.standard_form)
pyomo.repn.plugins.standard_form
Bases: object
object
Return type for LinearStandardFormCompiler.write()
The objective coefficients. Note that this is a sparse array and may contain multiple rows (for multiobjective problems). The objectives may be calculated by c @ x
c @ x
scipy.sparse.csc_array
The list of objective constant offsets
numpy.ndarray
The constraint coefficients. The constraint bodies may be calculated by A @ x
A @ x
The constraint right-hand sides.
The list of Pyomo constraint objects corresponding to the rows in A. Each element in the list is a 2-tuple of (ConstraintData, row_multiplier). The row_multiplier will be +/- 1 indicating if the row was multiplied by -1 (corresponding to a constraint lower bound) or +1 (upper bound).
List[Tuple[ConstraintData, int]]
The list of Pyomo variable objects corresponding to columns in the A and c matrices.
List[VarData]
The list of Pyomo objective objects corresponding to the active objectives
List[ObjectiveData]
The list of variables from the original model that do not appear in the standard form (usually because they were replaced by nonnegative variables). Each entry is a 2-tuple of (VarData, :py:class`NumericExpression`|`float`). The list is in the necessary order for correct evaluation (i.e., all variables appearing in the expression must either have appeared in the standard form, or appear earlier in this list.
VarData
List[Tuple[VarData, NumericExpression]]
Methods
__init__(c, c_offset, A, rhs, rows, columns, ...)
__init__
Attributes
b
Alias for rhs
rhs
x
Alias for columns
columns
Member Documentation