|
Algorithm 1. Maximum Weighted Ergodic Energy Efficiency (MWEEE) Algorithm |
|
Input:
|
|
Output:
|
| 1: Initialize: the number of iteration , the , the threshold ,
, the approximation coefficient , maximum number of iterations , the learning rate , the lagrange multiplier . |
| 2: Obtain with the given initialized parameters according to P5. |
| 3:
|
| 4:
|
| 5: while
(i-th iteration) do
|
| 6: while
(j-th iteration) do
|
| 7:
|
| 8:
|
| 9:
|
| 10. , obtain with the and then obtain
|
| 11:
|
| 12: end while
|
| 13:
|
| 14: Obtain according to the formula (4). |
| 15: Obtain according to P5. |
| 16:
|
| 17:
|
| 18: end while
|
| 19: Output as . |
| 20: Compute the with the , . |
| 21: for
to K
do
|
| 22: for
to M
do
|
| 23: Substitute into formula (26) and formula (28) to obtain and respectively. |
| 24: end for
|
| 25: Obtain according to formula (22). |
| 26: end for
|
| 27: Compute according to formula (8). |
| 28: Output , . |