I have a portfolio optimization problem. Let\'s say R and P are expected return vector and correlation matrix of N stocks. I want to f
R
P
N