Skip to content

Conversation

michaelbynum
Copy link
Contributor

Fixes #849 .

Summary/Motivation:

The primary purpose of the PR is to port the direct and persistent interfaces for SCIP from #3200 to contrib/solver. I worked off of the branch created by @Opt-Mucca, so all of their commits are preserved. I will close #3200 shortly.

Changes proposed in this PR:

  • Create direct and persistent interfaces to SCIP
  • Expand the API of the ModelChangeDetector in contrib/observer slightly

Legal Acknowledgement

By contributing to this software project, I have read the contribution guide and agree to the following terms and conditions for my contribution:

  1. I agree my contributions are submitted under the BSD license.
  2. I represent I am authorized to make the contributions and grant the license. If my employer has rights to intellectual property that includes these contributions, I represent that I have received permission to make contributions and grant the required license on behalf of that employer.

Opt-Mucca and others added 30 commits March 18, 2024 15:14
Copy link

codecov bot commented Oct 6, 2025

Codecov Report

❌ Patch coverage is 79.12850% with 752 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.66%. Comparing base (7deb912) to head (b037b9c).
⚠️ Report is 392 commits behind head on main.

Files with missing lines Patch % Lines
pyomo/contrib/solver/solvers/scip/scip_direct.py 29.17% 483 Missing ⚠️
...contrib/solver/solvers/gurobi/gurobi_persistent.py 89.20% 88 Missing ⚠️
pyomo/contrib/observer/model_observer.py 92.66% 43 Missing ⚠️
...omo/contrib/doe/examples/rooney_biegler_example.py 21.05% 30 Missing ⚠️
pyomo/contrib/parmest/parmest.py 91.48% 23 Missing ⚠️
pyomo/contrib/solver/common/solution_loader.py 69.86% 22 Missing ⚠️
...ontrib/solver/solvers/gurobi/gurobi_direct_base.py 89.51% 15 Missing ⚠️
pyomo/contrib/viewer/qt.py 0.00% 9 Missing ⚠️
...omo/contrib/solver/solvers/gurobi/gurobi_direct.py 93.54% 8 Missing ⚠️
pyomo/contrib/solver/solvers/sol_reader.py 63.15% 7 Missing ⚠️
... and 10 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3744      +/-   ##
==========================================
- Coverage   89.19%   85.66%   -3.54%     
==========================================
  Files         892      900       +8     
  Lines      103100   105231    +2131     
==========================================
- Hits        91956    90141    -1815     
- Misses      11144    15090    +3946     
Flag Coverage Δ
builders ?
default 85.58% <79.12%> (?)
expensive 35.72% <35.47%> (?)
linux ?
linux_other ?
osx ?
win ?
win_other ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

Python interface to SCIP persistent solver
4 participants