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

Add a callback to modify the subproblem on numerical difficulty #790

Merged
merged 3 commits into from
Oct 16, 2024

Conversation

odow
Copy link
Owner

@odow odow commented Oct 14, 2024

Closes #774

Copy link

codecov bot commented Oct 14, 2024

Codecov Report

Attention: Patch coverage is 90.47619% with 2 lines in your changes missing coverage. Please review.

Project coverage is 93.54%. Comparing base (3b2570b) to head (2fe9cb5).
Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
src/plugins/duality_handlers.jl 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #790      +/-   ##
==========================================
+ Coverage   93.41%   93.54%   +0.13%     
==========================================
  Files          26       26              
  Lines        3509     3519      +10     
==========================================
+ Hits         3278     3292      +14     
+ Misses        231      227       -4     

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

return
end
SDDP.set_numerical_difficulty_callback(model, callback)
```
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@joaquimg take a read of this docstring. Is it what you were after?

@odow odow merged commit 8d24b0f into master Oct 16, 2024
7 of 8 checks passed
@odow odow deleted the od/numeric-callback branch October 16, 2024 02:45
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.

Add a callback to let the user modify a subproblem when numerical difficulties found
1 participant