| Algorithm 1. IACO algorithm |
| Set parameters: (number of all ants), (number of iteration), , , , Input: , Output: best tasks path list Initialize heuristic information and pheromone matrices. 1. for do 2. for do 3. for do 4. Calculate the utility between users and tasks; 5. Calculate selection probability; 6. if 7. Select next task with the greatest utility 8. else 9. Select next task by roulette; 10. end if 11. Add the selected task into taboo list; 12. Leave the pheromone 13. end for 14. end for 15. end for 16. return taboo list |