Skip to main content
. 2022 Apr 20;22(9):3153. doi: 10.3390/s22093153
Algorithm 2 Hooke–Jeeves algorithm (pseudocode).
  • 1:

    Search the space around the current point xk along directions from the orthogonal base [d1,d2,,dn] with step τi (i=1,2,,n). This is an exploratory move.

  • 2:

    If a better point is found, continue in that direction. This is a pattern move.

  • 3:

    If no better point is found then narrow down the search space using the narrowing parameter β.