You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not sure if this is already mentioned but it would be nice if there is a set of benchmarks that compare this project with other projects for optimization problems.
I expect both will outperform oximo for now, since they've had years of optimization behind them, while oximo is still quite new. I haven't focused much on performance yet, as there are still many basic features I'd like to add first. Also, creating fair benchmarks is somewhat hard, considering that each programming language is different and it is easy to screw up.
Would you be interested in working on this? Happy to discuss implementation details if so.
I'd definitely want to reach out to the JuMP and/or Pyomo maintainers before publishing any results where (and if) oximo comes out ahead, just in case there's something wrong with the benchmarks.
I'd be more interested in a comparison of the model building (especially expression walking) performance rather than the actual solving (which will come down to initialisation, scaling and solver robustness). One frequent issue we have with Pyomo as a Python-based framework is that building large models and subsequently analysing them is rather slow. Profiling shows that plenty of CPU time is spent in the expression tree repeatedly visiting nodes. Even with caching, the model build time in Pyomo still isn't ideal.
@CMarcher Is there an open-source implementation of those models I could look at? A while back, I benchmarked model building for some of my small-to-medium NLP models, and oximo was 5x to 11x faster. I've still got a bunch of performance optimizations I want to try out.
I think using standard models from MIPLIB and QPLIB makes more sense at this stage.
Most of oximo is coded by hand, with AI agents only used for analysis, updating tests, or adjusting call sites after breaking changes. Adding a full thermodynamics package inside oximo feels out of scope for now.
We could measure construction + preparation + lowering to a common backend (Probably Gurobi, since that is what the JuMP paper uses) without actually solving the models.
Activity
GermanHeim commentedon Aug 20, 2026
Hi @mert-kurttutan, thanks for your interest in oximo!
Benchmarks are definitely a repeated request, and I understand why.
There are already some benchmarks in the repo, but they mostly cover some threshold parameters (See https://github.com/oximo-rs/oximo/tree/main/crates/oximo/benches). I definitely want to create a set of benchmarks to compare oximo with other projects, mostly Pyomo and JuMP.
I expect both will outperform oximo for now, since they've had years of optimization behind them, while oximo is still quite new. I haven't focused much on performance yet, as there are still many basic features I'd like to add first. Also, creating fair benchmarks is somewhat hard, considering that each programming language is different and it is easy to screw up.
Would you be interested in working on this? Happy to discuss implementation details if so.
GermanHeim commentedon Aug 20, 2026
Some resources:
https://pyomo.github.io/performance/
https://github.com/jump-dev/JuMPPaperBenchmarks
https://github.com/jump-dev/benchmarks - https://jump.dev/benchmarks/
I'd definitely want to reach out to the JuMP and/or Pyomo maintainers before publishing any results where (and if) oximo comes out ahead, just in case there's something wrong with the benchmarks.
CMarcher commentedon Oct 6, 2026
I'd be more interested in a comparison of the model building (especially expression walking) performance rather than the actual solving (which will come down to initialisation, scaling and solver robustness). One frequent issue we have with Pyomo as a Python-based framework is that building large models and subsequently analysing them is rather slow. Profiling shows that plenty of CPU time is spent in the expression tree repeatedly visiting nodes. Even with caching, the model build time in Pyomo still isn't ideal.
GermanHeim commentedon Oct 7, 2026
@CMarcher Is there an open-source implementation of those models I could look at? A while back, I benchmarked model building for some of my small-to-medium NLP models, and oximo was 5x to 11x faster. I've still got a bunch of performance optimizations I want to try out.
CMarcher commentedon Nov 20, 2026
Sorry for the late reply. I don't have any OSS examples for you, but I would suggest asking your bot to compare a Pyomo vs Oximo implementation of a reference 1D model that has thousands of variables and potentially hard initialisation. Look through https://idaes-pse.readthedocs.io/en/2.6.0/reference_guides/model_libraries/generic/unit_models/index.html. Though the benchmark would also need to properly set up a property package and ensure the thermodynamics are equivalent on the oximo side, which could take a number of agent-hours.
GermanHeim commentedon Nov 20, 2026
Thanks!
I think using standard models from MIPLIB and QPLIB makes more sense at this stage.
Most of oximo is coded by hand, with AI agents only used for analysis, updating tests, or adjusting call sites after breaking changes. Adding a full thermodynamics package inside oximo feels out of scope for now.
We could measure construction + preparation + lowering to a common backend (Probably Gurobi, since that is what the JuMP paper uses) without actually solving the models.