get_objective() and get_constraints() implemented and tested