(class from pyomo.repn.plugins.nl_writer)
pyomo.repn.plugins.nl_writer
Bases: object
object
Return type for NLWriter.write()
The list of (unfixed) Pyomo model variables in the order written to the NL file
List[VarData]
The list of (active) Pyomo model constraints in the order written to the NL file
List[ConstraintData]
The list of (active) Pyomo model objectives in the order written to the NL file
List[ObjectiveData]
The list of paths to external function libraries referenced by the constraints / objectives written to the NL file
List[str]
The list of string names for the constraints / objectives written to the NL file in the same order as constraints + objectives and the generated .row file.
constraints
objectives
The list of string names for the variables written to the NL file in the same order as the variables and generated .col file.
variables
The list of variables in the model that were eliminated by the presolve. 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 been sent to the solver, or appear earlier in this list.
VarData
List[Tuple[VarData, NumericExpression]]
namedtuple holding 3 lists of (variables, constraints, objectives) scaling factors in the same order (and size) as the variables, constraints, and objectives attributes above.
ScalingFactors or None
Methods
__init__(var, con, obj, external_libs, ...)
__init__
Member Documentation