Skip to main content
. 2022 Nov 27;22(23):9233. doi: 10.3390/s22239233
Algorithm 1: The BFGS Algorithm
  1: Having a starting point x0 and B0=In. Set the values for s,β, and σ.
  2: End if g(xk+1)<106.
  3: Calculate the search direction using Formula (7).
  4: Calculate the difference sk=xk+1xk and yk+gk+1gk.
  5: Update Bk by (3) in order to obtain Bk+1.
  6: k=k+1.
  7: Go to step 2.