[go: up one dir, main page]

Skip to main content

An N-Queens Benchmark Using MILP Solvers Comparison Between Open-Source Optimization Tools

  • Conference paper
  • First Online:
Optimization, Learning Algorithms and Applications (OL2A 2024)

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).

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 64.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 79.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. 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)

    Google Scholar 

  2. Bell, J., Stevens, B.: A survey of known results and research areas for n-queens. Discret. Math. 309(1), 1–31 (2009)

    Article  MathSciNet  Google Scholar 

  3. Bowtell, C., Keevash, P.: The \( n \)-queens problem. arXiv preprint: arXiv:2109.08083 (2021)

  4. (COIN-OR), C.I.O.R.G.: CBC (Coin-or Branch and Cut) Solver Documentation (2011). https://projects.coin-or.org/Cbc

  5. Contributors, T.P.M.: Python-MIP: modeling and solving mixed-integer linear programming problems (2019). https://www.python-mip.com/

  6. 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/

  7. Gent, I.P., Jefferson, C., Nightingale, P.: Complexity of n-queens completion. J. Artif. Intell. Res. 59, 815–848 (2017)

    Article  MathSciNet  Google Scholar 

  8. Glock, S., Munhá Correia, D., Sudakov, B.: The n-queens completion problem. Res. Math. Sci. 9(3), 41 (2022)

    Article  MathSciNet  Google Scholar 

  9. Hart, W.E., et al.: Pyomo, optimization modeling in Python (2018). http://www.pyomo.org/. version 5.6.9

  10. Humied, I.A.: Solving n-queens problem using subproblems based on genetic algorithm. IAES Int. J. Artif. Intell. 7(3), 130–137 (2018)

    Google Scholar 

  11. 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)

    MathSciNet  Google Scholar 

  12. 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

  13. 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)

    Article  Google Scholar 

  14. 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)

    Google Scholar 

  15. Mitchell, S., et al.: PuLP: a linear programming toolkit for Python (2005). https://coin-or.github.io/pulp/

  16. 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)

    Google Scholar 

  17. Rouzbahani, H.M., Karimipour, H., Lei, L.: A review on virtual power plant for energy management. Sustain. Energy Technol. Assess. 47, 101370 (2021)

    Google Scholar 

  18. Santos, H.G., Toffolo, T.: Mixed integer linear programming with Python (2020)

    Google Scholar 

  19. 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)

    Article  Google Scholar 

  20. Simkin, M.: The number of n-queens configurations. Adv. Math. 427, 109127 (2023)

    Article  MathSciNet  Google Scholar 

  21. 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

Download references

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

Authors

Corresponding author

Correspondence to Filipe Alves .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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

Publish with us

Policies and ethics