An Iterative Procedure for Computing the Minimum of a Quadratic Form on a Convex Set