-
-
Notifications
You must be signed in to change notification settings - Fork 702
Description
In order to make CombinatorialPolyhedron more consistent with Polyhedron, we replace ridge_graph by facet_graph.
In case of of the half space this makes a difference, as there is a facet, but no ridges.
For now we keep ridge_graph and add a deprecation warning.
While we are at it, we fix some bugs:
-
CombinatorialPolyhedron.ridges(names=False, add_equalities=True)ignoresadd_equalities=Truenow.Equalities do not carry indices and can only be added with
names=True. -
facet_graphis now aware of the following:
a ridge inridgesis a tuple of indices withnames=Falseand a tuple of tuples withnames=Trueandadd_equalities=True,e.g.
(1,2)vs.(('my_vertex_1',), ('my_vertex_2',)). -
ridgesnow appends equations at the end. This is consistent withFaceIterator.Hrepresentation.
Depends on #28603
Component: geometry
Keywords: polytopes, combinatorial polyhedron
Author: Jonathan Kliem
Branch/Commit: 9d93a14
Reviewer: Laith Rastanawi
Issue created by migration from https://trac.sagemath.org/ticket/28604