Skip to main content
. 2022 Feb 20;24(2):300. doi: 10.3390/e24020300
Algorithm 2 SCA-based power optimization for D2D links during each iteration
  • 1:

    Initialize(ϕ,p,τe) with the output of Algorithm 1. Set the current iteration l=0 and the initial local point pl=p.

  • 2:

    while The improvement of the objective function in (27) is higher than a predefined threshold ϵ1 do.

  • 3:

        Solve Problem (27) for a given η using the interior point method and obtain the optimal solution pl*.

  • 4:

        Update η=RlbD(pl*)/Pcon,D(pl*).

  • 5:

        Set pl+1=pl* and update l=l+1.

  • 6:

    Output the optimal power strategy pl* and (ϕ,τe) to the next block.