Skip to content

Add enableDebugSol following discussion on mailing list #1013

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Joao-Dionisio
Copy link
Member

@Joao-Dionisio Joao-Dionisio commented Jun 27, 2025

See details here: https://listserv.zib.de/pipermail/scip/2025-June/005038.html

Want to add tests before merging. In general, it might be good to have some of the tests run on debug mode. Any opinion @DominikKamp?

@DominikKamp
Copy link
Contributor

In my opinion the debug solution mechanism could be enabled in Model.__init__() like in SCIPrunShell() maybe controlled by an additional parameter. Interfacing SCIPenableDebugSol() is also okay. But then SCIPdisableDebugSol() should be added as well.

@Joao-Dionisio
Copy link
Member Author

Sounds good, Dominik, thank you! Mark raised a valid point, however, of having code working only for specific SCIP builds. I'm going to add an assert that SCIP is indeed in debug mode, just need to figure out what to query from SCIP.

@DominikKamp
Copy link
Contributor

I guess you actually want to check whether WITH_DEBUG_SOLUTION is defined.

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.

2 participants