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

A potential bug with CNF Examples while using Approxmc #50

Open
Annlean opened this issue Mar 29, 2024 · 0 comments
Open

A potential bug with CNF Examples while using Approxmc #50

Annlean opened this issue Mar 29, 2024 · 0 comments

Comments

@Annlean
Copy link

Annlean commented Mar 29, 2024

Hi!
I recently encountered an issue while utilizing Approxmc. I attempted to process two CNF files using Approxmc. I set the timeout of running the model counter to 600 seconds.
The new.cnf file is generated by performing the operation of replacing positive literals with negative literals and vice versa on the origin.cnf file. Both CNF files should have the same number of satisfiable solutions. However, the output of Approxmc for origin.cnf was 7995392, and for new.cnf it is 6422528. The results for the two CNF files are different. Despite Approxmc is an approximate model counter, the numerical difference should not be so significant for values that are expected to be equal.
I think Approxmc may have a potential bug, and I hope this information can assist you to address the potential bugs. The two example files are attached here for your reference.
Best regards,

Haiyan and Jifeng
CSTAR group

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

No branches or pull requests

1 participant