Pātuhitia tēnei: Time-varying network optimization