-
Notifications
You must be signed in to change notification settings - Fork 273
SCIP 10 #1009
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
Merged
Merged
SCIP 10 #1009
Changes from 10 commits
Commits
Show all changes
72 commits
Select commit
Hold shift + click to select a range
6a4140b
Add printStatisticsJson
Joao-Dionisio 3c50d40
Implied integer stuff
Joao-Dionisio 45933b9
Add extra event types
Joao-Dionisio af1645d
minor fixes in relax.pxi
Joao-Dionisio a310db6
start of iisfinder plugin
Joao-Dionisio 3db696e
udpate inlcudeReader with the new definition, add printStatisticsJson
mmghannam 40b901a
Add assert to statistics json test
2fe7680
compilation, left iis for later
Joao-Dionisio a29aa5c
fix issues with exact scip. still no support
Joao-Dionisio 15afb8e
Merge remote-tracking branch 'origin/master' into SCIP10
Joao-Dionisio 6c126f7
fixed some tests
Joao-Dionisio b841b95
fix minor typos
Joao-Dionisio 79c88a1
changelog so I don't forget
Joao-Dionisio 703fd34
variable type tests
Joao-Dionisio f352c30
fix test_pricer bug
Joao-Dionisio 97434b5
Merge branch 'master' into SCIP10
Joao-Dionisio 81395b2
typo
Joao-Dionisio ae60d7e
IISfinder progress
Joao-Dionisio be3022e
Start of support for exact scip
Joao-Dionisio dc08654
Fix reader write (#1015)
DominikKamp ffcf001
Fix most compilation issues and warnings
Joao-Dionisio b417a92
Update IIS method and remove redeclaration
Joao-Dionisio 5d2f440
Merge branch 'master' into SCIP10
Joao-Dionisio 389ac74
Fix build error
Joao-Dionisio e2d9038
little IIS progress
Joao-Dionisio 55c99bb
iis compilation
Joao-Dionisio 3914760
some iis methods
Joao-Dionisio e9238a1
remove semicolons
Joao-Dionisio f9a781d
Change IIS methods imported
Joao-Dionisio 01757c8
remove cons_and methods that were removed in SCIP
svigerske 3e44a06
Merge branch 'SCIP10' of github.com:scipopt/PySCIPOpt into SCIP10
mmghannam c5b72dc
Update callback signatures of IISFinderExec and ReaderWrite to match …
mmghannam 48434eb
Merge branch 'master' of github.com:scipopt/PySCIPOpt into SCIP10
mmghannam a1a707f
Export IISfinder class
3b7fab3
Add simple iis tests
5c71a07
Fix write json statistics test
0f3b26a
Use deprecated implied integer type
ddb4e5d
Raise error when relaxator doesn't implement the exec callback
baac6be
Fix event tests and add another one for catching variable events
1a57360
Fix relaxator tests
113891c
Merge branch 'master' into SCIP10
mmghannam 2e53afa
Merge branch 'master' of https://github.com/scipopt/PySCIPOpt into SC…
Joao-Dionisio ba2d6ce
Merge branch 'SCIP10' of https://github.com/scipopt/PySCIPOpt into SC…
Joao-Dionisio bd9a4e3
Merge branch 'master' of github.com:scipopt/PySCIPOpt into SCIP10
Joao-Dionisio 5f8afa0
add forgotten events. tests pass
Joao-Dionisio 1c04b3c
custom iis finder test
Joao-Dionisio edc0fda
try to fix jenkins pipeline
Joao-Dionisio a030bf7
some stuff for the release
Joao-Dionisio 3235b75
more complete and passing event tests
Joao-Dionisio d42c496
typo
Joao-Dionisio e8d2b4d
correct version name
Joao-Dionisio d36054e
changelog and exact keyword
Joao-Dionisio 31362d1
update scip version
Joao-Dionisio ac40257
trying out new links
Joao-Dionisio 7fb7826
binaries will remain on github
Joao-Dionisio 3c57380
Merge branch 'SCIP10' of github.com:scipopt/PySCIPOpt into SCIP10
Joao-Dionisio bb459d6
update with new file names
Joao-Dionisio 4024b01
Merge branch 'SCIP10' of github.com:scipopt/PySCIPOpt into SCIP10
Joao-Dionisio e09fbc9
one more attempt
Joao-Dionisio 9da0614
ignoring scip deprecation warning, for now
Joao-Dionisio f54b321
try removing cached scip
Joao-Dionisio 33af1b3
revert last commit
Joao-Dionisio c90edde
some work on iis
Joao-Dionisio 88fe800
fix breaking tests with new preset
Joao-Dionisio ace9ec3
remove usage of deprecated implied integrality
Joao-Dionisio d31337a
pyscipopt style
Joao-Dionisio 249c4e2
clean up the class
Joao-Dionisio f07187d
some iis improvements
Joao-Dionisio 14053ee
more robust time testing
Joao-Dionisio bfc4c79
I think this is it
Joao-Dionisio 91c3598
cleaner iis
Joao-Dionisio 6ded37c
iis tutorial
Joao-Dionisio File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| ##@file iisfinder.pxi | ||
| #@brief Base class of the Relaxator Plugin | ||
| cdef class IISFinder: | ||
| cdef public Model model | ||
| cdef public str name | ||
|
|
||
| def iisfinderfree(self): | ||
| '''calls destructor and frees memory of iis finder''' | ||
| pass | ||
|
|
||
| def iisfinderexec(self): | ||
| '''calls execution method of iis finder''' | ||
| raise NotImplementedError("iisfinderexec() is a fundamental callback and should be implemented in the derived class") | ||
|
|
||
|
|
||
| cdef SCIP_RETCODE PyIISFinderCopy (SCIP* scip, SCIP_IISFINDER* iisfinder) noexcept with gil: | ||
| return SCIP_OKAY | ||
|
|
||
| cdef SCIP_RETCODE PyIISFinderFree (SCIP* scip, SCIP_IISFINDER* iisfinder) noexcept with gil: | ||
| cdef SCIP_IISFINDERDATA* iisfinderdata | ||
| iisfinderdata = SCIPIISfinderGetData(iisfinder) | ||
| PyRelax = <Relax>iisfinderdata | ||
| PyRelax.iisfinderfree() | ||
| Py_DECREF(PyRelax) | ||
| return SCIP_OKAY | ||
|
|
||
| cdef SCIP_RETCODE PyRelaxExec (SCIP* scip, SCIP_IISFINDER* iisfinder, SCIP_Real* lowerbound, SCIP_RESULT* result) noexcept with gil: | ||
| cdef SCIP_IISFINDERDATA* iisfinderdata | ||
| iisfinderdata = SCIPiisfinderGetData(iisfinder) | ||
| PyRelax = <Relax>iisfinderdata | ||
| result_dict = PyRelax.iisfinderexec() | ||
| assert isinstance(result_dict, dict), "iisfinderexec() must return a dictionary." | ||
| #TODO | ||
| assert False | ||
| lowerbound[0] = result_dict.get("lowerbound", <SCIP_Real>lowerbound[0]) | ||
| result[0] = result_dict.get("result", <SCIP_RESULT>result[0]) | ||
| return SCIP_OKAY | ||
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.