Gradient Descent For Optimization Problem