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

Gives non-satisfying assignments as output #2

Open
yashpote opened this issue Nov 3, 2019 · 0 comments
Open

Gives non-satisfying assignments as output #2

yashpote opened this issue Nov 3, 2019 · 0 comments

Comments

@yashpote
Copy link

yashpote commented Nov 3, 2019

Hi,

I ran this command
python3 waps.py registerlesSwap.sk_3_10.cnf

The samples I got were
1, -2 -3 4 5 -6 7 -8 9 -10 -11
2, -2 3 -4 5 -6 -7 -8 -9 10 -11
3, 2 3 4 5 -6 7 -8 9 -10 -11
4, 2 3 4 -5 6 7 8 -9 -10 -11
5, -2 -3 4 5 -6 7 -8 9 -10 -11
6, -2 3 -4 -5 6 7 8 9 -10 -11
7, 2 -3 4 -5 6 7 8 -9 -10 -11
8, 2 -3 4 5 -6 7 8 -9 -10 -11
9, -2 -3 4 5 -6 7 8 -9 -10 -11
10, -2 -3 -4 -5 6 7 8 -9 -10 -11

The second sample does not satisfy the CNF.
This can be confirmed by adding the clause 10 0 to the CNF and then
cryptominisat5 registerlesSwap.sk_3_10_extraClause.cnf which returns UNSAT

registerlesSwap.sk_3_10_extraClause.zip
registerlesSwap.sk_3_10.zip

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