__init__(*args, **kwds)
|
|
activate()
|
Set the active attribute to True |
add(index, expr)
|
Add an objective with a given index. |
append(value)
|
S.append(value) -- append value to the end of the sequence |
clear()
|
|
clear_suffix_value(suffix_or_name[, expand])
|
Clear the suffix value for this component data |
cname(*args, **kwds)
|
DEPRECATED. |
construct([data])
|
Construct the expression(s) for this objective. |
count(value)
|
|
deactivate()
|
Set the active attribute to False |
dim()
|
Return the dimension of the index |
display([prefix, ostream])
|
Provide a verbose display of this object |
extend(values)
|
S.extend(iterable) -- extend sequence by appending elements from the iterable |
get_suffix_value(suffix_or_name[, default])
|
Get the suffix value for this component data |
getname([fully_qualified, name_buffer, ...])
|
Returns the component name associated with this object. |
id_index_map()
|
Return an dictionary id->index for all ComponentData instances. |
index(value, [start, [stop]])
|
Raises ValueError if the value is not present. |
index_set()
|
Return the index set |
insert(i, item)
|
S.insert(index, value) -- insert value before index |
is_component_type()
|
Return True if this class is a Pyomo component |
is_constructed()
|
Return True if this class has been constructed |
is_expression_type([expression_system])
|
Return True if this numeric value is an expression |
is_indexed()
|
Return true if this component is indexed |
is_logical_type()
|
Return True if this class is a Pyomo Boolean object. |
is_named_expression_type()
|
Return True if this numeric value is 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_reference()
|
Return True if this component is a reference, where "reference" is interpreted as any component that does not own its own data. |
is_variable_type()
|
Return False unless this class is a variable object |
items()
|
Return an iterator of (index,data) component data tuples |
iteritems()
|
DEPRECATED. |
iterkeys()
|
DEPRECATED. |
itervalues()
|
DEPRECATED. |
keys()
|
Return an iterator over the component data keys |
model()
|
Returns the model associated with this object. |
parent_block()
|
Returns the parent of this object. |
parent_component()
|
Returns the component associated with this object. |
pop([index])
|
Raise IndexError if list is empty or index is out of range. |
pprint([ostream, verbose, prefix, sort])
|
Print component information |
reconstruct([data])
|
REMOVED: reconstruct() was removed in Pyomo 6.0. |
remove(value)
|
S.remove(value) -- remove first occurrence of value. |
reverse()
|
S.reverse() -- reverse IN PLACE |
root_block()
|
Return self.model() |
set_suffix_value(suffix_or_name, value[, expand])
|
Set the suffix value for this component data |
set_value(value)
|
Set the value of a scalar component. |
to_dense_data()
|
TODO |
type()
|
DEPRECATED. |
valid_model_component()
|
Return True if this can be used as a model component. |
values()
|
Return an iterator of the component data objects |