block ===== (class from :py:mod:`pyomo.core.kernel.block`) .. testsetup:: * # import everything from the module containing this class so that # doctests for the class docstrings see the correct environment from pyomo.core.kernel.block import * try: from pyomo.core.kernel.block import _autosummary_doctest_setup _autosummary_doctest_setup() except ImportError: pass .. currentmodule:: pyomo.core.kernel.block .. autoclass:: pyomo.core.kernel.block::block :members: :show-inheritance: :inherited-members: .. automethod:: __init__ .. rubric:: Methods .. autosummary:: ~block.__init__ ~block.activate ~block.block_data_objects ~block.child ~block.child_ctypes ~block.children ~block.clone ~block.collect_ctypes ~block.component_data_objects ~block.component_objects ~block.components ~block.deactivate ~block.getname ~block.load_solution ~block.valid_problem_types ~block.write .. rubric:: Attributes .. autosummary:: ~block.active ~block.ctype ~block.local_name ~block.name ~block.parent ~block.storage_key .. rubric:: Member Documentation