#19042: Fallback SAT solver in Sage
-------------------------+-------------------------------------------------
       Reporter:         |        Owner:
  ncohen                 |       Status:  needs_work
           Type:         |    Milestone:  sage-6.9
  enhancement            |   Resolution:
       Priority:  major  |    Merged in:
      Component:         |    Reviewers:  Jeroen Demeyer
  numerical              |  Work issues:
       Keywords:         |       Commit:
        Authors:         |  a4ac4458b8f5aa633047299f9db2269fdf4e74ca
  Nathann Cohen          |     Stopgaps:
Report Upstream:  N/A    |
         Branch:         |
  public/19042           |
   Dependencies:         |
-------------------------+-------------------------------------------------
Changes (by jdemeyer):

 * status:  needs_review => needs_work
 * reviewer:   => Jeroen Demeyer


Comment:

 A few more details:

 1. It's ugly that your ILP solver returns values as `0.0` and `1.0`. It
 should be converted to `True`/`False`.

 2. `Its performances` -> `Its performance`

 3. `cryptominisat_available = True` -> `solver = 'cryptominisat'` and
 `cryptominisat_available = False` -> `solver = 'LP'`. That's a lot
 cleaner: you can remove the `solver is None` checks.

 4. Please fix the `deicison` typo also in
 `src/sage/sat/converters/polybori.py`

--
Ticket URL: <http://trac.sagemath.org/ticket/19042#comment:25>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to