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