Research Article

Joint Subchannel Pairing and Power Control for Cognitive Radio Networks with Amplify-and-Forward Relaying

Algorithm 2

Optimal solution to (5).
(1) Initiate the value of ,
(2) for   to the maximum number of iterations, do
(3) Calculate transmission power and by (18) and (19), respectively.
(4) Substitute and into in (13).
(5) Determine the optimal value of , by the Hungarian method.
(6) Update by (10).
(7) end for