Lably
Skip to content

Value function

  • 2 min read
  • 1 chapters

Related on Lably

Through Optimization problem, Loss function and Parameter

In a problem of optimal control, the value function is defined as the supremum of the objective function taken over the set of admissible controls. Given (t0,x0)∈[0,t1]×Rd, a typical optimal control problem is to

maximizeJ(t0,x0;u)=∫t0t1I(t,x(t),u(t))dt+ϕ(x(t1))

subject to

dx(t)dt=f(t,x(t),u(t))

with initial state variable x(t0)=x0. The objective function J(t0,x0;u) is to be maximized over all admissible controls u∈U[t0,t1], where u is a Lebesgue measurable function from [t0,t1] to some prescribed arbitrary set in Rm. The value function is then defined as

V(t,x(t))=maxu∈U∫tt1I(τ,x(τ),u(τ))dτ+ϕ(x(t1))

with V(t1,x(t1))=ϕ(x(t1)), where ϕ(x(t1)) is the "scrap value". If the optimal pair of control and state trajectories is (x∗,u∗), then V(t0,x0)=J(t0,x0;u∗). The function h that gives the optimal control u∗ based on the current state x is called a feedback control policy, or simply a policy function.

Bellman's principle of optimality roughly states that any optimal policy at time t, t0≤t≤t1 taking the current state x(t) as "new" initial condition must be optimal for the remaining problem. If the value function happens to be continuously differentiable, this gives rise to an important partial differential equation known as Hamilton–Jacobi–Bellman equation,

−∂V(t,x)∂t=maxu{I(t,x,u)+∂V(t,x)∂xf(t,x,u)}

where the maximand on the right-hand side can also be re-written as the Hamiltonian, H(t,x,u,λ)=I(t,x,u)+λ(t)f(t,x,u), as

−∂V(t,x)∂t=maxuH(t,x,u,λ)

with ∂V(t,x)/∂x=λ(t) playing the role of the costate variables. Given this definition, we further have dλ(t)/dt=∂2V(t,x)/∂x∂t+∂2V(t,x)/∂x2⋅f(x), and after differentiating both sides of the HJB equation with respect to x,

−∂2V(t,x)∂t∂x=∂I∂x+∂2V(t,x)∂x2f(x)+∂V(t,x)∂x∂f(x)∂x

which after replacing the appropriate terms recovers the costate equation

−λ˙(t)=∂I∂x+λ(t)∂f(x)∂x⏟=∂H∂x

where λ˙(t) is Newton notation for the derivative with respect to time.

The value function is the unique viscosity solution to the Hamilton–Jacobi–Bellman equation. In an online closed-loop approximate optimal control, the value function is also a Lyapunov function that establishes global asymptotic stability of the closed-loop system.

More in Economics