Skip to content

Conversation

@justinokamoto
Copy link
Contributor

@justinokamoto justinokamoto commented Jan 23, 2026

Adds the primal-dual integral statistic from the C API. It's one of the primary metrics my team uses when benchmarking different solving approaches, and I think it would be useful to expose in the Python API as well.

NOTE: Wasn't sure where to add the test. tests/test_statistics.py seemed most appropriate. But lmk if I should move it.

* Expose SCIPgetPrimalDualIntegral
* Add test
* Update CHANGELOG.md
@Joao-Dionisio
Copy link
Member

Oh man, these are my favorite PRs, where I don't need to do anything :) Thank you so much for the contribution!

@Joao-Dionisio Joao-Dionisio self-requested a review January 25, 2026 10:08
@Joao-Dionisio Joao-Dionisio merged commit 0e2a79f into scipopt:master Jan 25, 2026
3 checks passed
@justinokamoto
Copy link
Contributor Author

Thanks for the quick review!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants