Text this: Polynomial algorithms for projecting a point onto a region defined by a linear constraint and box constraints in ℝn