Is it true that standard gradient descent algorithm (be it batch or mini batch or stochastic) cannot be used when we have certain constraint on parameters? If yes, why is it so? Is it because gradient descent just determines gradient of the cost function with respect to the parameter, changes parameter value based on it, and hence has no mechanism to handle the constraints?
Could anyone please help me understand this concept?