In this example project, we use Math.NET Numerics library to optimize a fictitious 4-stock portfolio with known mean returns, standard deviations and correlation matrix.
In order to compute the optimal weights for a given target return and risk-free rate, we use linear algebra operations made possible with Numerics Linear Algebra module.

Author