Applications of optimal control and differential games Geometry and constraints mathematics