Algorithm 1. Iterative Subcarrier and Power Allocation

Input the QoE of user _{i} according to (4);

Initialize p_{i}, q_{i}

procedure ITERATION

repeat

μ_{i} = 0 and δ_{i} = 0

for k = 1 : M do

Calculate q_{i} according to (14);

until q_{i }reaches the QoE of user i;

end for

Update, k_{i} according to(10) and (13);

Update p_{i}, q_{i}, Which are used in the next

iteration;

until Convergence;

end procedure