Skip to main content
. 2024 Oct 1;24(19):6375. doi: 10.3390/s24196375
Algorithm 1 Alternating Direction Method of Multipliers
Input: ξ, η, P κ
Output: Channel allocation u; Power allocation p
 Initialization: Initialize p(0), u(0); α and β randomly, let t=0;
repeat
  t=t+1;
  With p(t), u(t) and w(t), update u(t+1) by solving (21);
  With p(t), u(t) and u(t+1), update w(t+1) by solving (19);
  With u(t+1), u(t) and w(t+1), update p(t+1) by solving (21);
  With u(t+1), p(t+1) and w(t+1), update ν(t+1) by solving (20);
until Convergence