-
Notifications
You must be signed in to change notification settings - Fork 7
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
Incorrect count on a specific set of benchmarks #21
Comments
Ohhh waaaait now I see! OK, let me see if we managed to fix this with our fix here: #20 |
Wow, this is a bug, AGAIN.
WHAT IS GOING ON |
ExactMC is correct:
sharpSAT is also incorrect:
|
Nope, NO INCORRECT COUNT! It's incorrect CNF!
But the header says:
So the header is incorrect. With fixed header, we get:
and with
The actual diff:
We must implement a header check into GANAK! |
This part of
|
Wow! That's an in-depth catch! You're right. These CNFs should be verified before solving. |
:) I am fixing now. Here is the bugreport to sharpSAT: marcthurley/sharpSAT#14 |
Got it! Thanks for your time and efforts in digging into the bug and fixing it!!! |
OK, I got it all fixed now. If anything is off about the header, we Thanks so much @AL-JiongYang for this. It was actually quite an interesting bug to fix :) Mate |
I found Ganak always returned the same count 2^50 or 2^60 or 2^70 on a large set of benchmarks. These benchmarks probably originate from the same question according to the filename. I used default values for all options of Ganak 1.0.0.
For example, check out the instance. ApproxMC can enumerate all 1024 solutions but Ganak gives a count of 2^50.
Check out the entire set of benchmarks here.
Actually, the issue may not be due to Ganak. I checked sharpSAT gives the same problematic count of 2^50. Therefore, it's probably an underlying bug in sharpSAT.
The text was updated successfully, but these errors were encountered: