-
Notifications
You must be signed in to change notification settings - Fork 117
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
assertion fail in cbc #684
Comments
Works in master - can reproduce error in stable. Will look at it. |
Thanks for the quick response! I have lots more example mps files that reproduce this if you need any. |
I just tried the x86_64-ubuntu22-gcc1140-static.tar.gz build from the tag here and it passed: https://github.com/coin-or/Cbc/releases/tag/releases%2F2.10.12 So this was probably fixed in the meantime, somewhere between 2.10.7 and 2.10.12. I was using an older version only for convenience of installing with
|
There was an error in the assert code. This had been fixed in master so I have copied that to stable. Just added
before assert |
For a particular MPS file I am hitting this assertion fail in cbc, using 2.10.7 on ubuntu 22.04:
The mps file that provokes this is attached below:
fail.mps.txt
I also tried setting the random seed, same result:
I must assume that there is something invalid about the MPS file but I am not smart enough about CBC or the MPS format to know what it is! In any case I'd think that an appropriate error messages instead of an assertion fail would be wanted here. Assertions really should not happen even if the input is somehow bad right?
Thanks for looking!
The text was updated successfully, but these errors were encountered: