|
Algorithm 2 Joint Optimization Algorithm for Maximizing Energy Efficiency |
-
1:
Initialize variables , , , and . Set the minimum error value . Let the number of iterations , update rate , and update factor .
-
2:
Given conditions, use the continuous convex optimization approximation algorithm to solve problem (P2), obtain optimal solutions , , , and let , , .
-
3:
Given , , and , Algorithm 1 is used to solve problem (P3), obtain the optimized relay UAV trajectory , and let .
-
4:
Update the number of iterations , .
-
5:
Calculate the increment of the target value . If , then the algorithm converges and ends. Otherwise, continue with steps 2–4.
-
6:
Output the optimized solution , , , , and the maximum secret energy efficiency.
|