Constrained Stochastic Gradient Descent for Large