Published April 22, 2023 | Journal article | Version v1 | https://doi.org/10.21105/joss.04823

Linopy: Linear optimization with n-dimensional labeled variables

Authors/Creators

Files

joss.04823.pdf

Files (1.5 MB)

Name Size Download all
md5:787b071666d8c912b315b3d71c07e313
237.5 kB Preview Download
md5:b3e61b63db38216948d3d1772014c0ea
1.2 MB Preview Download

Additional details

Dates

Issued
April 22, 2023

References

  1. Hofmann, F. (2023). Linopy: Linear optimization with n-dimensional labeled variables (Version published-version-joss) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.7751989
  2. ApS, M. (2019). MOSEK Optimizer API for Python 9.3.22.
  3. Beal, L. D. R., Hill, D. C., Martin, R. A., & Hedengren, J. D. (2018). GEKKO Optimization Suite. Processes, 6(8), 106. https://doi.org/10.3390/pr6080106
  4. Bestuzheva, K., Besançon, M., Chen, W.-K., Chmiela, A., Donkiewicz, T., Doornmalen, J. van, Eifler, L., Gaul, O., Gamrath, G., Gleixner, A., Gottwald, L., Graczyk, C., Halbig, K., Hoen, A., Hojny, C., Hulst, R. van der, Koch, T., Lübbecke, M. E., Maher, S. J., … Witzig, J. (2021). The SCIP Optimization Suite 8.0 Optimization Online.
  5. Brown, T., Hörsch, J., & Schlachtberger, D. (2018). PyPSA: Python for Power System Analysis. Journal of Open Research Software, 6(1), 4. https://doi.org/10.5334/jors.188
  6. Bussieck, M. R., & Meeraus, A. (2004). General Algebraic Modeling System (GAMS). In Applied Optimization (pp. 137–157). Springer US. https://doi.org/10.1007/978-1-4613-0215-5_8
  7. Cplex, I. I. (2009). V12. 1: User's manual for CPLEX. International Business Machines Corporation, 46(53), 157.
  8. Dantzig, G. (1963). Linear Programming and Extensions. RAND Corporation. https://doi.org/10.7249/r366
  9. Diamond, S., & Boyd, S. (2016). CVXPY: A Python-embedded modeling language for convex optimization. Journal of Machine Learning Research, 17(83), 1–5.
  10. Dunning, I., Huchette, J., & Lubin, M. (2017). JuMP: A Modeling Language for Mathematical Optimization. SIAM Review, 59(2), 295–320. https://doi.org/10.1137/15m1020575
  11. FICO Xpress Solver. (n.d.). In FICO. https://www.fico.com/en/products/fico-xpress-solver
  12. Forrest, J., Ralphs, T., Santos, H. G., Vigerske, S., Forrest, J., Hafer, L., Kristjansson, B., Jpfasano, EdwinStraver, Lubin, M., Rlougee, Jpgoncal1, Jan-Willem, H-I-Gassmann, Brito, S., C., Saltzman, M., Tosttost, Pitrus, B., … To-St. (2022). coin-or/Cbc: Release releases/2.10.8 (Version releases/2.10.8) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.6522795
  13. Fourer, R., Gay, D. M., & Kernighan, B. W. (1990). A Modeling Language for Mathematical Programming. Management Science, 36(5), 519–554. https://doi.org/10.1287/mnsc.36.5.519
  14. GLPK - GNU Project - Free Software Foundation (FSF). (n.d.). https://www.gnu.org/software/glpk
  15. Göke, L. (2021). A graph-based formulation for modeling macro-energy systems. Applied Energy, 301, 117377. https://doi.org/10.1016/j.apenergy.2021.117377
  16. Gurobi - The Fastest Solver. (n.d.). In Gurobi. https://www.gurobi.com
  17. Harris, C. R., Millman, K. J., van der Walt, S. J., Gommers, R., Virtanen, P., Cournapeau, D., Wieser, E., Taylor, J., Berg, S., Smith, N. J., Kern, R., Picus, M., Hoyer, S., van Kerkwijk, M. H., Brett, M., Haldane, A., del Río, J. F., Wiebe, M., Peterson, P., … Oliphant, T. E. (2020). Array programming with NumPy. Nature, 585(7825), 357–362. https://doi.org/10.1038/s41586-020-2649-2
  18. Hart, W. E., Laird, C. D., Watson, J.-P., Woodruff, D. L., Hackebeil, G. A., Nicholson, B. L., & Siirola, J. D. (2017). Pyomo — Optimization Modeling in Python. In Springer Optimization and Its Applications. Springer International Publishing. https://doi.org/10.1007/978-3-319-58821-6
  19. Hörsch, J., Hofmann, F., Schlachtberger, D., & Brown, T. (2018). PyPSA-Eur: An open optimisation model of the European transmission system. Energy Strategy Reviews, 22, 207–215. https://doi.org/10.1016/j.esr.2018.08.012
  20. Hoyer, S., & Hamman, J. (2017). xarray: N-D labeled Arrays and Datasets in Python. Journal of Open Research Software, 5(1), 10. https://doi.org/10.5334/jors.148
  21. Huangfu, Q., & Hall, J. A. J. (2017). Parallelizing the dual revised simplex method. Mathematical Programming Computation, 10(1), 119–142. https://doi.org/10.1007/s12532-017-0130-5
  22. Mitchel, S., Kean, A., Mason, A., O'Sullivan, M., Phillips, A., & Peschiera, F. (2022). Pulp. COIN-OR Foundation.
  23. Morshed, M. S., & Noor-E-Alam, M. (2020). Generalized affine scaling algorithms for linear programming problems. Computers & Operations Research, 114, 104807. https://doi.org/10.1016/j.cor.2019.104807
  24. The pandas development team. (2026). pandas-dev/pandas: Pandas (Version v3.1.1) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.3509134
  25. Rehfeldt, D., Hobbie, H., Schönheit, D., Koch, T., Möst, D., & Gleixner, A. (2022). A massively parallel interior-point solver for LPs with generalized arrowhead structure, and applications to energy system models. European Journal of Operational Research, 296(1), 60–71. https://doi.org/10.1016/j.ejor.2021.06.063

1–25 of 26

Citations

  1. Trentmann, L., Ceruti, A., Schweiger, B., & Spliethoff, H. (2026). What district heating share is optimal for a municipality? A holistic approach including supply temperatures. Energy Conversion and Management, 357, Article 121434. https://doi.org/10.1016/j.enconman.2026.121434
  2. Kerschbaum, M., Spliethoff, H., & Fendt, S. (2026). A bottom-up model for assessing the transition of chemical industry parks towards carbon neutrality. Energy, 360, 141589. https://doi.org/10.1016/j.energy.2026.141589
  3. Han, J., Zhou, Y., Weng, Y., & Huang, J. (2026). Research on the participation behavior of renewable energy in China's sustainable development price settlement mechanism: An agent-based simulation analysis. Energy Policy, 210, 115042. https://doi.org/10.1016/j.enpol.2025.115042
  4. Cornaggia, L., Girard, R., Despouys, O., Clémot, H., & Andrianesis, P. (2026). Optimal operational planning of hybrid power plants in railway MVDC networks and comparison with standard AC connections. International Journal of Electrical Power & Energy Systems, 175, 111633. https://doi.org/10.1016/j.ijepes.2026.111633
  5. Glaum, P., Neumann, F., Millinger, M., & Brown, T. (2026). A minimal methanol backstop for high-electrification scenarios. Joule, 10(9), Article 102464. https://doi.org/10.1016/j.joule.2026.102464
  6. Rukavina, F., Smolić, F., Banjac, A., & Vašak, M. (2026). Web-Based Application for Optimal Sizing and Economic Evaluation of PV+Battery Systems. 2026 IEEE International Symposium on Systems Engineering (ISSE), 1–8. https://doi.org/10.1109/isse70179.2026.11762927
  7. https://doi.org/10.2139/ssrn.7442054
  8. https://doi.org/10.2139/ssrn.7601179
  9. https://doi.org/10.2139/ssrn.7601183
  10. https://doi.org/10.70675/724bd5cbzb61az4eafz9e7czb1e82fdd87ea
  11. Ceruti, A., Lambert, J., & Spliethoff, H. (2025). Integrating renewable energy and thermal storage in district heating networks: A design optimization approach. Energy Conversion and Management, 345, Article 120323. https://doi.org/10.1016/j.enconman.2025.120323
  12. Brown, T., Neumann, F., & Riepin, I. (2025). Price formation without fuel costs: The interaction of demand elasticity with storage bidding. Energy Economics, 147, Article 108483. https://doi.org/10.1016/j.eneco.2025.108483
  13. Abuhomos, M., Delubac, R., Delage, R., & Nakata, T. (2025). The effect of geopolitical factors on local energy system performance: Examining the case of Palestine. Energy Strategy Reviews, 58, 101681. https://doi.org/10.1016/j.esr.2025.101681
  14. Simarik, E., Delubac, R., Delage, R., & Nakata, T. (2025). Systematic temporal aggregation for rapid modeling to generate alternatives of energy systems. Energy Strategy Reviews, 61, 101888. https://doi.org/10.1016/j.esr.2025.101888
  15. Avella, P., Belotti, P., Gusmeroli, N., Iuliano, S., & Vaccaro, A. (2025). Computing global optimal solutions of the secondary voltage regulation problem. International Journal of Electrical Power & Energy Systems, 172, 111139. https://doi.org/10.1016/j.ijepes.2025.111139
  16. Koutalidis, H., Pelekis, S., Skepetari, E., Ntanos, C., Karakolis, E., Michalitsi-Psarrou, A., Blika, A., & Askounis, D. (2025). Renewable hydrogen blending into urban natural gas grids with power-to-gas: A techno-economic assessment for Greece. International Journal of Hydrogen Energy, 139, 380–395. https://doi.org/10.1016/j.ijhydene.2025.05.004
  17. Romano, V., Marocco, P., Gandiglio, M., & Santarelli, M. (2025). Modelling a small-scale hydrogen valley: Optimisation under techno-economic and environmental perspectives. International Journal of Hydrogen Energy, 191, Article 152172. https://doi.org/10.1016/j.ijhydene.2025.152172
  18. Mannhardt, J., Ganter, A., Burger, J., De Marco, F., Kunz, L., Schmidt-Engelbertz, L., Gabrielli, P., & Sansavini, G. (2025). ZEN-garden: Optimizing energy transition pathways with user-oriented data handling. SoftwareX, 29, 102059. https://doi.org/10.1016/j.softx.2025.102059
  19. Hofmann, F., Tries, C., Neumann, F., Zeyen, E., & Brown, T. (2025). H2 and CO2 network strategies for the European energy system. Nature Energy, 10(6), 715–724. https://doi.org/10.1038/s41560-025-01752-6
  20. https://doi.org/10.21105/joss.06274
  21. https://doi.org/10.21105/joss.08035
  22. https://doi.org/10.2139/ssrn.5448125
  23. https://doi.org/10.2139/ssrn.5986796
  24. https://doi.org/10.3390/fi17100451
  25. Kigle, S., Schmidt-Achert, T., & Pérez, M. Á. M. (2024). The impact of country-specific investment risks on the levelized costs of green hydrogen production. International Journal of Hydrogen Energy, 73, 20–31. https://doi.org/10.1016/j.ijhydene.2024.05.303

1–25 of 29