Text this: Quadratic programming and affine variational inequalities :