In this paper, we propose a real-time subcarrier, bit, and power allocation algorithm for orthogonal frequency-division multiplexing-based multiuser communication systems in downlink transmission. Assuming that base stations know the channel gains of all