Journal of Industrial and Systems Engineering

Journal of Industrial and Systems Engineering

The Mean-Variance Cardinality Constrained Portfolio Selection using an Enhanced Genetic Algorithm with a Novel Crossover Operator

Document Type : Research Paper

Authors
1 Department of Industrial Engineering, Iran University of Science and Technology, Tehran, Iran
2 iran university of science and technology
3 Iran University of Science and Technology
Abstract
Portfolio selection has been recognized as one of the most significant and challenging problems in financial engineering since Markowitz’s pioneering work on the mean-variance model. This problem centers on the optimal allocation of wealth across a set of assets to maximize returns while minimizing investment risk. While the basic Markowitz mean-variance framework is theoretically elegant and foundational, it has faced criticism from investment practitioners due to its reliance on unrealistic assumptions that limit its practical applicability. Specifically, the traditional model assumes perfect market conditions and neglects real-world constraints, such as the need to limit the number of assets in a portfolio (cardinality), which can significantly reduce its practical applicability. To address these limitations, this paper extends the mean-variance portfolio selection model by incorporating cardinality and floor-ceiling (quantity) constraints. The cardinality constraint ensures that the portfolio includes a specified number of assets, while the floor-ceiling constraint regulates the allocation to each asset, restricting it within predefined bounds. These added constraints transform the classical quadratic optimization problem into a mixed-integer quadratic problem, which necessitates the use of approximation algorithms such as metaheuristic algorithms for efficient and feasible solutions. Although numerous metaheuristic algorithms have been employed to tackle this problem, genetic algorithms have gained prominence due to their balance between solution quality and computational efficiency. However, the standard genetic algorithm is not without its shortcomings, particularly when handling the complexity of constrained portfolio optimization. To overcome these limitations, we propose a novel crossover operator designed to enhance the performance of the genetic algorithm.
Keywords
Subjects

