A Handbook of Mathematical Discourse
maximize
To maximize a function is to find values of its argument for which the function has a maximum. Minimize is used similarly.
The metaphor behind this usage seems to be: vary the input over time until you find the largest value. Citation: (135), (247), (316).
Page 160 of the book (PDF).