cost_expressions

Functions

get_penalty_from_constant_target(variables, ...)

This function returns a tracking cost IndexedExpression for the given time-indexed variables and associated setpoint data.

get_penalty_from_piecewise_constant_target(...)

Returns an IndexedExpression penalizing deviation between the specified variables and piecewise constant target data.

get_penalty_from_target(variables, time, ...)

A function to get a penalty expression for specified variables from a target that is constant, piecewise constant, or time-varying.

get_penalty_from_time_varying_target(...[, ...])

Constructs a penalty expression for the specified variables and specified time-varying target data.

get_quadratic_penalty_at_time(var, t, setpoint)