Quadratic Programming Real Life Example