I think you switched the 2 on accident
]]>Also is there a way to plot the Capital Market Line i.e. portfolio of risk free assets and risky assets (tangency portfolio)?
Thanks
]]>The solution is not restricted to positive weights. It may be that the mean variance optimal portfolio requires shorting some of the assets. These shorted assets will have negative weights.
]]>