Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Adding kissat to SAT list of options
Browse files Browse the repository at this point in the history
  • Loading branch information
seblabbe committed Jan 15, 2023
1 parent ba249f6 commit b1e287d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/sage/sat/solvers/satsolver.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,11 @@ def SAT(solver=None, *args, **kwds):
sage: SAT(solver="glucose-syrup")
DIMACS Solver: 'glucose-syrup -model -verb=2 {input}'
Forcing Kissat::
sage: SAT(solver="kissat")
DIMACS Solver: 'kissat -q {input} {output}'
"""
if solver is None:
import pkgutil
Expand All @@ -393,5 +398,8 @@ def SAT(solver=None, *args, **kwds):
elif solver == 'glucose-syrup':
from .dimacs import GlucoseSyrup
return GlucoseSyrup(*args, **kwds)
elif solver == 'kissat':
from .dimacs import Kissat
return Kissat(*args, **kwds)
else:
raise ValueError("Solver '{}' is not available".format(solver))

0 comments on commit b1e287d

Please sign in to comment.