Initialize the parameters of MACO |
Randomly initialize the solutions for all the ants |
While current number of iterations < Max iteration |
For each ant in the population |
For each stem |
Decide whether to select current stem according to (7) |
End for |
Evaluate the solution according to the energy. |
End for |
For each stem in the set |
Update the pheromones according to (8) and (9) |
End for |
End while |