Gradient descent algorithm

  1. For $t=0$, start from an initial point $x_0$.

  2. Repeat until some criterion is satisfied: at some $t$,

    1. Choose a descent direction $\v v_t$ such that $\nabla f(x_t)^T \v v_t < 0$.

    2. Choose a step size $\epsilon_t$.

    3. Update $x_{t+1} = x_t + \epsilon_t v_t$.