#10817: implementation of the generalized associahedron as a polyhedral complex
----------------------------------------------------+-----------------------
Reporter: stumpc5 | Owner:
Type: enhancement | Status:
needs_work
Priority: major | Milestone: sage-5.0
Component: combinatorics | Keywords:
associahedra
Work_issues: | Upstream: N/A
Reviewer: Frédéric Chapoton, Nicolas M. Thiéry | Author:
Christian Stump
Merged: | Dependencies:
----------------------------------------------------+-----------------------
Comment(by nthiery):
Replying to [comment:23 stumpc5]:
> But now I see that the two machines you are using sort this list
differently - in particular, we have no chance to get no failure on any of
the two machines you used...
>
> Any suggestions?
What about:
{{{
sage: sorted(Asso.Hrepresentation(), key=repr)
[An inequality (-1, 0) x + 1 >= 0, An inequality (0, -1) x + 1 >= 0,
An inequality (0, 1) x + 1 >= 0, An inequality (1, 0) x + 1 >= 0, An
inequality (1, 1) x + 1 >= 0]
}}}
Then the result should be sorted according to their string
representation, and string comparison should be platform independent.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10817#comment:24>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.