Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Primal-dual evolution event handler recipe #916

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Joao-Dionisio
Copy link
Collaborator

Based on #881, I think it's helpful to include the answer as a recipe.

It's a bit scuffed, I think one needs to capture the final state of the problem, as the event handler is not called when the solving stops.

I'm also unsure about the best way to separate things, I decided just to include the event handler in the recipe and the user would need to optimize the model themselves, as well as plot the solutions afterward. I'd be happy with better suggestions, though.

Copy link

codecov bot commented Oct 18, 2024

Codecov Report

Attention: Patch coverage is 0% with 35 lines in your changes missing coverage. Please review.

Project coverage is 53.99%. Comparing base (23e00b3) to head (53627d2).
Report is 81 commits behind head on master.

Files with missing lines Patch % Lines
src/pyscipopt/recipes/primal_dual_evolution.py 0.00% 35 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #916      +/-   ##
==========================================
+ Coverage   52.29%   53.99%   +1.70%     
==========================================
  Files          20       21       +1     
  Lines        3991     4380     +389     
==========================================
+ Hits         2087     2365     +278     
- Misses       1904     2015     +111     

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

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.

1 participant