We propose a hybrid variant of the level-based learning swarm optimizer (LLSO) for solving large-scale portfolio optimization problems. This solver fills the gap due to the inadequacy of the particle swarm optimization algorithm for high-dimensional instances. We aim to extend the classical mean-variance formulation by maximizing a modified version of the Sharpe ratio subject to cardinality, box, and budget constraints. The algorithm involves a projection operator to deal with these three constraints simultaneously. Further, we implicitly control transaction costs thanks to a rebalancing constraint handled by a suitable exact penalty function. In addition, we develop an ad hoc mutation operator to modify candidate exemplars in the highest level of the swarm. The experimental results, using three large-scale data sets, show that including this procedure improves the accuracy of the solutions. Then, a comparison with other variants of the LLSO algorithm and two state-of-the-art swarm optimizers points out the outstanding performance of the proposed solver in terms of exploration capabilities and solution quality. Finally, we assess the profitability of the portfolio allocation strategy in the last five years using an investable pool of 1119 constituents from the MSCI World Index.
Read full abstract