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

Can't find variable: document ReactNative Js2019 Community Moderator ElectionReactNative: how to center text?Can't find variable: navigate - ReactNative navigationReact Native error: “Can't find variable: TouchableHighlight”How to use Expo.DocumentPicker.getDocumentAsync properly. [Expo] [ReactNative]Can't find variable: regeneratorRuntime (ReactNative)Reactnative Expo It is advisable for a StartUp?Can't find variable : Self / Can't install firebaseNPM Install Error in installing ReactNative CLIContacts Displaying in App using ReactnativeFacebook login error: can't find variable: Alert

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

Posting a File and Associated Data to a RESTful WebService preferably as JSON2019 Community Moderator ElectionREST URI convention - Singular or plural name of resource while creating itUploading both data and files in one form using Ajax?How do I upload a file with metadata using a REST web service?REST API - file (ie images) processing - best practicesSpring: JSON data and file in the same requestREST API Put large dataPosting a file and JSON data to Spring rest serviceRESTful Web Service Upload/Download Large Data With JSONREST API Design sending JSON data and a file to the api in same requestPost JSONArray to REST servicePUT vs. POST in RESTParsing values from a JSON file?JavaScript/jQuery to download file via POST with JSON dataHow do I upload a file with metadata using a REST web service?How to POST JSON data with Curl from Terminal/Commandline to Test Spring REST?Separate REST JSON API server and client?what's the correct way to send a file from REST web service to client?How do I write JSON data to a file?What is “406-Not Acceptable Response” in HTTP?REST API - file (ie images) processing - best practices