Skip to main content
. 2019 Jun 13;19(12):2664. doi: 10.3390/s19122664
Algorithm 1 Power control algorithm.
  • 1:

    Input: hkjq, ϑkj, Prkj, λkjt, τkjt, ηit, ρqt, k=1N,ki, q=1N,qk, j=1m, i=1N

  • 2:

    Output: optimal interference prices, transmission power

  • 3:

    Initialization: ρqt=0.5, λkjt=τkjt=ηit=10

  • 4:

    Compute the ρit+1, λijt+1, τijt+1 and ηit+1 according to Formulas (18)–(21)

  • 5:

    Whilei, |ρit+1ρit|>ε, do

  • 6:

    ρit=ρit+1

  • 7:

    λijt=λijt+1

  • 8:

    τijt=τijt+1

  • 9:

    ηit=ηit+1

  • 10:

    Update ρit+1, λijt+1, τijt+1, ηit+1 according to Formulas (18)–(21)

  • 11:

    end

  • 12:

    ρit+1,i is the optimal interference prices, and compute the transmission power based on Formula (9)