terminalcost

Class property.

objective.terminalcost

Terminal cost \(F(t,x)\).

The return value of this attribute depends on how the objective is initialized. If it is initialized as a quadratic objective by LQP() the array defining the terminal cost is returned. If the obejctive is initalized by possibly nonlinear callable functions the function defining the terminal cost is returned. Note, that even if autonomous is True the returned function depends on the time \(t\) and always has the form \(\ell(t,x,u)\).

Type:

callable or array