Energy optimal control for time-varying wireless networks | Synapse