Norm-Based Optimization For Wireless Communications And Machine Learning