Skip to content

Commit

Permalink
pysat: update main solver docs a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
tias committed Jul 21, 2021
1 parent 8f26c14 commit 25f73ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cpmpy/solvers/pysat.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
"""
Interface to PySAT's API
This solver can be used if the model only has Boolean variables,
and only logical constraints (and,or,xor,implies,==,!=)
===============
List of classes
===============
Expand Down Expand Up @@ -58,9 +61,6 @@ def __init__(self, cpm_model):
the PySAT docs use 'model' to refer to a solution.
Only supports satisfaction problems (no objective)
Supports only clauses at this moment!!
Support for conjunctions and implications can be added through
translation to 'aiger', see PySAT's documentation
"""
if not self.supported():
raise Exception("CPM_pysat: Install the python 'python-sat' package to use this solver interface")
Expand Down

0 comments on commit 25f73ff

Please sign in to comment.