Text this: Algorithms for linear-quadratic optimization