Mathematical optimization for high school