(1)Procedure Global Lyapunov Optimization
(2)  Initialize
(3)  Set
(4)  Set ,
(5)  for do
(6)    Greedily choose consumption vector to minimize Equation (23).
(7)    Convergence checking:
(8)    for do
(9)      Calculate
(10)    If then
(11)      
(12)    else
(13)      
(14)    If then
(15)      
(16)    else
(17)      
(18)    If then
(19)      
(20)    else
(21)      
(22)    If then
(23)      
(24)    else
(25)      
(26)    If then
(27)      
(28)    else
(29)      
(30)    If then
(31)      
(32)      
(33)    else
(34)      
(35)      
(36)    If then
(37)      
(38)      
(39)      
(40)      
(41)      
(42)    else
(43)      
(44)      
(45)      
(46)      
(47)      
Algorithm 1: Green data center network optimization.