Text this: Portfolio selection and primary user QoS guarantee based resource allocation in cognitive radio networks