Distributed optimization and machine learning for virtualized 6G wireless networks