A cognitive radio scenario is considered where the signals transmitted by a secondary user (SU) are relayed by multi-antenna relays using an amplify-and-forward cooperation protocol. In this paper, the optimal power allocation and beamforming scheme …