| Algorithm 1 Pseudocode of ACO algorithm. |
| 1: Initialization part. |
| 2: Configuration of ACO algorithm parameters. |
| 3: Initialization of starting population in a random way. |
| 4: Calculation value of the fitness function F for all pheromone spots and sorting them according to their rank (quality). |
| 5: Iterative part. |
| 6: for do |
| 7: Assignment of probability to pheromone spots according to the Equation (10). |
| 8: for do |
| 9: The ant chooses the k-th () solution with probability . |
| 10: for do |
| 11: Using the probability density function (12) in the sampling process, the ant changes the j-th coordinate of the k-th solution. |
| 12: end for |
| 13: end for |
| 14: Calculation the value of the fitness function F for M new solutions. |
| 15: Adding M new solutions to the set of archive of old, sorting the archive by quality and then rejection of the M worst solutions. |
| 16: end for |
| 17: return best solution . |