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.

Equality Path Constraints in Optimal Control

This section introduces path constraints in optimal control and develops the necessary conditions for equality path constraints. It begins by interpreting the system dynamics themselves as path constraints, then distinguishes differential, algebraic, control, and state constraints. The augmented cost functional and augmented Hamiltonian are introduced, followed by the necessary conditions for control-only, state-only, and mixed state–control equality path constraints.

What Is a Path Constraint?

A path constraint is a condition that must hold pointwise along the trajectory. The familiar dynamics

x˙(t)=f(x(t),u(t),t)\dot{\boldsymbol{x}}(t)=\boldsymbol{f}(\boldsymbol{x}(t),\boldsymbol{u}(t),t)

can be rewritten as

f(x,u,t)x˙=0.\boxed{ \boldsymbol{f}(\boldsymbol{x},\boldsymbol{u},t)-\dot{\boldsymbol{x}}=\boldsymbol{0}. }

Thus, the dynamics themselves are equality path constraints because they must hold at every time.

Differential Forms and Differential Inclusions

A more general differential constraint may be written as

ψ(x,x˙,u,t)=0.\boxed{ \boldsymbol{\psi}(\boldsymbol{x},\dot{\boldsymbol{x}},\boldsymbol{u},t)=\boldsymbol{0}. }

This is called a differential form because the derivative need not be explicitly isolated.

The inequality generalization is

ψminψ(x,x˙,u,t)ψmax,\boxed{ \boldsymbol{\psi}_{\min} \leq \boldsymbol{\psi}(\boldsymbol{x},\dot{\boldsymbol{x}},\boldsymbol{u},t) \leq \boldsymbol{\psi}_{\max}, }

which is a differential inclusion.

In classical optimal-control theory, the state rates are usually handled through explicit first-order dynamics, while additional constraints are treated as algebraic path constraints.

Algebraic Path Constraints

An algebraic path constraint does not explicitly involve x˙\dot{\boldsymbol{x}}. Typical forms are:

c(u,t)=0,c(x,t)=0,c(x,u,t)=0,\begin{aligned} \boldsymbol{c}(\boldsymbol{u},t)&=\boldsymbol{0},\\ \boldsymbol{c}(\boldsymbol{x},t)&=\boldsymbol{0},\\ \boldsymbol{c}(\boldsymbol{x},\boldsymbol{u},t)&=\boldsymbol{0}, \end{aligned}

for equality constraints, or corresponding inequalities.

Original Augmented Cost Functional

Consider a Bolza problem with endpoint constraints. The standard augmented functional is

JA=Φ(x(t0),t0,x(tf),tf)νTϕ(x(t0),t0,x(tf),tf)+t0tf[L(x,u,t)+λT(f(x,u,t)x˙)]dt.\begin{aligned} J_A ={}& \Phi(\boldsymbol{x}(t_0),t_0,\boldsymbol{x}(t_f),t_f) - \boldsymbol{\nu}^{\mathsf{T}} \boldsymbol{\phi}(\boldsymbol{x}(t_0),t_0,\boldsymbol{x}(t_f),t_f) \nonumber\\ &+ \int_{t_0}^{t_f} \left[ L(\boldsymbol{x},\boldsymbol{u},t) + \boldsymbol{\lambda}^{\mathsf{T}} \left( \boldsymbol{f}(\boldsymbol{x},\boldsymbol{u},t)-\dot{\boldsymbol{x}} \right) \right]\,\mathrm{d} t. \end{aligned}

At any feasible solution, the added constraint terms vanish. Therefore, the original and augmented costs agree.

Control Equality Path Constraints

Consider

c(u,t)=0,\boxed{ \boldsymbol{c}(\boldsymbol{u},t)=\boldsymbol{0}, }

with

c:Rnu×RRp.\boldsymbol{c}:\mathbb{R}^{n_u}\times\mathbb{R}\rightarrow\mathbb{R}^{p}.

Introduce a time-varying multiplier

μ(t)Rp.\boldsymbol{\mu}(t)\in\mathbb{R}^p.

The augmented functional becomes

