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

cryptosat solver is listed, but can't be used #176

Open
Wout4 opened this issue Jul 18, 2024 · 5 comments
Open

cryptosat solver is listed, but can't be used #176

Wout4 opened this issue Jul 18, 2024 · 5 comments

Comments

@Wout4
Copy link

Wout4 commented Jul 18, 2024

On linux, when looking up the available solvers with

from pysat.solvers import SolverNames
print(vars(SolverNames).items())

we find the solver 'cryptosat', but the program crashes when trying to use this solver:

from pysat.solvers import Solver
s = Solver(name='cms')

Even when we installed pycryptosat (pip install pycyptosat) or pip install python-sat[cryptosat]

@alexeyignatiev
Copy link
Collaborator

That's weird. Can you access the solver directly from the pycryptosat package? If yes, what version of pycryptosat do you have?

@Wout4
Copy link
Author

Wout4 commented Jul 18, 2024

The same code works with any other solver, what do you mean with accessing the solver directly?

@alexeyignatiev
Copy link
Collaborator

Of course other solvers work - they are shipped with the toolkit. CryptoMiniSat is different in this regard because it is a part of another package. I meant whether or not the solver is actually installed and runnable from its package directly.

@Wout4
Copy link
Author

Wout4 commented Jul 18, 2024

I see, it seems to be an issue with their latest release (5.11.22, called 5.11.23 on pypi), will open an issue with pycryptosat. Thank you

@alexeyignatiev
Copy link
Collaborator

No worries!

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