Abdollahi Moghadam, M., Ebrahimi, S. B., & Rahmani, D. (2019). A two-stage robust model for portfolio selection by using goal programming. Journal of Industrial and Systems Engineering, 12(1), 1–17. https://www.jise.ir/article_76604.html
Aguilar-Rivera, R., Valenzuela-Rendón, M., & Rodríguez-Ortiz, J. J. (2015). Genetic algorithms and Darwinian approaches in financial applications: A survey. Expert Systems with Applications, 42(21), 7684–7697. https://doi.org/10.1016/J.ESWA.2015.06.001
Anagnostopoulos, K. P., & Mamanis, G. (2011). The mean–variance cardinality constrained portfolio optimization problem: An experimental evaluation of five multiobjective evolutionary algorithms. Expert Systems with Applications, 38(11), 14208–14217. https://doi.org/10.1016/J.ESWA.2011.04.233
Bagheriyan, M., Ghanbari, H., & Tohidi, H. (2023). The Impact of gold and oil prices on the Nasdaq Composite. 7th International Conference on Researches in Science & Engineering & 4th International Congress on Civil, Architecture and Urbanism in Asia.
Bavarsad Salehpoor, I., & Molla-Alizadeh-Zavardehi, S. (2019). A constrained portfolio selection model at considering risk-adjusted measure by using hybrid meta-heuristic algorithms. Applied Soft Computing, 75, 233–253. https://doi.org/10.1016/J.ASOC.2018.11.011
Bertsimas, D., & Shioda, R. (2009). Algorithm for cardinality-constrained quadratic optimization. Computational Optimization and Applications, 43(1), 1–22. https://doi.org/10.1007/S10589-007-9126-9/METRICS
Bienstock, D. (1996). Computational study of a family of mixed-integer quadratic programming problems. Mathematical Programming, Series B, 74(2 PART A), 121–140. https://doi.org/10.1007/BF02592208/METRICS
Borchers, B., & Mitchell, J. E. (1994). An improved branch and bound algorithm for mixed integer nonlinear programs. Computers & Operations Research, 21(4), 359–367. https://doi.org/10.1016/0305-0548(94)90024-8
Chang, T. J., Meade, N., Beasley, J. E., & Sharaiha, Y. M. (2000). Heuristics for cardinality constrained portfolio optimisation. Computers & Operations Research, 27(13), 1271–1302. https://doi.org/10.1016/S0305-0548(99)00074-X
Chang, T. J., Yang, S. C., & Chang, K. J. (2009). Portfolio optimization problems in different risk measures using genetic algorithm. Expert Systems with Applications, 36(7), 10529–10537. https://doi.org/10.1016/J.ESWA.2009.02.062
Crama, Y., & Schyns, M. (2003). Simulated annealing for complex portfolio selection problems. European Journal of Operational Research, 150(3), 546–571. https://doi.org/10.1016/S0377-2217(02)00784-1
Deng, G. F., Lin, W. T., & Lo, C. C. (2012). Markowitz-based portfolio selection with cardinality constraints using improved particle swarm optimization. Expert Systems with Applications, 39(4), 4558–4566. https://doi.org/10.1016/J.ESWA.2011.09.129
Doering, J., Kizys, R., Juan, A. A., Fitó, À., & Polat, O. (2019). Metaheuristics for rich portfolio optimisation and risk management: Current state and future trends. Operations Research Perspectives, 6, 100121. https://doi.org/10.1016/J.ORP.2019.100121
Fernández, A., & Gómez, S. (2007). Portfolio selection using neural networks. Computers & Operations Research, 34(4), 1177–1191. https://doi.org/10.1016/J.COR.2005.06.017
Fooeik, A. M. L., Ghanbari, H., Bagheriyan, M., & Mohammadi, E. (2022). Analyzing the effects of global oil, gold and palladium markets: Evidence from the Nasdaq composite index. Journal of Future Sustainability, 2(3), 105–112. https://doi.org/10.5267/J.JFS.2022.9.010
Frangioni, A., & Gentile, C. (2006). Perspective cuts for a class of convex 0-1 mixed integer programs. Mathematical Programming, 106(2), 225–236. https://doi.org/10.1007/S10107-005-0594-3/METRICS
Ghanbari, H., Fooeik, A. M. L., Eskorouchi, A., & Mohammadi, E. (2022). Investigating the effect of US dollar, gold and oil prices on the stock market. Journal of Future Sustainability, 2(3), 97–104. https://doi.org/10.5267/J.JFS.2022.9.009
Ghanbari, H., Safari, M., Ghousi, R., Mohammadi, E., & Nakharutai, N. (2023). Bibliometric analysis of risk measures for portfolio optimization. Accounting, 9(2), 95–108. https://doi.org/10.5267/J.AC.2022.12.003
Golmakani, H. R., & Fazel, M. (2011). Constrained Portfolio Selection using Particle Swarm Optimization. Expert Systems with Applications, 38(7), 8327–8335. https://doi.org/10.1016/J.ESWA.2011.01.020
Gulpinar, N., le Thi, H. A., & Moeini, M. (2010). Robust investment strategies with discrete asset choice constraints using DC programming. Https://Doi.Org/10.1080/02331930903500274, 59(1), 45–62. https://doi.org/10.1080/02331930903500274
Holland, J. h. (1975). Adaptation in natural and artificial systems: An introductory analysis with applications to biology, control and artificial intelligence. University of Michigan Press.
Jobst, N. J., Horniman, M. D., Lucas, C. A., & Mitra, G. (2001). Computational aspects of alternative portfolio selection models in the presence of discrete asset choice constraints. Quantitative Finance, 1(5), 489–501. https://doi.org/10.1088/1469-7688/1/5/301
Kalayci, C. B., Ertenlice, O., & Akbay, M. A. (2019). A comprehensive review of deterministic models and applications for mean-variance portfolio optimization. Undefined, 125, 345–368. https://doi.org/10.1016/J.ESWA.2019.02.011
Kellerer, H., Mansini, R., & Grazia Speranza, M. (2000). Selecting Portfolios with Fixed Costs and Minimum Transaction Lots. Annals of Operations Research, 99(1–4), 287–304. https://doi.org/10.1023/A:1019279918596
Kendall, G., & Su, Y. (2007). Imperfect evolutionary systems. IEEE Transactions on Evolutionary Computation, 11(3), 294–307. https://doi.org/10.1109/TEVC.2006.887348
Konstantinou, C., Tzanetos, A., & Dounias, G. (2022). Cardinality constrained portfolio optimization with a hybrid scheme combining a Genetic Algorithm and Sonar Inspired Optimization. Operational Research, 22(3), 2465–2487. https://doi.org/10.1007/S12351-020-00614-1/METRICS
Lee, E. K., & Mitchell, J. E. (1997). Computational Experience of an Interior-Point SQP Algorithm in a Parallel Branch-and-Bound Framework Proceedings of High Performance Optimization Techniques, 1997, Springer Verlag.
Li, D., Sun, X., & Wang, J. (2006). OPTIMAL LOT SOLUTION TO CARDINALITY CONSTRAINED MEAN–VARIANCE FORMULATION FOR PORTFOLIO SELECTION. Mathematical Finance, 16(1), 83–101. https://doi.org/10.1111/J.1467-9965.2006.00262.X
Lin, C. C., & Liu, Y. T. (2008). Genetic algorithms for portfolio selection problems with minimum transaction lots. European Journal of Operational Research, 185(1), 393–404. https://doi.org/10.1016/J.EJOR.2006.12.024
Lin, D., Li, X., & Li, M. (2005). A genetic algorithm for solving portfolio optimization problems with transaction costs and minimum transaction lots. Lecture Notes in Computer Science, 3612(PART III), 808–811. https://doi.org/10.1007/11539902_99
Lwin, K., & Qu, R. (2013). A hybrid algorithm for constrained portfolio selection problems. Applied Intelligence, 39(2), 251–266. https://doi.org/10.1007/S10489-012-0411-7
Mansini, R., & Speranza, M. G. (1999). Heuristic algorithms for the portfolio selection problem with minimum transaction lots. European Journal of Operational Research, 114(2), 219–233. https://www.academia.edu/24866407/Heuristic_algorithms_for_the_portfolio_selection_problem_with_minimum_transaction_lots
Maringer, D., & Kellerer, H. (2003). Optimization of cardinality constrained portfolios with a hybrid local search algorithm. OR Spectrum, 25(4), 481–495. https://doi.org/10.1007/S00291-003-0139-1/METRICS
Markowitz, H. (1952). PORTFOLIO SELECTION*. The Journal of Finance, 7(1), 77–91. https://doi.org/10.1111/J.1540-6261.1952.TB01525.X
Metaxiotis, K., & Liagkouras, K. (2012). Multiobjective Evolutionary Algorithms for Portfolio Management: A comprehensive literature review. Expert Systems with Applications, 39(14), 11685–11698. https://doi.org/10.1016/J.ESWA.2012.04.053
Mitra, G., Kyriakis, T., Lucas, C., & Pirbhad, M. (2003). A review of portfolio planning: Models and systems. Advances in Portfolio Construction and Implementation, 1–39. https://doi.org/10.1016/B978-075065448-7.50002-1
Mittal, S. K., & Srivastava, N. (2021). Mean-variance-skewness portfolio optimization under uncertain environment using improved genetic algorithm. Artificial Intelligence Review, 54(8), 6011–6032. https://doi.org/10.1007/S10462-021-09966-2
Mohammadi, S. E., Mohammadi, E., Makui, A., & Shahanaghi, K. (2022). Investigating unpopularity of utility-based approaches in portfolio optimization; introducing an extension to the UTASTAR method. Journal of Industrial and Systems Engineering, 14(2), 298–321. https://doi.org/10.2307/1909829
Moral-Escudero, R., Ruiz-Torrubiano, R., & Suárez, A. (2006). Selection of Optimal Investment Portfolios with Cardinality Constraints. 2006 IEEE International Conference on Evolutionary Computation, 2382–2388. https://doi.org/10.1109/CEC.2006.1688603
Najafi, S. E., Nozari, H., & Edalatpanah, S. A. (2022). Artificial Intelligence of Things (AIoT) and Industry 4.0–Based Supply Chain (FMCG Industry). A Roadmap for Enabling Industry 4.0 by Artificial Intelligence, 31-41.
Nozari, H. (2024). Green Supply Chain Management based on Artificial Intelligence of Everything. Journal of Economics and Management, 46, 171-188.
Nozari, H., Ghahremani-Nahr, J., Fallah, M., & Szmelter-Jarosz, A. (2022). Assessment of cyber risks in an IoT-based supply chain using a fuzzy decision-making method. International Journal of Innovation in Management, Economics and Social Sciences, 2(1).
Radcliffe, N. (1991). Forma Analysis and Random Respectful Recombination. Proceedings of the Forth International Conference. https://ci.nii.ac.jp/naid/10015779400/
Sabar, N. R., Turky, A., Leenders, M., & Song, A. (2018). Multi-population genetic algorithm for cardinality constrained portfolio selection problems. Lecture Notes in Computer Science (Including Subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 10860 LNCS, 129–140. https://doi.org/10.1007/978-3-319-93698-7_10/TABLES/6
Sadjadi, S. J., Gharakhani, M., & Safari, E. (2012). Robust optimization framework for cardinality constrained portfolio problem. Applied Soft Computing, 12(1), 91–99. https://doi.org/10.1016/J.ASOC.2011.09.006
Schaerf, A. (2002). Local Search Techniques for Constrained Portfolio Selection Problems. Computational Economics, 20(3), 177–190. https://doi.org/10.1023/A:1020920706534/METRICS
Shaw, D. X., Liu, S., & Kopman, L. (2008). Lagrangian relaxation procedure for cardinality-constrained portfolio optimization. Http://Dx.Doi.Org/10.1080/10556780701722542, 23(3), 411–420. https://doi.org/10.1080/10556780701722542
Shoaf, J., & Foster, J. A. (1996). The efficient set GA for stock portfolios. Proceedings of the Decision Science Institute, Orlando, 571–573. https://doi.org/10.1109/ICEC.1998.699758
Soleimani, H., Golmakani, H. R., & Salimi, M. H. (2009). Markowitz-based portfolio selection with minimum transaction lots, cardinality constraints and regarding sector capitalization using genetic algorithm. Expert Systems with Applications, 36(3), 5058–5063. https://doi.org/10.1016/J.ESWA.2008.06.007
Speranza, M. G. (1996). A heuristic algorithm for a portfolio optimization model applied to the Milan stock market. Computers & Operations Research, 23(5), 433–441. https://doi.org/10.1016/0305-0548(95)00030-5
Vielma, J. P., Ahmed, S., & Nemhauser, G. L. (2008). A Lifted Linear Programming Branch-and-Bound Algorithm for Mixed-Integer Conic Quadratic Programs. Https://Doi.Org/10.1287/Ijoc.1070.0256, 20(3), 438–450. https://doi.org/10.1287/IJOC.1070.0256
Woodside-Oriakhi, M., Lucas, C., & Beasley, J. E. (2011). Heuristic algorithms for the cardinality constrained efficient frontier. European Journal of Operational Research, 213(3), 538–550. https://doi.org/10.1016/J.EJOR.2011.03.030
Yu, L., Wang, S., & Lai, K. (2006). An integrated data preparation scheme for neural network data analysis. IEEE Transactions on Knowledge and Data Engineering, 18(2), 217–230. https://doi.org/10.1109/TKDE.2006.22
Zhu, H., Wang, Y., Wang, K., & Chen, Y. (2011). Particle Swarm Optimization (PSO) for the constrained portfolio optimization problem. Expert Systems with Applications, 38(8), 10161–10169. https://doi.org/10.1016/J.ESWA.2011.02.075

  • Receive Date 17 March 2023
  • Revise Date 17 May 2024
  • Accept Date 05 June 2024