JA=ΦνTϕ+t0tf[L+λT(fx˙)μTc]dt.\begin{aligned} J_A ={}& \Phi - \boldsymbol{\nu}^{\mathsf{T}}\boldsymbol{\phi} \nonumber\\ &+ \int_{t_0}^{t_f} \left[ L + \boldsymbol{\lambda}^{\mathsf{T}}(\boldsymbol{f}-\dot{\boldsymbol{x}}) - \boldsymbol{\mu}^{\mathsf{T}}\boldsymbol{c} \right]\,\mathrm{d} t. \end{aligned}

Augmented Hamiltonian

Define the ordinary Hamiltonian

H(x,u,λ,t)=L(x,u,t)+λTf(x,u,t).\mathcal{H}(\boldsymbol{x},\boldsymbol{u},\boldsymbol{\lambda},t) = L(\boldsymbol{x},\boldsymbol{u},t) + \boldsymbol{\lambda}^{\mathsf{T}}\boldsymbol{f}(\boldsymbol{x},\boldsymbol{u},t).

The augmented Hamiltonian is

HA=HμTc.\boxed{ \mathcal{H}_A = \mathcal{H} - \boldsymbol{\mu}^{\mathsf{T}}\boldsymbol{c}. }

The necessary conditions have the same structure as before, but with HA\mathcal{H}_A replacing H\mathcal{H}.

Necessary Conditions for Control Equality Constraints

The state equation remains

x˙=HAλ=f(x,u,t).\dot{\boldsymbol{x}} = \frac{\partial \mathcal{H}_A}{\partial \boldsymbol{\lambda}} = \boldsymbol{f}(\boldsymbol{x},\boldsymbol{u},t).

Because c\boldsymbol{c} does not depend on x\boldsymbol{x},

HAx=Hx.\frac{\partial \mathcal{H}_A}{\partial \boldsymbol{x}} = \frac{\partial \mathcal{H}}{\partial \boldsymbol{x}}.

Therefore,

λ˙=Hx.\boxed{ \dot{\boldsymbol{\lambda}} = - \frac{\partial \mathcal{H}}{\partial \boldsymbol{x}}. }

The stationarity condition changes:

HAu=Hu(cu)Tμ=0.\boxed{ \frac{\partial \mathcal{H}_A}{\partial \boldsymbol{u}} = \frac{\partial \mathcal{H}}{\partial \boldsymbol{u}} - \left( \frac{\partial \boldsymbol{c}}{\partial \boldsymbol{u}} \right)^{\mathsf{T}}\boldsymbol{\mu} = \boldsymbol{0}. }

The path constraint itself must also hold:

c(u,t)=0.\boxed{ \boldsymbol{c}(\boldsymbol{u},t)=\boldsymbol{0}. }

Thus, the unknown multiplier μ(t)\boldsymbol{\mu}(t) is determined together with the control through a coupled algebraic system.

Differential-Algebraic Structure

For a control equality constraint, the optimality system includes:

  1. state differential equations;

  2. costate differential equations;

  3. stationarity equations;

  4. algebraic path constraints;

  5. endpoint constraints and transversality conditions.

The result is generally a differential-algebraic boundary-value problem.

State Equality Path Constraints

Now consider

c(x,t)=0.\boxed{ \boldsymbol{c}(\boldsymbol{x},t)=\boldsymbol{0}. }

The augmented Hamiltonian remains

HA=HμTc.\mathcal{H}_A = \mathcal{H} - \boldsymbol{\mu}^{\mathsf{T}}\boldsymbol{c}.

The costate equation becomes

λ˙=HAx=Hx+(cx)Tμ.\boxed{ \dot{\boldsymbol{\lambda}} = - \frac{\partial \mathcal{H}_A}{\partial \boldsymbol{x}} = - \frac{\partial \mathcal{H}}{\partial \boldsymbol{x}} + \left( \frac{\partial \boldsymbol{c}}{\partial \boldsymbol{x}} \right)^{\mathsf{T}}\boldsymbol{\mu}. }

However, because c\boldsymbol{c} does not explicitly depend on u\boldsymbol{u},

HAu=Hu.\frac{\partial \mathcal{H}_A}{\partial \boldsymbol{u}} = \frac{\partial \mathcal{H}}{\partial \boldsymbol{u}}.

Therefore, the original stationarity condition contains no explicit information about the effect of the state constraint on the control.

Constraint Order

To expose the control, differentiate the state constraint with respect to time.

Starting from

c(x,t)=0,\boldsymbol{c}(\boldsymbol{x},t)=\boldsymbol{0},

