has\_discrete\_variables ======================== (function from :py:mod:`pyomo.core.base.blockutil`) .. testsetup:: * # import everything from the module containing this class so that # doctests for the class docstrings see the correct environment from pyomo.core.base.blockutil import * try: from pyomo.core.base.blockutil import _autosummary_doctest_setup _autosummary_doctest_setup() except ImportError: pass .. currentmodule:: pyomo.core.base.blockutil .. autofunction:: pyomo.core.base.blockutil::has_discrete_variables