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

Skipping variable indices heavily impacts performance #120

Open
Tobs40 opened this issue Feb 12, 2023 · 1 comment
Open

Skipping variable indices heavily impacts performance #120

Tobs40 opened this issue Feb 12, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@Tobs40
Copy link

Tobs40 commented Feb 12, 2023

I iteratively added clauses to an initially empty formula to be sat-solved with glucose3. For convenience, I translated between my 2D problem and the variable indices by multiplying the first coordinate with a large number, then adding the second one. It seems to be the case that the performance becomes (much!) worse the larger this number becomes. Maybe add an internal conversion so that no variables are skipped?

@alexeyignatiev
Copy link
Collaborator

Sure, PRs are more than welcome! :)

@alexeyignatiev alexeyignatiev added the enhancement New feature or request label Feb 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants