Research Article

Cloud Service Scheduling Algorithm Research and Optimization

Algorithm 2

CAO procedure.
Step  1. Initialization (configure parameters, initialize QOT, VCN, and initialize the initial position of
     all ants)
Step  2. While iteration t < maximum iterations do:
Calculate the next position of ants according to the equation (8).
     Calculate the fitness value of every candidate solution.
Update pheromone matrix according to equation (10).
Step  3. End while
Step  4. Select the optimal solution and return.