Skip to content

Quadratic optimization problem

3 messages · Enrico De Giorgi, Adam Gehr, Dirk Eddelbuettel

#
I hope that someone can help me with the following question:
I would like to solve the Markowitz optimization problem WITH short-sale
constraints.
Maybe a procedure to solve a quadratic optimization problem with convex
constraints and positive variables is already implemented in R?


Thank you very much,

edg

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
I've been using the solve.QP function in the quadprog
package to solve that problem. It's just a matter of setting
up matrices with the proper constraints.
Enrico De Giorgi wrote:
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
On Wed, Aug 21, 2002 at 09:05:03AM +0200, Enrico De Giorgi wrote:
Try 
	library(tseries)
	help(portfolio.optim)

Hth, Dirk