Equality(port, name, index_set)
|
Arc Expansion procedure to generate simple equality constraints |
Extensive(port, name, index_set[, ...])
|
Arc Expansion procedure for extensive variable properties |
__init__(*args, **kwd)
|
|
add(var[, name, rule])
|
Add var to this Port, casting it to a Pyomo numeric if necessary |
arcs([active])
|
A list of Arcs in which this Port is a member |
clear()
|
Clear the data in this component |
clear_suffix_value(suffix_or_name[, expand])
|
Clear the suffix value for this component data |
cname(*args, **kwds)
|
DEPRECATED. |
construct([data])
|
API definition for constructing components |
dests([active])
|
A list of Arcs in which this Port is a source |
dim()
|
Return the dimension of the index |
display([prefix, ostream])
|
Print component state information |
fix()
|
Fix all variables in the port at their current values. |
free()
|
Unfix all variables in the port. |
get_split_fraction(arc)
|
Returns a tuple (val, fix) for the split fraction of this arc that was set via set_split_fraction if it exists, and otherwise None. |
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()
|
Returns the index of this ComponentData instance relative to the parent component index set. |
index_set()
|
Return the index set |
is_binary()
|
Return True if all variables in the Port are binary |
is_component_type()
|
Return True if this class is a Pyomo component |
is_constructed()
|
Return True if this class has been constructed |
is_continuous()
|
Return True if all variables in the Port are continuous |
is_equality(name)
|
Return True if the rule for this port member is Port.Equality |
is_expression_type([expression_system])
|
Return True if this numeric value is an expression |
is_extensive(name)
|
Return True if the rule for this port member is Port.Extensive |
is_fixed()
|
Return True if all vars/expressions in the Port are fixed |
is_indexed()
|
Return true if this component is indexed |
is_integer()
|
Return True if all variables in the Port are integer |
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_potentially_variable()
|
Return True as ports may (should!) contain variables |
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([sort, ordered])
|
Return an iterator of (index,data) component data tuples |
iter_vars([expr_vars, fixed, names])
|
Iterate through every member of the port, going through the indices of indexed members. |
iteritems()
|
DEPRECATED. |
iterkeys()
|
DEPRECATED. |
itervalues()
|
DEPRECATED. |
keys([sort, ordered])
|
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. |
polynomial_degree()
|
Returns the maximum polynomial degree of all port members |
pprint([ostream, verbose, prefix, sort])
|
Print component information |
reconstruct([data])
|
REMOVED: reconstruct() was removed in Pyomo 6.0. |
remove(name)
|
Remove this member from the port |
root_block()
|
Return self.model() |
rule_for(name)
|
Return the rule associated with the given port member |
set_split_fraction(arc, val[, fix])
|
Set the split fraction value to be used for an arc during arc expansion when using Port.Extensive. |
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. |
sources([active])
|
A list of Arcs in which this Port is a destination |
to_dense_data()
|
TODO |
type()
|
DEPRECATED. |
unfix()
|
Unfix all variables in the port. |
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 |