__init__(*args, **kwd)
|
|
add(index)
|
Add a variable with a particular index. |
as_binary()
|
|
as_numeric()
|
Return the binary variable associated with this Boolean variable. |
associate_binary_var(binary_var)
|
Associate a binary VarData to this BooleanVarData |
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])
|
Construct this component. |
dim()
|
Return the dimension of the index |
display([ostream, verbose, prefix])
|
|
equivalent_to(other)
|
Construct an EquivalenceExpression between this BooleanValue and its operand. |
extract_values([include_fixed_values])
|
Return a dictionary of index-value pairs. |
fix([value, skip_validation])
|
Set the fixed indicator to True. |
flag_as_stale()
|
Set the 'stale' attribute of every variable data object to True. |
free()
|
Alias for unfix() |
get_associated_binary()
|
Get the binary VarData associated with this BooleanVarData |
get_suffix_value(suffix_or_name[, default])
|
Get the suffix value for this component data |
get_units()
|
|
get_values([include_fixed_values])
|
Return a dictionary of index-value pairs. |
getname([fully_qualified, name_buffer, ...])
|
Return a string with the component name and index |
has_lb()
|
|
has_ub()
|
|
id_index_map()
|
Return an dictionary id->index for all ComponentData instances. |
implies(other)
|
Construct an ImplicationExpression using method "implies" |
index()
|
Returns the index of this ComponentData instance relative to the parent component index set. |
index_set()
|
Return the index set |
is_binary()
|
|
is_component_type()
|
Return True if this class is a Pyomo component |
is_constant()
|
Returns False because this is not a constant in an expression. |
is_constructed()
|
Return True if this class has been constructed |
is_continuous()
|
|
is_expression_type([expression_system])
|
Return True if this numeric value is an expression |
is_fixed()
|
Returns True if this variable is fixed, otherwise returns False. |
is_indexed()
|
Return true if this component is indexed |
is_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()
|
Boolean values are not numeric. |
is_parameter_type()
|
Return False unless this class is a parameter object |
is_potentially_variable()
|
Returns True because this is a variable. |
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()
|
Returns True because this is a variable. |
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 |
land(other)
|
Construct an AndExpression (Logical And) between this BooleanValue and other. |
lor(other)
|
Construct an OrExpression (Logical OR) between this BooleanValue and other. |
model()
|
Return the model of the component that owns this data. |
parent_block()
|
Return the parent of the component that owns this data. |
parent_component()
|
Returns the component associated with this object. |
polynomial_degree()
|
|
pprint([ostream, verbose, prefix, sort])
|
Print component information |
reconstruct([data])
|
REMOVED: reconstruct() was removed in Pyomo 6.0. |
root_block()
|
Return self.model() |
set_suffix_value(suffix_or_name, value[, expand])
|
Set the suffix value for this component data |
set_value(val[, skip_validation, ...])
|
Set the value of this numeric object, after validating its value. |
set_values(new_values[, skip_validation])
|
Set data values from a dictionary. |
setlb(arg)
|
|
setub(arg)
|
|
to_dense_data()
|
TODO |
to_string([verbose, labeler, smap, ...])
|
Return a string representation of the expression tree. |
type()
|
DEPRECATED. |
unfix()
|
Sets the fixed indicator to False. |
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 |
xor(other)
|
Construct an XorExpression using method "xor" |