How do you find the maximum value of an objective function?

How do you find the maximum value of an objective function?

See also  Does Cypher have a child?