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

Sat Preprocessing Bug #18

Closed
rkaminsk opened this issue Jan 10, 2018 · 1 comment
Closed

Sat Preprocessing Bug #18

rkaminsk opened this issue Jan 10, 2018 · 1 comment

Comments

@rkaminsk
Copy link
Member

The following program becomes unsatisfiable when sat preprocessing is enabled. Without, clasp returns the expected solutions.

asp 1 0 0
1 0 1 1 0 0
1 0 1 2 0 0
1 0 1 3 0 0
5 4 2
5 5 2
1 0 1 6 0 1 -7
1 0 1 8 0 1 -9
1 0 1 7 0 0
1 0 1 4 0 1 -10
1 0 1 6 0 2 4 -9
1 0 1 4 0 2 5 -11
1 0 1 9 0 1 4
1 0 1 10 0 1 8
1 0 1 11 0 2 5 8
4 4 a(0) 1 9
4 4 a(1) 1 11
4 4 b(0) 0
4 4 b(1) 1 10
0
BenKaufmann added a commit that referenced this issue Jan 10, 2018
 * External atoms and assumptions must be marked as exempt
   from variable elimination.

 * Additionally simplify output of externals - only print
   those externals that are still external after preprocessing.
@BenKaufmann
Copy link
Contributor

Thanks.
Hopefully fixed in dev.

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

2 participants