Research Article

Joint Optimization of Energy Conservation and Migration Cost for Complex Systems in Edge Computing

Algorithm 4

Balanced resource scheduling method BRSM.
Input:
Output:
1:
2: While do
3:  Update the running mobile service collection
4:  for
5:    Obtain by Algorithm 1
6:  end for
7:   i = 1
8:  While do
9:    Conduct crossover and mutation
10:   for the solutions in
11:     Calculate fitness values
12:   end for
13:    Conduct selection by Algorithm 3
14:    i = i+1
15:  end while
16:  for
17:    Calculate utility values by formulas (26)–(28)
18:  end for
19:   Sort the solutions according to the utility values
20:   Select the optimal strategy by formula (29)
21:  Update by Algorithm 2
22: end while
23: return