Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Lagrange, Mayer, and Bolza Objectives

The objective defines what “good” means. CCD objectives may represent energy, ride quality, tracking error, power, structural load, cost, or combinations of goals.

Lagrange form

The Lagrange form accumulates a running cost:

J=t0tfL(x(t),u(t),xp,xc,t)dt.J=\int_{t_0}^{t_f}L(\mathbf{x}(t),\mathbf{u}(t),\mathbf{x}_p,\mathbf{x}_c,t)\,dt.

It is appropriate for total energy, integrated tracking error, mean-squared acceleration, or accumulated control effort. For example,

J=t0tf(q1x(t)2+q2x˙(t)2+ru(t)2)dt.J=\int_{t_0}^{t_f}\left(q_1x(t)^2+q_2\dot{x}(t)^2+ru(t)^2\right)dt.

Mayer form

The Mayer form depends only on terminal quantities:

J=Φ(x(tf),xp,xc,tf).J=\Phi(\mathbf{x}(t_f),\mathbf{x}_p,\mathbf{x}_c,t_f).

Examples include minimizing final error or final time and maximizing final stored energy:

J=(x(tf)xf)2.J=(x(t_f)-x_f)^2.

Bolza form

The Bolza form combines terminal and running terms:

J=Φ(x(tf),xp,xc,tf)+t0tfL(x(t),u(t),xp,xc,t)dt.J=\Phi(\mathbf{x}(t_f),\mathbf{x}_p,\mathbf{x}_c,t_f) +\int_{t_0}^{t_f}L(\mathbf{x}(t),\mathbf{u}(t),\mathbf{x}_p,\mathbf{x}_c,t)\,dt.
Three objective diagrams: an integral running cost, a terminal cost, and their combination.

Lagrange, Mayer, and Bolza objective forms.

The forms are closely related. Lagrange and Mayer problems are special cases of Bolza. A Bolza problem can also be rewritten in Mayer form by introducing an auxiliary state. Keeping the conceptual distinction makes engineering formulations easier to interpret.

A more general terminal term

Some CCD formulations let the terminal-cost term depend on the initial state as well as the final state,

J=M(x(t0),x(tf),xp,xc,t0,tf)+t0tfL(x(t),u(t),xp,xc,t)dt.J=\mathcal{M}(\mathbf{x}(t_0),\mathbf{x}(t_f),\mathbf{x}_p,\mathbf{x}_c,t_0,t_f) +\int_{t_0}^{t_f}L(\mathbf{x}(t),\mathbf{u}(t),\mathbf{x}_p,\mathbf{x}_c,t)\,dt.

This more general Mayer term M()\mathcal{M}(\cdot) is useful whenever performance depends on how the state has changed between endpoints rather than on the terminal state alone—for example, a periodicity requirement, or an objective that rewards net displacement over a maneuver. The Φ(x(tf),)\Phi(\mathbf{x}(t_f),\cdots) form used above is the common special case in which M()\mathcal{M}(\cdot) does not depend on x(t0)\mathbf{x}(t_0).

Activity 4.2: Conversion among Lagrange, Mayer, and Bolza Forms