collect\_linear\_terms ====================== (function from :py:mod:`pyomo.duality.collect`) .. testsetup:: * # import everything from the module containing this class so that # doctests for the class docstrings see the correct environment from pyomo.duality.collect import * try: from pyomo.duality.collect import _autosummary_doctest_setup _autosummary_doctest_setup() except ImportError: pass .. currentmodule:: pyomo.duality.collect .. autofunction:: pyomo.duality.collect::collect_linear_terms