Pātuhitia tēnei: Optimization and dynamical systems