Introduction to R for Quantitative Finance
by Gergely Daróczi, Michael Phule, Edina Berlinger (EURO), Peter Csoka, Daniel Daniel Havran, Marton Michaletzky, Zsolt Tulassay, Kata Váradi, Agnes Vidovics-Dancs, Agnes Vidovics Dancs
Solution concepts
In the last 50 years, many great algorithms have been developed for numerical optimization and these algorithms work well, especially in case of quadratic functions. As we have seen in the previous section, we only have quadratic functions and constraints; so these methods (that are implemented in R as well) can be used in the worst case scenarios (if there is nothing better).
However, a detailed discussion of numerical optimization is out of the scope of this book. Fortunately, in the special case of linear and quadratic functions and constraints, these methods are unnecessary; we can use the Lagrange theorem from the 18th century.
Theorem (Lagrange)
If and , (where ) have continuous partial derivatives and is a relative extreme ...
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