differentiate:

ddtc(x,t)=cxx˙+ct=0.\frac{\,\mathrm{d}}{\,\mathrm{d} t}\boldsymbol{c}(\boldsymbol{x},t) = \frac{\partial \boldsymbol{c}}{\partial \boldsymbol{x}}\dot{\boldsymbol{x}} + \frac{\partial \boldsymbol{c}}{\partial t} = \boldsymbol{0}.

Substitute the dynamics:

c(1)=cxf(x,u,t)+ct=0.\boldsymbol{c}^{(1)} = \frac{\partial \boldsymbol{c}}{\partial \boldsymbol{x}} \boldsymbol{f}(\boldsymbol{x},\boldsymbol{u},t) + \frac{\partial \boldsymbol{c}}{\partial t} = \boldsymbol{0}.

If the control still does not appear explicitly, differentiate again. Continue until the control appears.

Symbolically,

c(0)(x,t)=0,c(1)(x,t)=0,c(q1)(x,t)=0,c(q)(x,u,t)=0.\begin{aligned} \boldsymbol{c}^{(0)}(\boldsymbol{x},t)&=\boldsymbol{0},\\ \boldsymbol{c}^{(1)}(\boldsymbol{x},t)&=\boldsymbol{0},\\ &\vdots\\ \boldsymbol{c}^{(q-1)}(\boldsymbol{x},t)&=\boldsymbol{0},\\ \boldsymbol{c}^{(q)}(\boldsymbol{x},\boldsymbol{u},t)&=\boldsymbol{0}. \end{aligned}

The final relation is control dependent and can be used in the stationarity system.

Why All Lower-Order Conditions Matter

It is not sufficient to enforce only the highest derivative condition. If

c(q)=0,\boldsymbol{c}^{(q)}=\boldsymbol{0},

then integration introduces constants. Therefore, the original condition and all lower derivatives must also be satisfied:

c(j)=0,j=0,,q.\boxed{ \boldsymbol{c}^{(j)}=\boldsymbol{0}, \qquad j=0,\ldots,q. }

Mixed State–Control Equality Constraints

For

c(x,u,t)=0,\boxed{ \boldsymbol{c}(\boldsymbol{x},\boldsymbol{u},t)=\boldsymbol{0}, }

the augmented Hamiltonian is again

HA=HμTc.\mathcal{H}_A = \mathcal{H}-\boldsymbol{\mu}^{\mathsf{T}}\boldsymbol{c}.

The costate equation is

λ˙=Hx+(cx)Tμ.\boxed{ \dot{\boldsymbol{\lambda}} = - \frac{\partial \mathcal{H}}{\partial \boldsymbol{x}} + \left( \frac{\partial \boldsymbol{c}}{\partial \boldsymbol{x}} \right)^{\mathsf{T}}\boldsymbol{\mu}. }

The stationarity condition is

Hu(cu)Tμ=0.\boxed{ \frac{\partial \mathcal{H}}{\partial \boldsymbol{u}} - \left( \frac{\partial \boldsymbol{c}}{\partial \boldsymbol{u}} \right)^{\mathsf{T}}\boldsymbol{\mu} = \boldsymbol{0}. }

The algebraic constraint must also hold:

c(x,u,t)=0.\boxed{ \boldsymbol{c}(\boldsymbol{x},\boldsymbol{u},t)=\boldsymbol{0}. }

Summary

  1. The dynamics are equality path constraints.

  2. Differential forms generalize explicit state equations.

  3. Differential inclusions generalize differential equalities to inequalities.

  4. Algebraic path constraints are imposed pointwise along the trajectory.

  5. Equality path constraints introduce time-varying Lagrange multipliers.

  6. The augmented Hamiltonian is

HA=HμTc.\mathcal{H}_A=\mathcal{H}-\boldsymbol{\mu}^{\mathsf{T}}\boldsymbol{c}.
  1. A control equality constraint modifies stationarity but not the costate equation.

  2. A state equality constraint modifies the costate equation but initially provides no direct control relation.

  3. State constraints must be differentiated until the control appears.

  4. Equality path constraints lead naturally to differential-algebraic optimality systems.

Connection. Equality constraints establish the multiplier framework; inequalities add activity decisions, complementary slackness, and junction behavior.