added formatting to objective and constraints to problem 2