Algorithm 1. Iterative Subcarrier and Power Allocation

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

Initialize pi, qi

procedure ITERATION

repeat

μi = 0 and δi = 0

for k = 1 : M do

repeat

Calculate qi according to (14);

until qi reaches the QoE of user i;

end for

Update, ki according to(10) and (13);

Update pi, qi, Which are used in the next

iteration;

until Convergence;

end procedure