Hi, I just started exploring PortfolioAnalytics package. Similar to setting up custom objective functions, is there a way to set up custom constraints too? I would like to know how to set up cardinality constraint (i.e., limiting number of assets in a portfolio). Thanks! [[alternative HTML version deleted]]