Cosmological Parameter Estimation Using Particle Swarm Optimization
Abstract
1. Introduction
2. Cosmological Framework
2.1. CDM Model
2.2. CDM
2.3. CPL
3. Parameter Estimation
- Type Ia Supernovae. Owing to their well-standardized luminosities, SNIa serve as highly effective distance indicators. In this work, we use the most recent compilation sample of Union3:
- –
- Union3 [62] is a compilation of 2087 SNIa drawn from 24 different datasets, providing a large and heterogeneous sample. In contrast to earlier Union analyses, it adopts a Bayesian inference framework instead of a frequentist approach, utilizes revised calibration procedures, and implements a new selection strategy.
- Baryon Acoustic Oscillations. BAOs act as cosmological standard rulers, arising from sound waves in the early universe that left a characteristic scale imprinted on the large-scale matter distribution. Measuring this scale with different tracers of the matter field makes BAOs a powerful probe of cosmic expansion history.
- –
- DESI BAO [15], based on the DR1 data release of the DESI survey, delivers precise BAO measurements over the redshift interval , using more than 6 million tracers, including galaxies, quasars, and the Lyman- forest.
4. Particle Swarm Optimization
4.1. Particle Dynamics
- The inertia component, , regulates the momentum of particle i by scaling the influence of its previous velocity on the new one, thereby avoiding abrupt changes in its direction: the particle retains memory.
- The cognitive component, , measures how well particle i has performed based on its own search history. This term is often referred to as the “nostalgia” component, the inclination to return to the most favorable position encountered so far, since it is proportional to the distance between the current position of particle i and its personal best position , or pbesti, defined as
- The social component characterizes the performance of particle i relative to that of its neighbors. It reflects a social inclination of individuals to imitate the success of their nearby peers. The neighborhood topology determines the social structure of the algorithm. Common choices in standard PSO include the star topology, which yields the global best PSO, or Gbest, and the ring topology, which leads to the local best PSO, or Lbest.
4.2. Global Best PSO
| Algorithm 1 Global best algorithm. |
|
4.3. Local Best PSO
| Algorithm 2 Local best algorithm. |
|
- The pyramid structure forms a three-dimensional wireframe triangle.
- In a von Neumann neighborhood, the population is arranged in a rectangular grid structure.
- In the random structure, as its name states, particles are connected to random particles.
4.4. General Aspects of PSO
4.4.1. Initial Conditions
4.4.2. Stopping Criteria
4.4.3. Acceleration Coefficients
4.4.4. Velocity Clamping and Inertia Weight
- Static inertia weight. As the term indicates, the constant w is kept unchanged throughout all swarm iterations. It has been demonstrated that if the conditionis satisfied, then convergence of the algorithm is ensured. Shi and Eberhart [74] recommended choosing w within the range [0.9, 1.2]; otherwise, the swarm may fail to converge and instead diverge or enter into oscillatory (cyclic) patterns [40].
- Linear time decreasing. In this strategy, w varies over time. It begins at a relatively high value and is gradually reduced to a lower value over the course of the iterations t. This linear reduction enables broader global exploration at early stages, followed by more intensive local refinement near the end [75]. The linear schedule is defined as:where and are the initial and final inertia weights, respectively, with , while denotes the maximum number of iterations. Typical choices of and are and , respectively.
- Exponential decreasing. The scheme proposed in [76] is another time-varying approach for w that aims to trade off global exploitation and local exploration. Here, the inertia weight decays exponentially as t increases. It is defined bywhere c is a positive control parameter that determines the rate at which w converges.
4.5. Testing the Code
5. Parameter Estimation on Dark Energy Models
6. Conclusions
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
| 1 | The selected tolerance was determined according to the minimum difference attained by the MCMC algorithm in the vicinity of its convergence phase. |
References
- Slipher, V.M. The radial velocity of the Andromeda Nebula. Lowell Obs. Bull. 1913, 2, 56–57. [Google Scholar]
- Hubble, E. A relation between distance and radial velocity among extra-galactic nebulae. Proc. Nat. Acad. Sci. USA 1929, 15, 168–173. [Google Scholar] [CrossRef] [PubMed]
- Riess, A.G.; Filippenko, A.V.; Challis, P.; Clocchiatti, A.; Diercks, A.; Garnavich, P.M.; Gillil, R.L.; Hogan, C.J.; Jha, S.; Kirshner, R.P.; et al. Observational evidence from supernovae for an accelerating universe and a cosmological constant. Astron. J. 1998, 116, 1009–1038. [Google Scholar] [CrossRef]
- Perlmutter, S.; Aldering, G.; Goldhaber, G.; Knop, R.A.; Nugent, P.; Castro, P.G.; Deustua, S.; Fabbro, S.; Goobar, A.; Groom, D.E.; et al. Measurements of Ω and Λ from 42 High Redshift Supernovae. Astrophys. J. 1999, 517, 565–586. [Google Scholar] [CrossRef]
- Aghanim, N.; Akrami1, Y.; Ashdown, M.; Aumont, J.; Baccigalupi, C.; Ballardini, M.; Banday, A.J.; Barreiro, R.B.; Bartolo, N.; Basak, S.; et al. Planck 2018 results. VI. Cosmological parameters. Astron. Astrophys. 2020, 641, A6, Erratum in Astron. Astrophys. 2021, 652, C4. [Google Scholar] [CrossRef]
- Eisenstein, D.J.; Zehavi, I.; Hogg, D.W.; Scoccimarro, R.; Blanton, M.R.; Nichol, R.C.; Scranton, R.; Seo, H.J.; Tegmark, M.; Zheng, Z.; et al. Detection of the Baryon Acoustic Peak in the Large-Scale Correlation Function of SDSS Luminous Red Galaxies. Astrophys. J. 2005, 633, 560–574. [Google Scholar] [CrossRef]
- Tegmark, M.; Strauss, M.A.; Blanton, M.R.; Abazajian, K.; Dodelson, S.; Sandvik, H.; Wang, X.; Weinberg, D.H.; Zehavi, I.; Bahcall, N.A.; et al. Cosmological parameters from SDSS and WMAP. Phys. Rev. D 2004, 69, 103501. [Google Scholar] [CrossRef]
- Suzuki, N.; Rubin, D.; Lidman, C.; Aldering, G.; Amanullah, R.; Barbary, K.; Barrientos, L.F.; Botyanszki, J.; Brodwin, M.; Connolly, N.; et al. The Hubble Space Telescope Cluster Supernova Survey: V. Improving the Dark Energy Constraints Above z>1 and Building an Early-Type-Hosted Supernova Sample. Astrophys. J. 2012, 746, 85. [Google Scholar] [CrossRef]
- Bull, P.; Akrami, Y.; Adamek, J.; Baker, T.; Bellini, E.; Jimenez, J.B.; Bentivegna, E.; Camera, S.; Clesse, S.; Davis, J.H.; et al. Beyond ΛCDM: Problems, solutions, and the road ahead. Phys. Dark Univ. 2016, 12, 56–99. [Google Scholar] [CrossRef]
- Vázquez-González, A.; Matos, T. La materia oscura del universo: Retos y perspectivas. Rev. Mex. Física E 2008, 54, 193–202. [Google Scholar]
- Weinberg, S. The Cosmological Constant Problem. Rev. Mod. Phys. 1989, 61, 1–23. [Google Scholar] [CrossRef]
- Shi, K.; Huang, Y.; Lu, T. A comprehensive comparison of cosmological models from latest observational data. Mon. Not. Roy. Astron. Soc. 2012, 426, 2452–2462. [Google Scholar] [CrossRef]
- Riess, A.G.; Yuan, W.; Macri, L.M.; Scolnic, D.; Brout, D.; Casertano, S.; Jones, D.O.; Murakami, Y.; An, G.S.; Breuval, L.; et al. A Comprehensive Measurement of the Local Value of the Hubble Constant with 1 km s−1 Mpc−1 Uncertainty from the Hubble Space Telescope and the SH0ES Team. Astrophys. J. Lett. 2022, 934, L7. [Google Scholar] [CrossRef]
- Verde, L.; Protopapas, P.; Jimenez, R. The expansion rate of the intermediate Universe in light of Planck. Phys. Dark Univ. 2014, 5–6, 307–314. [Google Scholar] [CrossRef]
- Adame, A.G. et al. [DESI Collaboration]. DESI 2024 VI: Cosmological Constraints from the Measurements of Baryon Acoustic Oscillations. arXiv 2024, arXiv:2404.03002. [Google Scholar] [CrossRef]
- Abdul Karim, M. et al. [DESI Collaboration]. DESI DR2 Results II: Measurements of Baryon Acoustic Oscillations and Cosmological Constraints. arXiv 2025, arXiv:2503.14738. [Google Scholar] [CrossRef]
- Di Valentino, E.; Said, J.L.; Riess, A.; Pollo, A.; Poulin, V.; Gómez-Valent, A.; Weltman, A.; Palmese, A.; Huang, C.D.; van de Bruck, C.; et al. The CosmoVerse White Paper: Addressing observational tensions in cosmology with systematics and fundamental physics. Phys. Dark Univ. 2025, 49, 101965. [Google Scholar] [CrossRef]
- Arun, K.; Gudennavar, S.B.; Sivaram, C. Dark matter, dark energy, and alternate models: A review. Adv. Space Res. 2017, 60, 166–186. [Google Scholar] [CrossRef]
- Copeland, E.J.; Sami, M.; Tsujikawa, S. Dynamics of dark energy. Int. J. Mod. Phys. D 2006, 15, 1753–1936. [Google Scholar] [CrossRef]
- Linder, E.V. Exploring the expansion history of the universe. Phys. Rev. Lett. 2003, 90, 091301. [Google Scholar] [CrossRef] [PubMed]
- Chevallier, M.; Polarski, D. Accelerating universes with scaling dark matter. Int. J. Mod. Phys. D 2001, 10, 213–224. [Google Scholar] [CrossRef]
- Escamilla, L.A.; Pan, S.; Di Valentino, E.; Paliathanasis, A.; Vázquez, J.A.; Yang, W. Testing an oscillatory behavior of dark energy. Phys. Rev. D 2025, 111, 023531. [Google Scholar] [CrossRef]
- Lewis, A.; Bridle, S. Cosmological parameters from CMB and other data: A Monte Carlo approach. Phys. Rev. D 2002, 66, 103511. [Google Scholar] [CrossRef]
- Trotta, R. Bayesian Methods in Cosmology. arXiv 2017, arXiv:1701.01467. [Google Scholar] [CrossRef]
- Gilks, W.R.; Richardson, S.; Spiegelhalter, D. Markov Chain Monte Carlo in Practice; CRC Press: Boca Raton, FL, USA, 1995. [Google Scholar]
- Padilla, L.E.; Tellez, L.O.; Escamilla, L.A.; Vazquez, J.A. Cosmological Parameter Inference with Bayesian Statistics. Universe 2021, 7, 213. [Google Scholar] [CrossRef]
- Akarsu, Ö.; Barrow, J.D.; Escamilla, L.A.; Vazquez, J.A. Graduated dark energy: Observational hints of a spontaneous sign switch in the cosmological constant. Phys. Rev. D 2020, 101, 063528. [Google Scholar] [CrossRef]
- Vázquez, J.A.; Tamayo, D.; Sen, A.A.; Quiros, I. Bayesian model selection on scalar ϵ-field dark energy. Phys. Rev. D 2021, 103, 043506. [Google Scholar] [CrossRef]
- Gómez-Vargas, I.; Vázquez, J.A. Deep learning and genetic algorithms for cosmological Bayesian inference speed-up. Phys. Rev. D 2024, 110, 083518. [Google Scholar] [CrossRef]
- Medel-Esquivel, R.; Gómez-Vargas, I.; Sánchez, A.A.M.; García-Salcedo, R.; Alberto Vázquez, J. Cosmological Parameter Estimation with Genetic Algorithms. Universe 2024, 10, 11. [Google Scholar] [CrossRef]
- Gómez-Vargas, I.; Andrade, J.B.; Vázquez, J.A. Neural networks optimized by genetic algorithms in cosmology. Phys. Rev. D 2023, 107, 043509. [Google Scholar] [CrossRef]
- Kennedy, J.; Eberhart, R. Particle swarm optimization. In Proceedings of ICNN’95—International Conference on Neural Networks; IEEE: Piscataway, NJ, USA, 1995. [Google Scholar] [CrossRef]
- Reynolds, C.W. Flocks, herds and schools: A distributed behavioral model. In Proceedings of the 14th Annual Conference on Computer Graphics and Interactive Techniques; Association for Computing Machinery: New York, NY, USA, 1987; pp. 25–34. [Google Scholar]
- Darwish, A. Bio-inspired computing: Algorithms review, deep analysis, and the scope of applications. Future Comput. Inform. J. 2018, 3, 231–246. [Google Scholar] [CrossRef]
- Van den Bergh, F.; Engelbrecht, A.P. Cooperative learning in neural networks using particle swarm optimizers. S. Afr. Comput. J. 2000, 2000, 84–90. [Google Scholar]
- Zhan, Z.H.; Zhang, J.; Li, Y.; Chung, H.S.H. Adaptive particle swarm optimization. IEEE Trans. Syst. Man Cybern. Part B (Cybern.) 2009, 39, 1362–1381. [Google Scholar] [CrossRef]
- Freitas, D.; Lopes, L.G.; Morgado-Dias, F. Particle swarm optimisation: A historical review up to the current developments. Entropy 2020, 22, 362. [Google Scholar] [CrossRef] [PubMed]
- Shi, Y.; Eberhart, R. A modified particle swarm optimizer. In Proceedings of the 1998 IEEE International Conference on Evolutionary Computation Proceedings. IEEE World Congress on Computational Intelligence (Cat. No. 98TH8360); IEEE: Piscataway, NJ, USA, 1998; pp. 69–73. [Google Scholar]
- Eberhart; Shi, Y. Particle swarm optimization: Developments, applications and resources. In Proceedings of the 2001 Congress on Evolutionary Computation (IEEE Cat. No. 01TH8546); IEEE: Piscataway, NJ, USA, 2001; Volume 1, pp. 81–86. [Google Scholar]
- Engelbrecht, A.P. Computational Intelligence: An Introduction; John Wiley & Sons: Hoboken, NJ, USA, 2007. [Google Scholar]
- Sengupta, S.; Basak, S.; Peters, R.A. Particle Swarm Optimization: A survey of historical and recent developments with hybridization perspectives. Mach. Learn. Knowl. Extr. 2018, 1, 157–191. [Google Scholar] [CrossRef]
- Poli, R. Analysis of the publications on the applications of particle swarm optimisation. J. Artif. Evol. Appl. 2008, 2008, 685175. [Google Scholar] [CrossRef]
- Abido, M.A. Optimal power flow using particle swarm optimization. Int. J. Electr. Power Energy Syst. 2002, 24, 563–571. [Google Scholar] [CrossRef]
- Prasad, J.; Souradeep, T. Cosmological parameter estimation using Particle Swarm Optimization (PSO). Phys. Rev. D 2012, 85, 123008, Erratum in Phys. Rev. D 2014, 90, 109903. [Google Scholar] [CrossRef]
- Skokos, C.; Parsopoulos, K.E.; Patsis, P.A.; Vrahatis, M.N. Particle swarm optimization: An Efficient method for tracing periodic orbits in 3-D Galactic potentials. Mon. Not. Roy. Astron. Soc. 2005, 359, 251–260. [Google Scholar] [CrossRef]
- Wang, Y. First-Stage LISA Data Processing and Gravitational Wave Data Analysis: Ultraprecise Inter-Satellite Laser Ranging, Clock Synchronization and Novel Gravitational Wave Data Analysis Algorithms. Ph.D. Thesis, Max Planck Inst. Grav., Hannover, Germany, 2014. [Google Scholar] [CrossRef]
- Komatsu, E.; Smith, K.M.; Dunkley, J.; Bennett, C.L.; Gold, B.; Hinshaw, G.; Jarosik, N.; Larson, D.; Nolta, M.R.; Page, L.; et al. Seven-Year Wilkinson Microwave Anisotropy Probe (WMAP) Observations: Cosmological Interpretation. Astrophys. J. Suppl. 2011, 192, 18. [Google Scholar] [CrossRef]
- Zuntz, J.; Paterno, M.; Jennings, E.; Rudd, D.; Manzotti, A.; Dodelson, S.; Bridle, S.; Sehrish, S.; Kowalkowski, J. CosmoSIS: Modular cosmological parameter estimation. Astron. Comput. 2015, 12, 45–59. [Google Scholar] [CrossRef]
- Torrado, J.; Lewis, A. Cobaya: Code for Bayesian Analysis of hierarchical physical models. J. Cosmol. Astropart. Phys. 2021, 5, 057. [Google Scholar] [CrossRef]
- Toni, T.; Welch, D.; Strelkowa, N.; Ipsen, A.; Stumpf, M.P. Approximate Bayesian computation scheme for parameter inference and model selection in dynamical systems. J. R. Soc. Interface 2008, 6, 187–202. [Google Scholar] [CrossRef] [PubMed]
- Toni, T.; Stumpf, M.P.H. Simulation-based model selection for dynamical systems in systems and population biology. arXiv 2010, arXiv:0911.1705. [Google Scholar] [CrossRef]
- Bernardo, R.C.; Grandón, D.; Levi Said, J.; Cárdenas, V.H. Dark energy by natural evolution: Constraining dark energy using Approximate Bayesian Computation. Phys. Dark Univ. 2023, 40, 101213. [Google Scholar] [CrossRef]
- Bernardo, R.C.; Lee, Y.R. Hubble constant by natural selection: Evolution chips in the Hubble tension. Astron. Comput. 2023, 44, 100740. [Google Scholar] [CrossRef]
- Aubourg, É.; Bailey, S.; Bautista, J.E.; Beutler, F.; Bhardwaj, V.; Bizyaev, D.; Blanton, M.; Blomqvist, M.; Bolton, A.S.; Bovy, J.; et al. Cosmological implications of baryon acoustic oscillation measurements. Phys. Rev. D 2015, 92, 123516. [Google Scholar] [CrossRef]
- Scherrer, R.J. Mapping the Chevallier-Polarski-Linder parametrization onto Physical Dark Energy Models. Phys. Rev. D 2015, 92, 043001. [Google Scholar] [CrossRef]
- Pantazis, G.; Nesseris, S.; Perivolaropoulos, L. Comparison of thawing and freezing dark energy parametrizations. Phys. Rev. D 2016, 93, 103503. [Google Scholar] [CrossRef]
- Heavens, A. Statistical techniques in cosmology. arXiv 2009, arXiv:0906.0664. [Google Scholar] [CrossRef]
- Verde, L. Statistical methods in cosmology. In Lectures on Cosmology; Lecture Notes in Physics; Springer: Berlin/Heidelberg, Germany, 2010; Volume 800, pp. 147–177. [Google Scholar] [CrossRef]
- Amendola, L.; Gómez-Valent, A. Boosting Monte Carlo sampling with a non-Gaussian fit. Mon. Not. Roy. Astron. Soc. 2020, 498, 181–193. [Google Scholar] [CrossRef]
- Akaike, H. A new look at the statistical model identification. IEEE Trans. Autom. Control 1974, 19, 716–723. [Google Scholar] [CrossRef]
- Schwarz, G. Estimating the Dimension of a Model. Ann. Stat. 1978, 6, 461–464. [Google Scholar] [CrossRef]
- Rubin, D.; Aldering, G.; Betoule, M.; Fruchter, A.; Huang, X.; Kim, A.G.; Lidman, C.; Linder, E.; Perlmutter, S.; Ruiz-Lapuente, P.; et al. Union Through UNITY: Cosmology with 2,000 SNe Using a Unified Bayesian Framework. arXiv 2023, arXiv:2311.12098. [Google Scholar] [CrossRef]
- Clerc, M. Particle Swarm Optimization; John Wiley & Sons: Hoboken, NJ, USA, 2010; Volume 93. [Google Scholar]
- Mratinković, A. Illustrated Handbook of Particle Swarm Optimisation; 3g E-Learning LLC: New York, NY, USA, 2019. [Google Scholar]
- Kennedy, J.; Eberhart, R.; Shi, Y. The Morgan Kaufmann Series in Evolutionary Computation; Morgan Kaufmann Publishers: San Francisco, CA, USA, 2001. [Google Scholar]
- Mohanty, S.D. Particle Swarm Optimization and regression analysis–I. Astron. Rev. 2012, 7, 29–35. [Google Scholar] [CrossRef]
- Kennedy, J.; Mendes, R. Population structure and particle swarm performance. In Proceedings of the 2002 Congress on Evolutionary Computation. CEC’02 (Cat. No. 02TH8600); IEEE: Piscataway, NJ, USA, 2002; Volume 2, pp. 1671–1676. [Google Scholar]
- Kennedy, J.; Mendes, R. Neighborhood topologies in fully informed and best-of-neighborhood particle swarms. IEEE Trans. Syst. Man Cybern. Part C (Appl. Rev.) 2006, 36, 515–519. [Google Scholar] [CrossRef]
- Miranda, L.J.V. Pyswarms Documentation. 2020. Available online: https://app.readthedocs.org/projects/pyswarms/downloads/pdf/development/ (accessed on 10 July 2026).
- Engelbrecht, A. Particle swarm optimization: Velocity initialization. In Proceedings of the 2012 IEEE Congress on Evolutionary Computation; IEEE: Piscataway, NJ, USA, 2012; pp. 1–8. [Google Scholar]
- Helwig, S.; Wanka, R. Theoretical analysis of initial particle swarm behavior. In Proceedings of the International Conference on Parallel Problem Solving from Nature; Springer: Berlin/Heidelberg, Germany, 2008; pp. 889–898. [Google Scholar]
- Parsopoulos, K.E.; Vrahatis, M.N. Particle Swarm Optimization and Intelligence: Advances and Applications: Advances and Applications; Information Science Reference: Hershey, NY, USA, 2010. [Google Scholar]
- Wang, D.; Tan, D.; Liu, L. Particle swarm optimization algorithm: An overview. Soft Comput. 2018, 22, 387–408. [Google Scholar] [CrossRef]
- Shi, Y.; Eberhart, R.C. Parameter selection in particle swarm optimization. In Proceedings of the Evolutionary Programming VII: 7th International Conference, EP98 San Diego, California, USA, 25–27 March 1998; Proceedings 7; Springer: Berlin/Heidelberg, Germany, 1998; pp. 591–600. [Google Scholar]
- Shi, Y.; Eberhart, R.C. Empirical study of particle swarm optimization. In Proceedings of the 1999 Congress on Evolutionary Computation-CEC99 (Cat. No. 99TH8406); IEEE: Piscataway, NJ, USA, 1999; Volume 3, pp. 1945–1950. [Google Scholar]
- Lu, J.; Hu, H.; Bai, Y. Generalized radial basis function neural network based on an improved dynamic particle swarm optimization and AdaBoost algorithm. Neurocomputing 2015, 152, 305–315. [Google Scholar] [CrossRef]
- Engelbrecht, A.P. Particle swarm optimization: Global best or local best? In Proceedings of the 2013 BRICS Congress on Computational Intelligence and 11th Brazilian Congress on Computational Intelligence; IEEE: Piscataway, NJ, USA, 2013; pp. 124–135. [Google Scholar]
- Vazquez, J.A.; Gomez-Vargas, I.; Slosar, A. SimpleMC: A Simple MCMC Code for Cosmological Parameter Estimation. GitHub Repository. Available online: https://igomezv.github.io/SimpleMC/ (accessed on 16 December 2025).
- Speagle, J.S. dynesty: A dynamic nested sampling package for estimating Bayesian posteriors and evidences. Mon. Not. Roy. Astron. Soc. 2020, 493, 3132–3158. [Google Scholar] [CrossRef]






