problem 2 objective and constraints