Research Article

Energy Efficient Design for OFDM-Based Underlay Cognitive Radio Networks

Algorithm 2

Exact power allocation algorithm (EPAA) for Problem P4.
Step  1. Initialization, , ,
, .
Step  2. Using the similar way to (15), we can obtain the
optimal unconstrained water level as
, where
, ,
and .
Step  3. Select, .
Step  4. Remove and update, if , then
, ,
and goto Step  2; else goto Step  5.
Step  5. Optimal power allocation for each subchannel,
, where
.