Quadratic Programming With Computer Programs