Research Article
A Fair Resource Allocation Algorithm for Data and Energy Integrated Communication Networks
Algorithm 2
Optimal time allocation algorithm.
| () set , ; | | () loop | | () ; | | () set ; | | () Given , obtain the optimal according to the golden section search method; | | () Computing ; | | () if then | | () is infeasible, 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 | | () The corresponding is the optimal duration; | | () break; | | () end if | | () end loop |
|