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

Auto translate PB constraints to clauses #79

Open
MaxOstrowski opened this issue Jun 3, 2021 · 1 comment
Open

Auto translate PB constraints to clauses #79

MaxOstrowski opened this issue Jun 3, 2021 · 1 comment

Comments

@MaxOstrowski
Copy link
Member

Automagically translate some of the pb constraints into clauses, with a similar heuristic as clasp does.
Isn't this the same as simply translating the original linear constraint into clauses instead of using a PB constraint ?

@rkaminsk
Copy link
Member

Isn't this the same as simply translating the original linear constraint into clauses instead of using a PB constraint ?

This depends on the translation we implement. For example, clingcon's constraint to clause translation does not introduce auxiliary variables. Some PB-translations introduce auxiliary variables to achieve more compact representations. Introducing auxiliary variables is actually also something interesting that could be considered when translating constraints to clauses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants