#19332: Add discrete_complementarity_set() method for cones
-------------------------------------+-------------------------------------
Reporter: mjo | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.9
Component: geometry | Resolution:
Keywords: | Merged in:
Authors: Michael Orlitzky | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/mjo/ticket/19332 | 75b2f438073042e310adbcaea224959ba5f2105f
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by mjo):
I made an embarrassing mistake in my benchmarks. I've been using one big
cone for all my tests, but I accidentally saved the cone after its face
lattice was cached.
After fixing that mistake, the naive implementation takes around 400ms
consistently. The "fast" one takes over a second for the first call, and
then is much faster afterwards. But if we're going to cache the result
anyway, the naive implementation will do fine.
I've attached the cone object (without the face lattice cached!) if you
want to check. This is how I've been timing a single call.
{{{
sage: K = load('/home/mjo/K.sobj')
sage: timeit('K.discrete_complementarity_set()', repeat=1, number=1)
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/19332#comment:10>
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.