#20506: dual variables handling in SDP solver(s)
-------------------------+-------------------------------------------------
Reporter: | Owner:
dimpase | Status: needs_review
Type: | Milestone: sage-7.2
enhancement | Resolution:
Priority: major | Merged in:
Component: | Reviewers:
numerical | Work issues:
Keywords: | Commit:
Authors: Dima | 73e2bf6b76fcecdd4f388caa8c3016707aa5013f
Pasechnik | Stopgaps:
Report Upstream: N/A |
Branch: |
u/dimpase/sdpdual |
Dependencies: |
#19072 |
-------------------------+-------------------------------------------------
Comment (by dimpase):
Replying to [comment:2 mkoeppe]:
> I'm a bit puzzled why you would want doctests for the particular
floating point noise that you get from this version of the solver. Seems
like extra work every time the package is upgraded?
I tried to round things using '...' etc as much as possible. I can in
principle go
further with replacing things like
{{{
sage: (p.slack(0)*p.dual_variable(0)).trace()
1.71...e-07
}}}
by
{{{
sage: 0.0e0 <= (p.slack(0)*p.dual_variable(0)).trace() < 1.75e-07
True
}}}
Eventually we should think how to adapt your testing framework to SDP.
--
Ticket URL: <http://trac.sagemath.org/ticket/20506#comment:3>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.