find\_nearest\_index ==================== (function from :py:mod:`pyomo.contrib.mpc.data.find_nearest_index`) .. testsetup:: * # import everything from the module containing this class so that # doctests for the class docstrings see the correct environment from pyomo.contrib.mpc.data.find_nearest_index import * try: from pyomo.contrib.mpc.data.find_nearest_index import _autosummary_doctest_setup _autosummary_doctest_setup() except ImportError: pass .. currentmodule:: pyomo.contrib.mpc.data.find_nearest_index .. autofunction:: pyomo.contrib.mpc.data.find_nearest_index::find_nearest_index