__init__([component])
|
|
clear()
|
|
clear_suffix_value(suffix_or_name[, expand])
|
Set the suffix value for this component data |
cname(*args, **kwds)
|
DEPRECATED. |
copy(src)
|
|
fix([value, skip_validation])
|
Fix the value of this variable (treat as nonvariable) |
free()
|
Alias for unfix() |
get_suffix_value(suffix_or_name[, default])
|
Get the suffix value for this component data |
get_units()
|
Return the units for this variable entry. |
getname([fully_qualified, name_buffer, ...])
|
Return a string with the component name and index |
has_lb()
|
Returns False when the lower bound is None or negative infinity |
has_ub()
|
Returns False when the upper bound is None or positive infinity |
index()
|
Returns the index of this ComponentData instance relative to the parent component index set. |
is_binary()
|
Returns True when the domain is restricted to Binary values. |
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_continuous()
|
Returns True when the domain is a continuous real range |
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()
|
Returns True when the domain is a contiguous integer range. |
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()
|
Returns True because this is a variable. |
is_reference()
|
Return True if this object is a reference. |
is_relational()
|
DEPRECATED. |
is_variable_type()
|
Returns True because this is a variable. |
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()
|
Return the polynomial degree of the expression. |
pprint([ostream, verbose, prefix, sort])
|
Print component information |
set_suffix_value(suffix_or_name, value[, expand])
|
Set the suffix value for this component data |
set_value(val[, skip_validation])
|
Set the current variable value. |
setlb(val)
|
Set the lower bound for this variable after validating that the value is fixed (or None). |
setub(val)
|
Set the upper bound for this variable after validating that the value is fixed (or None). |
to_string([verbose, labeler, smap, ...])
|
Return a string representation of the expression tree. |
type()
|
DEPRECATED. |
unfix()
|
Unfix this variable (treat as variable in solver interfaces) |