#5671: Wrap miniSAT.
-------------------------+--------------------------------------------------
Reporter: boothby | Owner: boothby
Type: enhancement | Status: new
Priority: minor | Milestone: sage-3.4.2
Component: packages | Keywords:
-------------------------+--------------------------------------------------
Comment(by was):
With just the posted code to this point:
{{{
sage: S = minisat.Solver(verbosity=2)
sage: S.new_var()
0
sage: S.new_var()
1
sage: S.new_var()
2
sage: S.new_var()
3
sage: S.add_clause([1])
pushing lit.p = Literal 1
sage: S.add_clause([2])
pushing lit.p = Literal 2
sage: S.solve()
============================[ Search Statistics
]==============================
| Conflicts | ORIGINAL | LEARNT |
Progress |
| | Vars Clauses Literals | Limit Clauses Lit/Cl |
|
===============================================================================
| 0 | 0 0 0 | 0 0 nan |
0.000 % |
===============================================================================
Verified 0 original clauses.
True
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5671#comment:3>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---