Hello everybody, is there a way to optimize a function, whose gradient I don't know / cannot compute? The command 'optim' seems to require the cost function to provide the gradient... Thanks for help, suggestions and comments! Sebastian