Research Article

Coordinated Precoding for D2D Communications Underlay Uplink MIMO Cellular Networks

Algorithm 2

Distributed precoding algorithm for solving problem (P1).
(1) initially set , , , , , , , , and .
(2) repeat
(3) compute , with , and compute , with .
(4) for  
(5)  compute by solving problem (P4.2) with CVX solver [22].
(6) end for
(7) compute
(8) if  
(9) .
(10)  elseif  
(11)   .
(12)  endif
(13)  update , and update with .
(14)  compute according to (4).
(15) until the termination criteria is satisfied.
(16) return   and .