Algorithms for linear-quadratic optimization. (2020)