Abstract
In line with the Recovery and Resilience Plan, the New Generation Storage (NGS) project aims to establish a sustainable technological value chain. Its main objective is the sustainable manufacture and recovery of batteries for electric mobility. Thus, it was decided to evaluate three open-source optimization tools to identify their strengths and weaknesses, aiming to select the most robust optimization service for the project. In this sense, this paper presents an exploratory study on three open-source optimization tools. The main goal was to assess their performance in solving optimization problems that can be applied to real-world scenarios, like the NGS project. The evaluations were conducted using an N-queens benchmark, applying mixed-integer linear programming (MILP) modeling to validate the computational accuracy of each tool. Moreover, this study compares the performance, scalability, and computational efficiency of these tools to identify the most robust option for optimizing large-scale energy storage systems. The findings not only contribute to the selection of an optimal solver for the NGS project but also offer significant insights into the solver practical applicability in broader real-world scenarios, including industrial optimization and energy resource management.
This article is a result of the Innovation Pact “NGS - New Generation Storage” (reference 58), co-financed by NextGeneration EU, through the Incentive System “Agendas para a Inovação Empresarial” (“Agendas for Business Innovation”), within the Recovery and Resilience Plan (PRR).
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Abidine, B.Z.E.: An incremental approach to the n-queen problem with polynomial time. J. King Saud Univ. - Comput. Inf. Sci., 1–7 (2023)
Bell, J., Stevens, B.: A survey of known results and research areas for n-queens. Discret. Math. 309(1), 1–31 (2009)
Bowtell, C., Keevash, P.: The \( n \)-queens problem. arXiv preprint: arXiv:2109.08083 (2021)
(COIN-OR), C.I.O.R.G.: CBC (Coin-or Branch and Cut) Solver Documentation (2011). https://projects.coin-or.org/Cbc
Contributors, T.P.M.: Python-MIP: modeling and solving mixed-integer linear programming problems (2019). https://www.python-mip.com/
EU, N.G.: NGS - new generation storage. https://transparencia.gov.pt/pt/fundos-europeus/prr/beneficiarios-projetos/projeto/02/C05-i01.01/2022.PC644936001-00000045/
Gent, I.P., Jefferson, C., Nightingale, P.: Complexity of n-queens completion. J. Artif. Intell. Res. 59, 815–848 (2017)
Glock, S., Munhá Correia, D., Sudakov, B.: The n-queens completion problem. Res. Math. Sci. 9(3), 41 (2022)
Hart, W.E., et al.: Pyomo, optimization modeling in Python (2018). http://www.pyomo.org/. version 5.6.9
Humied, I.A.: Solving n-queens problem using subproblems based on genetic algorithm. IAES Int. J. Artif. Intell. 7(3), 130–137 (2018)
Kullman, N.D., Froger, A., Mendoza, J.E., Goodson, J.C.: frvcpy: an open-source solver for the fixed route vehicle charging problem. INFORMS J. Comput. 33(4), 1277–1283 (2021)
Liu, J., Hu, H., Yu, S.S., Trinh, H.: Virtual power plant with renewable energy sources and energy storage systems for sustainable power grid-formation, control techniques and demand response. Energies 16(9) (2023). https://doi.org/10.3390/en16093705
Mackworth, A.K., Freuder, E.C.: The complexity of some polynomial network consistency algorithms for constraint satisfaction problems. Artif. Intell. 25(1), 65–74 (1985)
Meindl, B., Templ, M.: Analysis of commercial and free and open source solvers for linear optimization problems. Eurostat and Stat. Neth. Proj. ESSnet Common Tools Harmonised Methodol. SDC ESS 20, 64 (2012)
Mitchell, S., et al.: PuLP: a linear programming toolkit for Python (2005). https://coin-or.github.io/pulp/
Roselli, S.F., Bengtsson, K., Åkesson, K.: SMT solvers for job-shop scheduling problems: Models comparison and performance evaluation. In: 2018 IEEE 14th International Conference on Automation Science and Engineering (CASE), pp. 547–552. IEEE (2018)
Rouzbahani, H.M., Karimipour, H., Lei, L.: A review on virtual power plant for energy management. Sustain. Energy Technol. Assess. 47, 101370 (2021)
Santos, H.G., Toffolo, T.: Mixed integer linear programming with Python (2020)
Sikorski, T., et al.: A case study on distributed energy resources and energy-storage systems in a virtual power plant concept: technical aspects. Energies 13(12), 3086 (2020)
Simkin, M.: The number of n-queens configurations. Adv. Math. 427, 109127 (2023)
Zhang, T., Shu, W., Wu, M.Y.: Optimization of n-queens solvers on graphics processors. In: Advanced Parallel Processing Technologies - 9th International Symposium APPT 2011, Shanghai, China, pp. 142–156 (2011).https://doi.org/10.1007/978-3-642-24151-2_11
Acknowledgements
We wish to extend our genuine gratitude to DTx for their dedicated support, provision of invaluable resources, and constant encouragement throughout this endeavor. Their commitment to excellence and collaborative spirit have been instrumental in the success of this research. Additionally, we would like to express our appreciation to the PRR – NGS BP-15 agenda for providing the opportunity to disseminate our results and research.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Alves, F., Petiz, M., Ribeiro, R., Abbasi, A., Carvalho, P.N., Rodrigues, R. (2024). An N-Queens Benchmark Using MILP Solvers Comparison Between Open-Source Optimization Tools. In: Pereira, A.I., et al. Optimization, Learning Algorithms and Applications. OL2A 2024. Communications in Computer and Information Science, vol 2281. Springer, Cham. https://doi.org/10.1007/978-3-031-77432-4_7
Download citation
DOI: https://doi.org/10.1007/978-3-031-77432-4_7
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-77431-7
Online ISBN: 978-3-031-77432-4
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)