Skip to content

vertex facet graph for trivial polyhedra fails #29898

@kliem

Description

@kliem

The vertex facet graph of CombinatorialPolyhedron only works for polyhedra of dimension at least one. With #29188 this makes it fail with for Polyhedron_base as well.

We fix this to return

We also "fix" the definition of facets to correspond to inequalities.
The 0-dimensional polyhedron does not have facets in this case anymore.
(Before this ticket n_facets and facets would use different definitions of facets.)

CC: @jplab @LaisRast

Component: geometry

Keywords: polyhedra, vertex facet graph

Author: Jonathan Kliem

Branch: 25cfaa0

Reviewer: Matthias Koeppe

Issue created by migration from https://trac.sagemath.org/ticket/29898

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions