a numeric vector (the portfolio weights); attached is an
attribute whose name matches the method name
Details
Compute the minimum CVaR portfolio for a given scenario set.
The default method uses the formulation as a Linear Programme,
as described in Rockafellar/Uryasev (2000).
# NOT RUN {if (requireNamespace("Rglpk")) {
ns <- 5000 ## number of scenarios na <- 20 ## nunber of assets R <- randomReturns(na, ns, sd = 0.01, rho = 0.5)
minCVaR(R, 0.25)
}
# }