SMS dit: quadratic programing algorithms and applications /