6 Second order HJB equations and SL scheme

The problem solved is the following second order Hamilton-Jacobi (HJ) equation

∂u
∂t-+ λ (x )u +                                                            (23a)
    (                                                                )
max   - 1Tr(σ(t,x,a)σT(t,x,a)D2u )- b(t,x,a)⋅∇u  + r(t,x,a)u - ℓ(t,x,a ) =  0
a∈A     2
    t ∈ (0,T ), x ∈ ℝd,
                        d
u(0,x) = u0(x),    x ∈ ℝ                                                (23b)
\relax \special {t4ht=

where A is some non empty compact subset of m (m 1), b(t,x,a) is a vector of d, r(t,x,a), (t,x,a), are real-valued, and σ(t,x,a) is a d × p real matrix (for some p 1). This problem is linked to the computation of the value function of stochastic optimal control problems.

It is also possible to consider a corresponding steady equation of the form (9a), that is, equation (23a) alone with no term

∂u
---.
∂t
\relax \special {t4ht=

It is also possible to consider obstacle equations as for (15), (16) or (17).

The c++ proposed solver is based on an SL method (FD not programmed for this case). 2

Scheme definition: we consider the following SL scheme, implemented on the points x of the grid G. The initialization is done by

v0(x) = u0 (x ), x ∈ G.
\relax \special {t4ht=

For n = 0,NT -1 (time iterations) (or untill some stopping criteria is satisfied in the case of steady equations), for all grid points x G, we consider

                         (                                        )
 n+1           e-r(t,x,a)Δt {  1  ∑    ∑    n   k,ϵ,u                  }
v   (x) := mai∈nA 1-+-λ(x)Δt-( 2p         [v ](yx  (Δt)) + Δt ℓ(t,x,a ))  .    (24)
                              1≤k≤pϵ=±1
\relax \special {t4ht=

where the "characteristics" yx(h) can be defined, at iteration t = tn, for some h 0, for instance by:

yk,ϵ,a(h) := x + Bk (t,x,a)h + ϵΣk(t,x,a)√h,  ϵ ∈ {- 1,1}, k = 1,...,p.    (25)
 x
\relax \special {t4ht=

Also, [vn](y) denotes some interpolation of vn at point y (typically Q1). When using the definition (25), the scheme is of expected order

            ϵ
O (Δt)+ O (---)
           Δt
\relax \special {t4ht=

where ϵ is of the order of the interpolation error vn -[vn]. For smooth data, this interpolation error is or order Δx2 for Q1 interpolation, where Δx is the spatial mesh size.

An example of data file is given in data/data_SL_order2_2d_diffusion.h.

User inputs: