(1)
Initialization:
set the number of iterations
, the step size
, and the starting point
.
(2)
Main loop:
apply iteratively the following steps at each iteration
:
(a) Forward step of the FPS:
(b) Backward step of the FPS:
(3)
Stop
when
.
Algorithm 1