Closed 75e7fb91-3597-4c8d-83a5-ad18747e8640 closed 10 years ago
Attachment: backend.py.gz
Basic backend
Clause, CNFFormula
Attachment: sat.py.gz
String Processing for MiniSAT
Attachment: minisat.py.gz
See also #418.
See also #418.
Given recent activity there, is this a dup? Of course, there is code here (and #11479) which could be useful, so I won't make that call.
Agreed! I started from scratch because it was simpler for me but we should merge. Perhaps you could add a "DIMACS" solver to sage.sat.solvers which would understand the same commands as my cryptominisat solver interface (which we can change to suite your needs as well). This way my higher level code would still be applicable, e.g., the ANF to CNF conversion and the solve() function?
I added DIMACS solvers to !#418.
What are we going to do with this ticket? There hasn't been any movement in months and there's #418? Close it?
Most of the suggested features now seem to be available in sage.sat
, but some ideas may still be relevant. What do people think?
Wouldn't it be better to open a new ticket for (each of) the features that you consider missing from sage.sat
?
Wouldn't it be better to open a new ticket for (each of) the features that you consider missing from
sage.sat
?
I agree. With that in mind, let's also close #5671 and open new tickets for new features. mmezzarobba, is that okay?
Replying to @kcrisman:
Wouldn't it be better to open a new ticket for (each of) the features that you consider missing from
sage.sat
?I agree. With that in mind, let's also close #5671 and open new tickets for new features. mmezzarobba, is that okay?
Sorry, apparently I wasn't clear: I was actually suggesting to close this ticket (hence the change to the milestone field), and I don't feel a need for new tickets about the ideas listed here, but I thought some of the ticket's participants might.
Oh. PLease add me in CC of any sat-related ticket you might create :-)
Nathann
Since sage does not have any boolean satisfiablity support, we should change this :-)
Implement a simple interface to SAT solvers:
Ideas: 1) Data structures
Further ideas: 5) direct C++ Interface (suggested by Martin)
Some ideas are attached:
sat.py implements
backend.py
CC: @malb @nathanncohen @haraldschilly @sagetrac-tmonteil
Component: misc
Author: Johannes Fichte
Issue created by migration from https://trac.sagemath.org/ticket/11479