__init__(*args, **kwd)
|
|
activate()
|
Set the active attribute to True |
add(index, expr)
|
Add an expression with a given index. |
arg(index)
|
|
clear()
|
Clear the data in this component |
clear_suffix_value(suffix_or_name[, expand])
|
Set the suffix value for this component data |
clone()
|
Return a clone of this expression (no-op). |
cname(*args, **kwds)
|
DEPRECATED. |
construct([data])
|
Construct the expression(s) for this objective. |
create_node_with_local_data(values[, classtype])
|
Construct a simple expression after constructing the contained expression. |
deactivate()
|
Set the active attribute to False |
dim()
|
Return the dimension of the index |
display([prefix, ostream])
|
Provide a verbose display of this object |
get_suffix_value(suffix_or_name[, default])
|
Get the suffix value for this component data |
getname(*args, **kwargs)
|
If this is a component, return the component's name on the owning block; otherwise return the value converted to a string |
id_index_map()
|
Return an dictionary id->index for all ComponentData instances. |
index()
|
Returns the index of this ComponentData instance relative to the parent component index set. |
index_set()
|
Return the index set |
is_component_type()
|
Return True if this class is a Pyomo component |
is_constant()
|
A boolean indicating whether this expression is constant. |
is_constructed()
|
Return True if this class has been constructed |
is_expression_type([expression_system])
|
A boolean indicating whether this in an expression. |
is_fixed()
|
A boolean indicating whether this expression is fixed. |
is_indexed()
|
Return True if this numeric value is an indexed object |
is_logical_type()
|
Return True if this class is a Pyomo Boolean object. |
is_minimizing()
|
Return True if this is a minimization objective. |
is_named_expression_type()
|
A boolean indicating whether this in a named expression. |
is_numeric_type()
|
Return True if this class is a Pyomo numeric object |
is_parameter_type()
|
Return False unless this class is a parameter object |
is_potentially_variable()
|
Return True if variables can appear in this expression |
is_reference()
|
Return True if this component is a reference, where "reference" is interpreted as any component that does not own its own data. |
is_relational()
|
DEPRECATED. |
is_variable_type()
|
Return False unless this class is a variable object |
items([sort, ordered])
|
Return an iterator of (index,data) component data tuples |
iteritems()
|
DEPRECATED. |
iterkeys()
|
DEPRECATED. |
itervalues()
|
DEPRECATED. |
keys([sort, ordered])
|
Return an iterator over the component data keys |
model()
|
Return the model of the component that owns this data. |
nargs()
|
|
parent_block()
|
Return the parent of the component that owns this data. |
parent_component()
|
Returns the component associated with this object. |
polynomial_degree()
|
A tuple of subexpressions involved in this expressions operation. |
pprint([ostream, verbose, prefix, sort])
|
Print component information |
reconstruct([data])
|
REMOVED: reconstruct() was removed in Pyomo 6.0. |
root_block()
|
Return self.model() |
set_sense(sense)
|
Set the sense (direction) of this objective. |
set_suffix_value(suffix_or_name, value[, expand])
|
Set the suffix value for this component data |
set_value(expr)
|
Set the expression of this objective. |
template_expr()
|
|
to_dense_data()
|
TODO |
to_string([verbose, labeler, smap, ...])
|
Return a string representation of the expression tree. |
type()
|
DEPRECATED. |
valid_model_component()
|
Return True if this can be used as a model component. |
values([sort, ordered])
|
Return an iterator of the component data objects |