https://123dok.net/document/dy43egvz-dirichlet-problems-hamilton-jacobi-equations-inequality-constraints.html