Var === (class from :py:mod:`pyomo.core.base.var`) .. testsetup:: * # import everything from the module containing this class so that # doctests for the class docstrings see the correct environment from pyomo.core.base.var import * try: from pyomo.core.base.var import _autosummary_doctest_setup _autosummary_doctest_setup() except ImportError: pass .. currentmodule:: pyomo.core.base.var .. autoclass:: pyomo.core.base.var::Var :members: :show-inheritance: :inherited-members: .. automethod:: __init__ .. rubric:: Methods .. autosummary:: ~Var.__init__ ~Var.add ~Var.clear ~Var.clear_suffix_value ~Var.cname ~Var.construct ~Var.dim ~Var.display ~Var.extract_values ~Var.flag_as_stale ~Var.get_suffix_value ~Var.get_units ~Var.get_values ~Var.getname ~Var.id_index_map ~Var.index_set ~Var.is_component_type ~Var.is_constructed ~Var.is_expression_type ~Var.is_indexed ~Var.is_logical_type ~Var.is_named_expression_type ~Var.is_numeric_type ~Var.is_parameter_type ~Var.is_reference ~Var.is_variable_type ~Var.items ~Var.iteritems ~Var.iterkeys ~Var.itervalues ~Var.keys ~Var.model ~Var.parent_block ~Var.parent_component ~Var.pprint ~Var.reconstruct ~Var.root_block ~Var.set_suffix_value ~Var.set_value ~Var.set_values ~Var.to_dense_data ~Var.type ~Var.valid_model_component ~Var.values .. rubric:: Attributes .. autosummary:: ~Var.active ~Var.ctype ~Var.local_name ~Var.name .. rubric:: Member Documentation