__init__ ([domain_type, domain, lb, ub, ...])
|
|
activate ()
|
Activate this object. |
clone ()
|
Returns a copy of this object with the parent pointer set to None . |
deactivate ()
|
Deactivate this object. |
fix ([value])
|
Fix the variable. |
free ()
|
Free the variable. |
getname ([fully_qualified, name_buffer, ...])
|
Dynamically generates a name for this object. |
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 |
is_binary ()
|
Returns True when the domain type is IntegerSet and the bounds are within [0,1]. |
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 type is RealSet . |
is_discrete ()
|
Returns True when the domain type is IntegerSet . |
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 numeric value is an indexed object |
is_integer ()
|
Returns True when the domain type is IntegerSet . |
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 ()
|
Returns False because this is not 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 object. |
polynomial_degree ()
|
Return the polynomial degree of this expression |
set_value (value[, skip_validation])
|
|
to_string ([verbose, labeler, smap, ...])
|
Return a string representation of the expression tree. |
unfix ()
|
Free the variable. |