Summary
Having all methods in mind that are presented in this book, one should be able to find the best optimizer for any given problem. To choose the optimizer, the dimensionality and complexity of the problem play a role as well as the shape of the function to optimize.
Numerical optimization methods were introduced in this chapter, but special care was given to stochastic methods to solve optimization problems. The advantages of traditional numerical optimization methods are in general that they are computationally efficient and reach an optima more quickly. The optim function in R has many of these methods implemented, and also the optimx and the ROI package are wrappers to many optimizers.
However, optima found by general-purpose numerical ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access