Skip to content
Prev 454 / 15274 Next

Portfolio Wgts Optimization

To answer your immediate question, one approach
is to add a Lagrange multiplier to your function.  Another
is to rescale the weights before computing the utility
(this has the potential to confuse the optimizer, but often
works okay).

But if you are using mean-variance utility, then you should
investigate the 'quadprog' package.  If your requirements
are more complex and you are willing to spend money,
then POP from Burns Statistics is a possibility.

Patrick Burns
patrick at burns-stat.com
+44 (0)20 8525 0696
http://www.burns-stat.com
(home of S Poetry and "A Guide for the Unwilling S User")
Manoj wrote: