| Algorithm: golden section algorithm of optimal relay power |
| 1. Initialize the remaining variables and constant terms , , , , , , . | 2. Determine tolerance , , , the initial interval is , where , . | 3. While : | 4. , , , . | 5. If , then , , , , , | 6. Else , , , , , | 7. End, . | 8. The optimal value is the optimal relay power that meets the maximum energy efficiency. |
|
|