Rosa Andriani (1), Arsyelina Husni Johan (2)
The Firefly Algorithm (FA) is used as an optimization tool to construct a stock portfolio based on the IDX–MES BUMN 17 index by balancing risk and return under a cardinality constraint on the number of investable stocks. The data consist of daily closing prices for 14 sharia-compliant state-owned enterprise stocks included in the IDX–MES BUMN 17 index over the period September 2019–September 2024, downloaded from Yahoo Finance and transformed into daily log-returns. The expected returns and covariance matrix are embedded into a weighted objective function that combines the reciprocal of portfolio return and portfolio variance, with a weight placing stronger emphasis on risk. The results show that FA attains stable solutions on a non-convex optimization landscape and produces an optimal portfolio that is highly concentrated in a single dominant stock, while other stocks contribute only marginally. These findings suggest that FA is effective as a technical engine for portfolio optimization, but additional constraints such as an upper bound on individual stock weights and a minimum number of stocks in the portfolio are still required to obtain a more practically diversified sharia portfolio.
Bertsimas, D., Pachamanova, D., & Sim, M. (2009). ROBUST LINEAR OPTIMIZATION UNDER GENERAL NORMS. Operations Research, 52(1), 21–38.
Blum, C., & Roli, A. (2003). METAHEURISTICS IN COMBINATORIAL OPTIMIZATION: OVERVIEW AND CONCEPTUAL COMPARISON. ACM Computing Surveys, 35(3), 268–308.
Bodie, Z., Kane, A., & Marcus, A. J. (2014). INVESTMENTS (10th ed.). McGraw-Hill.
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.
DeMiguel, V., Garlappi, L., & Uppal, R. (2009). OPTIMAL VERSUS NAIVE DIVERSIFICATION: HOW INEFFICIENT IS THE 1/N PORTFOLIO STRATEGY? Review of Financial Studies, 22(5), 1915–1953.
Elton, E. J., Gruber, M. J., Brown, S. J., & Goetzmann, W. N. (2014). MODERN PORTFOLIO THEORY AND INVESTMENT ANALYSIS (9th ed.). Wiley.
Fabozzi, F. J., Gupta, F., & Markowitz, H. M. (2007). THE LEGACY OF MODERN PORTFOLIO THEORY. The Journal of Investing, 16(3), 7–22.
Hakim, S., & Rashidian, M. (2004). HOW COSTLY IS INVESTORS’ COMPLIANCE WITH SHARIA? Economic Research Forum Working Paper.
Jorion, P. (2003). PORTFOLIO OPTIMIZATION WITH TRACKING-ERROR CONSTRAINTS. Financial Analysts Journal, 59(5), 70–82.
Kolm, P. N., Tütüncü, R., & Fabozzi, F. J. (2014). 60 YEARS OF PORTFOLIO OPTIMIZATION: PRACTICAL CHALLENGES AND CURRENT TRENDS. European Journal of Operational Research, 234(2), 356–371.
Lwin, K. T., Qu, R., & Kendall, G. (2014). A LEARNING-GUIDED MULTI-OBJECTIVE EVOLUTIONARY ALGORITHM FOR CONSTRAINED PORTFOLIO OPTIMIZATION. Applied Soft Computing, 24, 757–772.
Majdoub, J., & Mansour, W. (2014). ISLAMIC EQUITY MARKET INTEGRATION AND VOLATILITY SPILLOVER BETWEEN EMERGING AND U.S. STOCK MARKETS. North American Journal of Economics and Finance, 29, 452–470.
Maringer, D., & Kellerer, H. (2003). OPTIMIZATION OF CARDINALITY CONSTRAINED PORTFOLIOS WITH A HYBRID LOCAL SEARCH ALGORITHM. OR Spectrum, 25(4), 481–495.
Markowitz, H. (1952). PORTFOLIO SELECTION. The Journal of Finance, 7(1), 77–91.
Otoritas Jasa Keuangan. (2023). LAPORAN PERKEMBANGAN PASAR MODAL SYARIAH INDONESIA 2023. Otoritas Jasa Keuangan.
Ramshe, N., & Rafiee, M. (2021). A FIREFLY ALGORITHM FOR PORTFOLIO OPTIMIZATION WITH REALISTIC CONSTRAINTS. International Journal of Finance & Economics.
Yang, X.-S. (2009). FIREFLY ALGORITHMS FOR MULTIMODAL OPTIMIZATION. In O. Watanabe & T. Zeugmann (Eds.), Stochastic Algorithms: Foundations and Applications (pp. 169–178). Springer.
Yang, X.-S. (2010). NATURE-INSPIRED METAHEURISTIC ALGORITHMS (2nd ed.). Luniver Press.