Portfolio optimization

r

#1

Hi,
Suppose I want to optimize portfolio with two stocks,minimize risk and w1 + w2 =1 i.e. weights of stocks. Then what are the steps involved while solving using library quadprog in R?