variable ======== (class from :py:mod:`pyomo.core.kernel.variable`) .. testsetup:: * # import everything from the module containing this class so that # doctests for the class docstrings see the correct environment from pyomo.core.kernel.variable import * try: from pyomo.core.kernel.variable import _autosummary_doctest_setup _autosummary_doctest_setup() except ImportError: pass .. currentmodule:: pyomo.core.kernel.variable .. autoclass:: pyomo.core.kernel.variable::variable :members: :show-inheritance: :inherited-members: .. automethod:: __init__ .. rubric:: Methods .. autosummary:: ~variable.__init__ ~variable.activate ~variable.clone ~variable.deactivate ~variable.fix ~variable.free ~variable.getname ~variable.has_lb ~variable.has_ub ~variable.is_binary ~variable.is_component_type ~variable.is_constant ~variable.is_continuous ~variable.is_discrete ~variable.is_expression_type ~variable.is_fixed ~variable.is_indexed ~variable.is_integer ~variable.is_logical_type ~variable.is_named_expression_type ~variable.is_numeric_type ~variable.is_parameter_type ~variable.is_potentially_variable ~variable.is_reference ~variable.is_relational ~variable.is_variable_type ~variable.polynomial_degree ~variable.set_value ~variable.to_string ~variable.unfix .. rubric:: Attributes .. autosummary:: ~variable.active ~variable.bounds ~variable.ctype ~variable.domain ~variable.domain_type ~variable.fixed ~variable.lb ~variable.local_name ~variable.lower ~variable.lslack ~variable.name ~variable.parent ~variable.slack ~variable.stale ~variable.storage_key ~variable.ub ~variable.upper ~variable.uslack ~variable.value .. rubric:: Member Documentation