Specification of objective functions