Robust Communication And Optimization Over Dynamic Networks