Repository navigation
Conversation
Closes #29 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #44 +/- ##
==========================================
+ Coverage 97.75% 99.63% +1.87%
==========================================
Files 10 11 +1
Lines 223 274 +51
Branches 64 87 +23
==========================================
+ Hits 218 273 +55
+ Misses 4 0 -4
Partials 1 1
|
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…re branches Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
# Conflicts: # changelog.md
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #29
Plugins derived from SCIP's ObjSCIP base classes can now be used without touching the raw
SCIP*.API
Model::include<Plugin>(args...)constructs and includes a plugin derived fromObjBranchrule,ObjConshdlr,ObjCutsel,ObjDisp,ObjEventhdlr,ObjHeur,ObjIISfinder,ObjNodesel,ObjPresol,ObjPricer,ObjProp,ObjReader,ObjRelax, orObjSepa. The plugin is constructed by SCIP++ because the base classes need theSCIP*in their constructors. SCIP takes ownership, the method returns a non-owning pointer ornullptrif including failed. Pricers are activated after including them.Model::includeBenders<Benders>(nSubproblems, args...)includes and activates a Benders' decomposition together with SCIP's default Benders' cuts.Model::includeBenderscut<Cut>(benders, args...)includes a custom Benders' cut.Model::setMessagehdlr(std::unique_ptr<ObjMessagehdlr>)installs a message handler.Modelconstructor takesstd::unique_ptr<ObjProbData>, a newModel::addVaroverload takesstd::unique_ptr<ObjVardata>.ObjTableis not supported because SCIP does not export it from its shared library, see scipopt/scip#222.Notes
ObjConshdlrplugins must be included withneedscons = FALSE, as SCIP++ cannot create constraints of a custom handler. The readme documents this and the other per-class caveats.🤖 Generated with Claude Code