-
Notifications
You must be signed in to change notification settings - Fork 252
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
can't find LP file #632
Comments
Thank you for opening the issue! Apparently there's something wrong with writeLP(), since the code silently exits while trying to run it. So it isn't actually writing the LP, that's why you can't find it. Alternatively, you have writeProblem(), but I don't know if it does what you want... |
yeah the issue is that |
Thanks, @fserra! There are quite a bit of issues related (even if indirectly) to PySCIPOpt's error handling, as referenced in Issue #610. I will try to take a look at it in the future. |
yes, this is a bit annoying... I guess that ideally one would develop using the underlying scip in debug mode (then a lot more errors would pop up), but that might be too much to ask. An alternative is to start duplicating the checks that already exist in scip, e.g., add something like
I don't know what is worse |
thanks for your reply, however, it still show a error after using the function 'writeProblem'. |
This is strange @HorizonLiang... I can run the code without issue: Can it be a problem of having an outdated SCIP? Do you know which version you are using? |
I am closing the issue to clear the Issues page, but feel free to reopen it if you still have problems! |
I can't find the LP file, while runing the code showing above.
The text was updated successfully, but these errors were encountered: