Skip to main content
. 2023 Apr 6;8(2):149. doi: 10.3390/biomimetics8020149
Algorithm 1. Pseudocode of SABO.
Start SABO.
1. Input problem information: variables, objective function, and constraints.
2. Set SABO population size (N) and iterations (T).
3. Generate the initial search agents’ matrix at random using Equation (2). xi,dlbd+ri,d·(ubdlbd)
4. Evaluate the objective function.
5.   For t = 1 to T
6.     For i = 1 to N
7.    Calculate new proposed position for ith SABO search agent using Equation (5). xi,dnewXi+ri1Nj=1N(Xi  v Xj)
8.    Update ith GAO member using Equation (6). Xi{Xinew,  Finew<FiXi,  else
9.     end
10.   Save the best candidate solution so far.
11.   end
12. Output best quasi-optimal solution obtained with the SABO.
End SABO.