An Efficient Computational Procedure for a Generalized Quadratic Programming Problem