Skip to content

Migrate is_lawrence_polytope and is_pyramid to combinatorial polyhedron #29189

@kliem

Description

@kliem

This ticket migrates the methods is_lawrence_polytope and is_pyramid from Polyhedron_base to CombinatorialPolyhedron.

Also, we change the output for the 0-dimensional polyhedron. It is a pyramid over the empty polyhedron, even if it is not constructable in sage.

Along the way we fix a small bug, where the trivial combinatorial polyhedron in dimension 0 was set up without vertices (and facets). The bug fix is tested by CombinatorialPolyhedron(0).is_pyramid(certificate=True).

CC: @jplab @LaisRast

Component: geometry

Keywords: pyramid, lawrence polytope, combinatorial polyhedron

Author: Jonathan Kliem

Branch/Commit: 7e25b29

Reviewer: Laith Rastanawi

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions