Skip to content
DraconiticResearch
Search Sources API
276,906 studies31 sourcesUpdated 21 min ago
PreprintCC BY-NC-SA 4.0arXiv

Pyoframe: A Python Library to Easily and Efficiently Construct Large Optimization Models

Abstract

Researchers and industry practitioners are constructing increasingly large optimization models to tackle problems in fields such as manufacturing, logistics, and energy systems planning. As the performance of solvers like Gurobi keeps improving, the performance of modeling frameworks like gurobipy which let users interact with solvers is increasingly becoming a bottleneck. We present Pyoframe, an open-source Python modeling framework to construct optimization models of various types (LPs, MIPs, QPs, and QCQPs). Pyoframe adopts a novel DataFrame-based software architecture that enables parallelized computations while also offering a legible syntax and a friendly user experience. We benchmark Pyoframe against other modeling frameworks (AMPL, CVXPY, Gurobipy, JuMP, Linopy, PuLP, Pyomo, and PyOptInterface) and find that Pyoframe is faster on every large or complex benchmark, while almost always using less memory and fewer lines of code. Switching to Pyoframe reduces the total time, memory, and code needed to solve these benchmark problems by up to 83%, 68%, and 64%, respectively, demonstrating the significant impact that modeling frameworks, not only solvers, can have in applied optimization. Overall, Pyoframe makes it easier and faster to develop and run large linear or quadratic optimization models.

Related

  1. Wrap or Rewrite? Reviving the 1989 GlobalMinimum Bayesian Global-Optimization Library for R and Python
    Audris Mockus
    arXivPreprintCC BY 4.0Full textStatisticsarXiv
  2. Causal-TS: A Python Library for Causal Discovery in Stationary and Nonstationary Time Series
    Mohammad Fesanghary
    arXivPreprintCC BY 4.0Full text1 citedStatisticsarXiv
  3. antasena: A Python Library for Nitrox Diving Calculations
    Sandy Hardian Susanto Herho, Faruq Khadami, Faizal Ade Rahmahuddin Abdullah +4
    EarthArXivPreprintCC BY 4.0Full textOceanography & cryosphereNumerical analysis & scientific computingEarthArXiv
  4. NomadBBO: A direct-search framework for constrained mixed-variable blackbox optimization in Python
    Edward Hallé-Hannan, Christophe Tribes
    arXivPreprintCC BY 4.0Full textOptimisation & controlarXiv
  5. No-Regret Bayesian Optimization with Finite-Library Input-Warped Kernels
    Edvin Ketabati Augustinsson, Robert A. Bridges
    arXivPreprintarXiv licenceFull textOptimisation & controlStatisticsarXiv
BibTeX
@misc{staadecker2026pyoframe,
  title = {{Pyoframe: A Python Library to Easily and Efficiently Construct Large Optimization Models}},
  author = {Martin Staadecker and Patricia Hidalgo-Gonzalez},
  howpublished = {arXiv},
  year = {2026},
  month = nov,
  doi = {10.48550/arxiv.2611.32707},
  eprint = {2611.32707},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.32707},
  note = {CC BY-NC-SA 4.0},
}
RIS
TY  - UNPB
TI  - Pyoframe: A Python Library to Easily and Efficiently Construct Large Optimization Models
AU  - Martin Staadecker
AU  - Patricia Hidalgo-Gonzalez
PY  - 2026
DA  - 2026/11/24
PB  - arXiv
DO  - 10.48550/arxiv.2611.32707
UR  - https://arxiv.org/abs/2611.32707
AB  - Researchers and industry practitioners are constructing increasingly large optimization models to tackle problems in fields such as manufacturing, logistics, and energy systems planning. As the performance of solvers like Gurobi keeps improving, the performance of modeling frameworks like gurobipy which let users interact with solvers is increasingly becoming a bottleneck. We present Pyoframe, an open-source Python modeling framework to construct optimization models of various types (LPs, MIPs, QPs, and QCQPs). Pyoframe adopts a novel DataFrame-based software architecture that enables parallelized computations while also offering a legible syntax and a friendly user experience. We benchmark Pyoframe against other modeling frameworks (AMPL, CVXPY, Gurobipy, JuMP, Linopy, PuLP, Pyomo, and PyOptInterface) and find that Pyoframe is faster on every large or complex benchmark, while almost always using less memory and fewer lines of code. Switching to Pyoframe reduces the total time, memory, and code needed to solve these benchmark problems by up to 83%, 68%, and 64%, respectively, demonstrating the significant impact that modeling frameworks, not only solvers, can have in applied optimization. Overall, Pyoframe makes it easier and faster to develop and run large linear or quadratic optimization models.
ER  -