#19042: Fallback SAT solver in Sage
-------------------------+-------------------------------------------------
Reporter: | Owner:
ncohen | Status: needs_review
Type: | Milestone: sage-6.9
enhancement | Resolution:
Priority: major | Merged in:
Component: | Reviewers:
numerical | Work issues:
Keywords: | Commit:
Authors: | eb01119cd733a39fd72aabfc7feb2114115d1526
Nathann Cohen | Stopgaps:
Report Upstream: N/A |
Branch: |
public/19042 |
Dependencies: |
-------------------------+-------------------------------------------------
Comment (by jdemeyer):
We now have `PackageNotFoundError` (in `src/sage/misc/package.py`) for
this:
{{{
except ImportError:
raise ImportError("To enable this feature, run 'sage -i
cryptominisat'.")
}}}
I remind you that this is an expensive check:
{{{is_package_installed('cryptominisat')}}}
Checking whether the `import` succeeds is a lot more efficient.
--
Ticket URL: <http://trac.sagemath.org/ticket/19042#comment:9>
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.