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