(function from pyomo.contrib.mpc.modeling.terminal)
pyomo.contrib.mpc.modeling.terminal
Returns an Expression penalizing the deviation of the specified variables at the final point in time from the specified target
variables (List) – List of time-indexed variables that will be penalized
time_set (Set) – Time set that indexes the provided variables. Penalties are applied at the last point in this set.
target_data (ScalarData) – ScalarData object containing the target for (at least) the variables to be penalized
weight_data (ScalarData (optional)) – ScalarData object containing the penalty weights for (at least) the variables to be penalized
variable_set (Set (optional)) – Set indexing the list of variables provided, if such a set already exists
Set indexing the list of variables provided and an Expression, indexed by this set, containing the weighted penalty expressions
Set, Expression