Serving the Quantitative Finance Community

 
User avatar
frenchyWill
Topic Author
Posts: 0
Joined: June 28th, 2010, 8:15 pm

Portfolio optimization with CVaR constraints

July 27th, 2010, 2:36 pm

Hi all,I'm trying to implement a little software to optimize portfolios using different constraints : either minimizing CVaR with a constraint on the global expected return, or maximizing the expected return with constraints on CVaR.Currently, I'm solving the Linear Programming problem given in this article : http://www.webpondo.org/ariascos/Files/ ... varfen.pdf . It works fine for a limited number of MC scenarios (~1000 scenarios). For a larger number of scenarios, there is memory issue in my symplex algorithm.So now I'm trying to implement the algorithms in this article : http://www.ise.ufl.edu/uryasev/portfoli ... t-risk.pdf .I've got some troubles implementing it. Does someone have a code for theses algorithms ?But this article is only optimization of the CVaR with respect to a given return. Could someone give me some papers with algorithms to avoid a large LP problem for the optimization of return with respect to a given CVaR ?Kind regards,Will
 
User avatar
borici
Posts: 0
Joined: July 14th, 2002, 3:00 am

Portfolio optimization with CVaR constraints

July 29th, 2010, 1:29 pm

Hi Will,With 1000 scenarios all pivoting algs need to update a matrix of order 1000, so you need a storage of 1000^2, at least. I assume that you are using some simplex algorithm for dense problems. In fact your problem is sparse (as most MC methods are!), so you can write your algorithm for sparse matrices.I hope this solves your problem.
 
User avatar
frenchyWill
Topic Author
Posts: 0
Joined: June 28th, 2010, 8:15 pm

Portfolio optimization with CVaR constraints

July 30th, 2010, 6:04 am

Thanks Borici for your answer !Do you know any way of dealing with sparse matrices in a linear optimization ? (maybe some algorithms or some papers ?)
 
User avatar
borici
Posts: 0
Joined: July 14th, 2002, 3:00 am

Portfolio optimization with CVaR constraints

July 30th, 2010, 11:12 am

Last edited by borici on July 29th, 2010, 10:00 pm, edited 1 time in total.