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

Solving terminates on missing incumbent #600

Closed
stefanvanberkum opened this issue Jun 15, 2022 · 1 comment
Closed

Solving terminates on missing incumbent #600

stefanvanberkum opened this issue Jun 15, 2022 · 1 comment
Labels

Comments

@stefanvanberkum
Copy link

Hi all,

I just noticed that during solving, calling getCutLPSolCutoffDistance(cut, model.getBestSol()) causes the solving to exit silently (i.e., terminate without any warning or error), if no incumbent exists (model.getNSols() = 0). In this case, no solution is returned, and no error is thrown as well. I think throwing an error would be a good feature to avoid any confusion, so I figured I'd let you know! I am running PySCIPOpt 4.2.0 (installed via Conda as recommended) with Python 3.9.

@Joao-Dionisio
Copy link
Collaborator

This issue is older, but I think it makes sense to redirect it to Issue #610 about generic PySCIPOpt error handling.

Thank you very much for the heads-up!

@Joao-Dionisio Joao-Dionisio closed this as not planned Won't fix, can't repro, duplicate, stale Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants