Matlab Rounding as Portfolio Constraint
    2 vues (au cours des 30 derniers jours)
  
       Afficher commentaires plus anciens
    
    Carolin Brueckmann
 le 23 Mai 2015
  
    
    
    
    
    Commenté : Carolin Brueckmann
 le 24 Mai 2015
            Hi there,
I am optimizing a portfolio using the mean-CVaR optimization function in Matlab. One of the constraints I would like to set is that the portfolio weights for each asset class should be rounded to the nearest 0.05.
I have defined the rounding constraint as
round(x/5,2)*5
which works fine. However, I am wondering now how I can include this as a constraint in the optimization instead of just rounding the weights after the optimization.
Here is the code I am using for the portfolio optimization
pmc = PortfolioCVaR; 
pmc = pmc.setAssetList(IndexList);          % select index names 
pmc = pmc.setScenarios(returns);            % select return series
pmc = pmc.setProbabilityLevel(0.95);        % cVaR confidence level
pmc = pmc.setDefaultConstraints;            % Constraint 1: only positive
weights that sum to 1
pmc = pmc.setBounds(0.01, 0.1);             % Constraint 2: min/max weights
I would be happy about any hints!
Thanks a lot, Carolin
0 commentaires
Réponse acceptée
  John D'Errico
      
      
 le 23 Mai 2015
        This becomes essentially an integer programming problem, since you are trying to force the parameters to be discrete values. So unless the optimization tool allows that as an option, you will need to use a different tool for the optimization.
Plus de réponses (0)
Voir également
Catégories
				En savoir plus sur Portfolio Optimization and Asset Allocation dans Help Center et File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

