setMinimize and setMaximize are now private, as the Objective type has all that information in it.