maxObjective function

Max Constraint.