cost\_expressions ================= .. testsetup:: * # import everything from the module containing this class so that # doctests for the class docstrings see the correct environment from pyomo.contrib.mpc.modeling import * try: from pyomo.contrib.mpc.modeling import _autosummary_doctest_setup _autosummary_doctest_setup() except ImportError: pass .. currentmodule:: pyomo.contrib.mpc.modeling .. automodule:: pyomo.contrib.mpc.modeling.cost_expressions :undoc-members: .. rubric:: Functions .. autosummary:: :toctree: :template: recursive-base.rst get_penalty_from_constant_target get_penalty_from_piecewise_constant_target get_penalty_from_target get_penalty_from_time_varying_target get_quadratic_penalty_at_time