FEDERATED OPTIMIZATION IN HETEROGENEOUS NETWORKS