Turnpike Property for Generalized Linear-Quadratic Optimal Control Problem