Skip to content

Commit

Permalink
don't give pycryptosat as valid subsolver
Browse files Browse the repository at this point in the history
  • Loading branch information
Wout4 committed Jul 18, 2024
1 parent 5632cae commit 57afb5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
python -m pip install --upgrade pip
pip install flake8 pytest requests pandas
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install python-sat[aiger,approxmc,cryptosat,pblib]
pip install python-sat
pip install z3-solver
pip install exact
pip install pysdd
Expand Down
2 changes: 1 addition & 1 deletion cpmpy/solvers/pysat.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def solvernames():
from pysat.solvers import SolverNames
names = []
for name, attr in vars(SolverNames).items():
if not name.startswith('__') and isinstance(attr, tuple):
if not name.startswith('__') and isinstance(attr, tuple) and not 'crypto' in name:
if name not in attr:
name = attr[-1]
names.append(name)
Expand Down

0 comments on commit 57afb5a

Please sign in to comment.