Research Article

Energy Efficiency Maximized Resource Allocation for Opportunistic Relay-Aided OFDMA Downlink with Subcarrier Pairing

Algorithm 2

The algorithm to solve (P2).
  ;
  solve (P3) for   using Algorithm 3;
  if   is feasible for (P2)   then
  output   as  
  else
  ; is set as a sufficiently large value;
  while    do
  ;
  solve (P3) for   using Algorithm 3;
  if    then
  ;
  else if    then
  ;
  else if   then
  break;
  end if
  end while
  end if
  Output   as  .