__init__ (**kwds)
|
|
add (*values)
|
|
at (index)
|
Return the specified member of the set. |
bounds ()
|
|
card (index)
|
DEPRECATED. |
check_values ()
|
DEPRECATED. |
clear ()
|
Clear the data in this component |
clear_suffix_value (suffix_or_name[, expand])
|
Set the suffix value for this component data |
cname (*args, **kwds)
|
DEPRECATED. |
construct ([data])
|
API definition for constructing components |
cross (*args)
|
Return the cross-product between this set and one or more sets |
data ()
|
|
difference (*args)
|
Return the difference between this set with one or more sets |
dim ()
|
Return the dimension of the index |
discard (val)
|
|
display ([ostream, verbose, prefix])
|
|
first ()
|
|
get (value[, default])
|
Return True if the set contains a given value. |
get_interval ()
|
Return the interval for this Set as (start, end, step) |
get_suffix_value (suffix_or_name[, default])
|
Get the suffix value for this component data |
getname ([fully_qualified, name_buffer, ...])
|
Return a string with the component name and index |
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 |
intersection (*args)
|
Return the intersection of this set with one or more sets |
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 |
isdiscrete ()
|
Returns True if this set admits only discrete members |
isdisjoint (other)
|
Test if this Set is disjoint from other |
isfinite ()
|
Returns True if this is a finite discrete (iterable) Set |
isordered ()
|
Returns True if this is an ordered finite discrete (iterable) Set |
issubset (other)
|
Test if this Set is a subset of other |
issuperset (other)
|
Test if this Set is a superset of other |
items ()
|
Return an iterator of (index,data) tuples from the dictionary |
iteritems ()
|
DEPRECATED. |
iterkeys ()
|
DEPRECATED. |
itervalues ()
|
DEPRECATED. |
keys ([sort, ordered])
|
Return an iterator over the component data keys |
last ()
|
|
model ()
|
Return the model of the component that owns this data. |
next (item[, step])
|
Return the next item in the set. |
nextw (item[, step])
|
Return the next item in the set with wrapping if necessary. |
ord (item)
|
Return the position index of the input value. |
ordered_data ()
|
|
ordered_iter ()
|
|
parent_block ()
|
Return the parent of the component that owns this data. |
parent_component ()
|
Returns the component associated with this object. |
pop ()
|
|
pprint ([ostream, verbose, prefix])
|
Print component information |
prev (item[, step])
|
Return the previous item in the set. |
prevw (item[, step])
|
Return the previous item in the set with wrapping if necessary. |
ranges ()
|
|
reconstruct ([data])
|
REMOVED: reconstruct() was removed in Pyomo 6.0. |
remove (val)
|
|
root_block ()
|
Return self.model() |
set_suffix_value (suffix_or_name, value[, expand])
|
Set the suffix value for this component data |
set_value (val)
|
Set the value of a scalar component. |
sorted_data ()
|
|
sorted_iter ()
|
|
subsets ([expand_all_set_operators])
|
|
symmetric_difference (other)
|
Return the symmetric difference of this set with another set |
to_dense_data ()
|
TODO |
type ()
|
DEPRECATED. |
union (*args)
|
Return the union of this set with one or more sets. |
update (values)
|
|
valid_model_component ()
|
Return True if this can be used as a model component. |
values ()
|
Return an iterator of the component data objects in the dictionary |