Research Article
A Fair Resource Allocation Algorithm for Data and Energy Integrated Communication Networks
Algorithm 1
Optimal beamformer and EH probability obtaining algorithm.
| () set a large number and , where ; | | () loop | | () set , , generate a stochastic Rayleigh channel , ; | | () loop | | () ; | | () set ; | | () Given , obtain the optimal by quadratic problem; | | () Computing using (15); | | () if , is infeasible then | | () set , go to step (); | | () else | | () update using ellipsoid method; | | () if the stopping criteria of the ellipsoid method is not met then | | () go to step (); | | () end if | | () end if | | () set ; | | () if , where is a given error tolerance then | | () ; | | () break; | | () end if | | () end loop | | () if then | | () obtain energy harvesting probability ; | | () break; | | () end if | | () end loop |
|