Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
documentated that backend field is fast
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Kliem committed Aug 11, 2020
1 parent aa1afe8 commit b28e980
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/sage/geometry/polyhedron/library.py
Original file line number Diff line number Diff line change
Expand Up @@ -2520,6 +2520,15 @@ def permutahedron(self, n, project=False, backend=None):
sage: perm4.graph().is_isomorphic(graphs.BubbleSortGraph(4))
True
As both Hrepresentation an Vrepresentation are known, the permutahedron can be set
up with both using the backend ``field``. The following takes very very long time
to recompute, e.g. with backend ``ppl``::
sage: polytopes.permutahedron(8, backend='field') # (~1s)
A 7-dimensional polyhedron in QQ^8 defined as the convex hull of 40320 vertices
sage: polytopes.permutahedron(9, backend='field') # long time -- (~5s)
A 8-dimensional polyhedron in QQ^9 defined as the convex hull of 362880 vertices
.. SEEALSO::
* :meth:`~sage.graphs.graph_generators.GraphGenerators.BubbleSortGraph`
Expand Down

0 comments on commit b28e980

Please sign in to comment.