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

Wrong result on test case MaxSAT-keller4-1212.clq.wcnf.sdimacs #3

Open
nianzelee opened this issue Sep 4, 2020 · 4 comments
Open
Assignees
Labels

Comments

@nianzelee
Copy link
Member

The solver produces a wrong result on the test case benchmarks/ssatER/MaxCount/sdimacs/MaxSAT-keller4-1212.clq.wcnf.sdimacs.

The reported probability is 9.755859e-01 with the default configuration, i.e., running

ss benchmarks/ssatER/MaxCount/sdimacs/MaxSAT-keller4-1212.clq.wcnf.sdimacs

However, if the greedy minimization is turned off,

ss -g benchmarks/ssatER/MaxCount/sdimacs/MaxSAT-keller4-1212.clq.wcnf.sdimacs

The reported probability becomes 8.520508e-01.

The discrepancy clearly indicates a bug.

@nianzelee
Copy link
Member Author

@yen-shi , could you please take a look into this issue, if you happen to have some spare time?

@nianzelee
Copy link
Member Author

@perry0513 , could you please comment more on your findings about this bug?

@perry0513
Copy link

Hi @nianzelee and @yen-shi !
With the greedy minimization turned on, the solver reports probability 9.755859e-01 with the assignment of the existential variables being
-1 -2 -3 4 -5 -6 ... -12 13 14 15 ... 41 42

However, if the existential assignment
-1 -2 -3 -4 -5 -6 ... -12 13 14 15 ... 41 42
is applied (by adding them as unit clauses to the formula), the solver produces probability 9.833984e-01.

@nianzelee
Copy link
Member Author

The problem with the -g option also arises in the instance er-random-k-CNF/rand-3-30-150-15.57.sdimacs.

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

3 participants