Remarks on the Gradient-Projection Algorithm