How to specify the criterion function and its derivativesΒΆ

to be written