Skip to content

Subdivide fans using PPL #16180

@novoselt

Description

@novoselt

Current Fan.subdivide() method cannot deal with fans generated by non-full-dimensional cones since it relies on PALP. In addition it is overly complicated. So let's use PPL cones for subdivision, since our toric cones already rely on them a lot. Speed-wise new method seems to work 2-3 times faster than the old one, but main advantages are brevity of code and absence of artificial limitations.

I've also cleaned up related code a bit and deprecated Cone.lattice_polytope whose primary purpose was to use PALP for subdivision.

CC: @vbraun @sagetrac-jkeitel

Component: geometry

Keywords: toric

Author: Andrey Novoseltsev

Branch/Commit: 59c8c94

Reviewer: Jan Keitel

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions