Pātuhitia tēnei: Mathematical programming in statistics