Skip to content

Improvements for is_reflexive for polyhedra over the integers #29229

@kliem

Description

@kliem

Currently, this method has almost no documentation.

Also it relies on polar to work differently for Polyhedron_ZZ than for Polyhedron_base. However, this is not being tested at all. We fix this by checking being reflexive just from the inequalities.

This also improves the error messages. We raise a ValueError if the polyhedron is unbounded. If the polytope does not have the origin in the interior, we return False, as this is clearly not reflexive.

CC: @jplab @LaisRast

Component: geometry

Keywords: polytopes, is_reflexive

Author: Jonathan Kliem

Branch/Commit: 27fa75c

Reviewer: Jean-Philippe Labbé

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions