public class MVOptimizerNoConstraint extends Object implements MVOptimizer
Constructor and Description |
---|
MVOptimizerNoConstraint() |
Modifier and Type | Method and Description |
---|---|
Vector |
optimalWeights(Vector mu,
Matrix V,
double lambda,
double eta)
Solves for the optimal weights given the moments, lambda, and eta.
|
public Vector optimalWeights(Vector mu, Matrix V, double lambda, double eta)
MVOptimizer
optimalWeights
in interface MVOptimizer
mu
- the expected returnsV
- the covariance matrixlambda
- the risk-aversion index λeta
- ηCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.