Dynamic power allocation and routing for time-varying wireless networks | Synapse