Research Article

Enhanced Secure SWIPT in Heterogeneous Network via Intelligent Reflecting Surface

Algorithm 2

Proposed algorithm for solving problem (11a)–(11e).
Initialization: set and randomly construct reflection coefficients vector as , ;
(1) Repeat
(2) Solve (12a)–(12h) for given , according to Algorithm 1 and obtain the optimal , , ;
(3) Solve (20a)–(20j) for given , , and obtain the optimal , ;
(4) Updata ;
(5) Until the decreasing rate of the objective value is below the error or the iteration number meets .