12.6 Methods for Solving Linear-Quadratic Problems