#18297: Increase tolerance in a doctest in linear programming tutorial
-----------------------------+-------------------------------------
Reporter: vdelecroix | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.7
Component: documentation | Keywords:
Merged in: | Authors: Vincent Delecroix
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
-----------------------------+-------------------------------------
If one has `Coin-or` installed (and a self compiled version of Sage) then
a doctest fails in the linear programming tutorial
{{{
sage -t linear_programming.rst
**********************************************************************
File "linear_programming.rst", line 432, in
doc.en.thematic_tutorials.linear_programming
Failed example:
p.solve() # rel tol 2e-12
Expected:
2.0
Got:
2.0000000000040004
Tolerance exceeded:
2.0 vs 2.0000000000040004, tolerance 2e-12 > 2e-12
**********************************************************************
}}}
We just increase the tolerance to `2e-11`.
See also [https://groups.google.com/forum/#!topic/sage-devel/XpvyN3FzGEs
this sage-devel thread].
--
Ticket URL: <http://trac.sagemath.org/ticket/18297>
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.