| Function | Struct. | w | Iter. | Particles | Neigh. k | Distance p | Best Position | Best Fitness | Real Pos./Fitness | ||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Gbest | 0.3 | 0.5 | 0.4 | 20 | 10 | … | … | −6.05 | 3.66 | 0/0 | |
| Lbest | 0.2 | 0.5 | 0.5 | 30 | 20 | 5 | Euclidean | 6.19 | 3.84 | ||
| Gbest | 0.7 | 0.3 | 0.9 | 30 | 90 | … | … | 5.146 | −1.899 | 5.147/−1.9 | |
| Lbest | 0.8 | 0.3 | 0.5 | 112 | 20 | 10 | Euclidean | 5.146 | −1.899 | ||
| Gbest | 0.2 | 0.7 | 0.7 | 20 | 25 | … | … | 0.999 | 1.000 | 1/1 | |
| Lbest | 0.4 | 0.9 | 0.7 | 33 | 10 | 7 | Abs. | 0.999 | 1.000 | ||
| Gbest | 0.5 | 0.5 | 0.9 | 15 | 55 | … | … | 0.129 | 7.92 | 0/0 | |
| Lbest | 0.8 | 0.3 | 0.9 | 50 | 10 | 5 | Abs | 0.079 | 2.08 | ||
| Easom | Gbest | 0.3 | 0.9 | 0.9 | 73 | 20 | … | … | (3.142, 3.142) | −0.999 | (, )/−1 |
| Lbest | 0.5 | 0.8 | 0.7 | 45 | 30 | 9 | Abs. | (3.142, 3.141) | −0.999 | ||
| Rastrigin | Gbest | 0.8 | 0.4 | 0.9 | 150 | 50 | … | … | (−4.31, 3.02) | 1.85 | (0, 0)/0 |
| Lbest | 0.8 | 0.4 | 0.7 | 200 | 45 | 15 | Euclidean | (−3.27, 6.31) | 0.000 | ||
| Sphere | Gbest | 0.3 | 0.6 | 0.7 | 60 | 30 | … | … | (5.55 × 10−7, 6.31 × 10−7) | 7.06 × 10−13 | (0, 0)/0 |
| Lbest | 0.3 | 0.6 | 0.7 | 30 | 20 | 5 | Euclidean | (0.000, −0.000) | 1.99 × 10−7 |
| Global Best Hyperparameters for . | ||||||
|---|---|---|---|---|---|---|
| Function | Parameter | Parameter | Inertia Weight | Iterations | Particles | Boundaries |
| 0.1 | 0.5 | 0.9 | 90 | 200 | ||
| DESI | DESI + Union3 | |||||||
|---|---|---|---|---|---|---|---|---|
| Parameter | CDM | CDM + | CDM | CPL | ||||
| PSO | MCMC | PSO | MCMC | PSO | MCMC | PSO | MCMC | |
| 68.307 | 68.335 | 66.066 | 66.249 | 68.368 | 68.377 | 67.331 | 67.4651 | |
| 0.2936 | 0.2935 | 0.2823 | 0.2840 | 0.3099 | 0.3101 | 0.3378 | 0.3366 | |
| 0.02202 | 0.02201 | 0.02202 | 0.02203 | 0.02202 | 0.02202 | 0.02201 | 0.02202 | |
| — | 0.063 | 0.057 | — | — | ||||
| — | — | — | ||||||
| — | — | — | ||||||
| 12.7190 | 12.7195 | 12.018 | 12.018 | 40.982 | 40.982 | 32.046 | 32.094 | |
| ncalls | 2344 | 16,804 | 4740 | 18,726 | 6600 | 14,238 | 7920 | 20,497 |
| AIC | — | 1.298 | 1.298 | — | ||||
| BIC | — | 1.783 | 1.783 | — | ||||
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Hernández, D.M.; Garcia-Arroyo, G.; Vazquez, J.A. Cosmological Parameter Estimation Using Particle Swarm Optimization. Universe 2026, 12, 212. https://doi.org/10.3390/universe12070212
Hernández DM, Garcia-Arroyo G, Vazquez JA. Cosmological Parameter Estimation Using Particle Swarm Optimization. Universe. 2026; 12(7):212. https://doi.org/10.3390/universe12070212
Chicago/Turabian StyleHernández, Daniel Morales, Gabriela Garcia-Arroyo, and J. Alberto Vazquez. 2026. "Cosmological Parameter Estimation Using Particle Swarm Optimization" Universe 12, no. 7: 212. https://doi.org/10.3390/universe12070212
APA StyleHernández, D. M., Garcia-Arroyo, G., & Vazquez, J. A. (2026). Cosmological Parameter Estimation Using Particle Swarm Optimization. Universe, 12(7), 212. https://doi.org/10.3390/universe12070212

