You can optimize a means.

You can't optimize an end.

An end is valuable in and of itself.

You maximize an end.