Cardinality constraint optimization [on hold]2019 Community Moderator ElectionMatlab lsqlin constrain N number of elements in solutionHow can foreign key constraints be temporarily disabled using T-SQL?Cardinality constrained portfolio in MATLABOptimize a function in RR DEoptim - apply asset weight constraints on a portfolio optimizationPortfolio Optimisation under participation constraintsPortfolio optimisation in R - group ratio constraintsHow to add a constraint in CVaR optimization code in Matlab?SciPy portfolio optimization with industry-level constraintsCVaR Matlab OptimizationMean Variance Optimization + Python + tuning constraints

What is "desert glass" and what does it do to the PCs?

Should we avoid writing fiction about historical events without extensive research?

The (Easy) Road to Code

Quitting employee has privileged access to critical information

Can a Mexican citizen living in US under DACA drive to Canada?

Can you run a ground wire from stove directly to ground pole in the ground

Remove object from array based on array of some property of that object

Has a sovereign Communist government ever run, and conceded loss, on a fair election?

Iron deposits mined from under the city

Ultrafilters as a double dual

How spaceships determine each other's mass in space?

What is the purpose of a disclaimer like "this is not legal advice"?

Linear Combination of Atomic Orbitals

What is the meaning of option 'by' in TikZ Intersections

Where do you go through passport control when transiting through another Schengen airport on your way out of the Schengen area?

Is this nominative case or accusative case?

Why doesn't "adolescent" take any articles in "listen to adolescent agonising"?

Rationale to prefer local variables over instance variables?

Can inspiration allow the Rogue to make a Sneak Attack?

Affine transformation of circular arc in 3D

Why is there an extra space when I type "ls" on the Desktop?

Deal the cards to the players

Naming Characters after Friends/Family

Does the US political system, in principle, allow for a no-party system?



Cardinality constraint optimization [on hold]



2019 Community Moderator ElectionMatlab lsqlin constrain N number of elements in solutionHow can foreign key constraints be temporarily disabled using T-SQL?Cardinality constrained portfolio in MATLABOptimize a function in RR DEoptim - apply asset weight constraints on a portfolio optimizationPortfolio Optimisation under participation constraintsPortfolio optimisation in R - group ratio constraintsHow to add a constraint in CVaR optimization code in Matlab?SciPy portfolio optimization with industry-level constraintsCVaR Matlab OptimizationMean Variance Optimization + Python + tuning constraints










1















I am constructing a function in Matlab that chose optimal portfolio weights, maximizing the investor's utility function.



I am using fmincon, because I don't want to use the portfolio object of Matlab since I prefer to make the code more flexible because I have different measure of the coefficient of risk aversion.



However, I would like to add a cardinality constraint that during the optimisation of my portfolio select not all the assets, but just a small number (like the maxnumasset in the portfolio object), but I don't know how to add this.










share|improve this question









New contributor




Armando is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











put on hold as unclear what you're asking by Wolfie, Trilarion, Vogel612, Billal Begueradj, Joel yesterday


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.


















  • A heuristic approach is solving the problem without the constraint, removing the item with the lowest weight and repeating the procedure iteratively until the number of non-zero weights is sufficiently small. However, that may not give the optimal solution. (There is a similar, unsolved question).

    – Trilarion
    yesterday
















1















I am constructing a function in Matlab that chose optimal portfolio weights, maximizing the investor's utility function.



I am using fmincon, because I don't want to use the portfolio object of Matlab since I prefer to make the code more flexible because I have different measure of the coefficient of risk aversion.



However, I would like to add a cardinality constraint that during the optimisation of my portfolio select not all the assets, but just a small number (like the maxnumasset in the portfolio object), but I don't know how to add this.










share|improve this question









New contributor




Armando is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











put on hold as unclear what you're asking by Wolfie, Trilarion, Vogel612, Billal Begueradj, Joel yesterday


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.


















  • A heuristic approach is solving the problem without the constraint, removing the item with the lowest weight and repeating the procedure iteratively until the number of non-zero weights is sufficiently small. However, that may not give the optimal solution. (There is a similar, unsolved question).

    – Trilarion
    yesterday














1












1








1








I am constructing a function in Matlab that chose optimal portfolio weights, maximizing the investor's utility function.



I am using fmincon, because I don't want to use the portfolio object of Matlab since I prefer to make the code more flexible because I have different measure of the coefficient of risk aversion.



However, I would like to add a cardinality constraint that during the optimisation of my portfolio select not all the assets, but just a small number (like the maxnumasset in the portfolio object), but I don't know how to add this.










share|improve this question









New contributor




Armando is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I am constructing a function in Matlab that chose optimal portfolio weights, maximizing the investor's utility function.



I am using fmincon, because I don't want to use the portfolio object of Matlab since I prefer to make the code more flexible because I have different measure of the coefficient of risk aversion.



However, I would like to add a cardinality constraint that during the optimisation of my portfolio select not all the assets, but just a small number (like the maxnumasset in the portfolio object), but I don't know how to add this.







matlab optimization constraints cardinality






share|improve this question









New contributor




Armando is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Armando is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 13 hours ago









Trilarion

6,71253978




6,71253978






New contributor




Armando is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked yesterday









ArmandoArmando

141




141




New contributor




Armando is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Armando is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Armando is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




put on hold as unclear what you're asking by Wolfie, Trilarion, Vogel612, Billal Begueradj, Joel yesterday


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.









put on hold as unclear what you're asking by Wolfie, Trilarion, Vogel612, Billal Begueradj, Joel yesterday


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.














  • A heuristic approach is solving the problem without the constraint, removing the item with the lowest weight and repeating the procedure iteratively until the number of non-zero weights is sufficiently small. However, that may not give the optimal solution. (There is a similar, unsolved question).

    – Trilarion
    yesterday


















  • A heuristic approach is solving the problem without the constraint, removing the item with the lowest weight and repeating the procedure iteratively until the number of non-zero weights is sufficiently small. However, that may not give the optimal solution. (There is a similar, unsolved question).

    – Trilarion
    yesterday

















A heuristic approach is solving the problem without the constraint, removing the item with the lowest weight and repeating the procedure iteratively until the number of non-zero weights is sufficiently small. However, that may not give the optimal solution. (There is a similar, unsolved question).

– Trilarion
yesterday






A heuristic approach is solving the problem without the constraint, removing the item with the lowest weight and repeating the procedure iteratively until the number of non-zero weights is sufficiently small. However, that may not give the optimal solution. (There is a similar, unsolved question).

– Trilarion
yesterday













0






active

oldest

votes

















0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

How to get text form Clipboard with JavaScript in Firefox 56?How to validate an email address in JavaScript?How do JavaScript closures work?How do I remove a property from a JavaScript object?How do you get a timestamp in JavaScript?How do I copy to the clipboard in JavaScript?How do I include a JavaScript file in another JavaScript file?Get the current URL with JavaScript?How to replace all occurrences of a string in JavaScriptHow to check whether a string contains a substring in JavaScript?How do I remove a particular element from an array in JavaScript?

Can't initialize raids on a new ASUS Prime B360M-A motherboard2019 Community Moderator ElectionSimilar to RAID config yet more like mirroring solution?Can't get motherboard serial numberWhy does the BIOS entry point start with a WBINVD instruction?UEFI performance Asus Maximus V Extreme

Thal And Out Agency railway station See also References External links Navigation menuOfficial Web Site of Pakistan RailwaysArchivedOfficial Web Site of Pakistan Railwayseeexpanding ite