Skip to main content
. 2022 Aug 23;14(17):3439. doi: 10.3390/polym14173439
Algorithm A1. Identifying acceleration factors using an artificial bee colony algorithm.
1: Read the n experimental data values of tij,Pij. Then, store them in the matrix;
2: Initialize related parameters of ABC algorithm: itermax (maximum number of iterations), Limit (maximum number of iterations before abandoning the solution), d (parameter number), N (initial solution number);
3: Initialize the solution vector using Equation (12);
4: Evaluate the fitness value of the initial solution using Equation (14);
5: Set cycle to 1;
6: Repeat;
7: For each employed bee:
  {
  Produce new solution vi by Equation (13);
  Calculate the value fiti by Equation (14);
  Apply greedy selection process.
  }
8: Calculate the probability values P(xi) for the produced solutions by Equation (15);
9: For each onlooker bee:
  {
  Select a solution I depending on Pxi;
  Repeat step (7).
  }
10: If a candidate solution does not change in more than Limit iterations, then replace it with a new random solution produced by a scout bee using Equation (16);