-
-
Notifications
You must be signed in to change notification settings - Fork 481
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Polyhedron constructors: minimal vs. non-minimal input representations; input both Vrep and Hrep #26366
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:4
Here is just a note about constructing from both V- and H- representation: The method |
This comment has been minimized.
This comment has been minimized.
Commit: |
Author: Matthias Koeppe, ... |
comment:7
This is an early draft, with the purpose of supporting #31799. Comments and improvements to the design are very welcome. One thing needed for #31799 is finding the parent early - then, for parents that implement init from both representations, one could efficiently compute the double description before calling the element constructor. New commits:
|
comment:11
What is the status here? I think the minimal/non-minimal issue should really be fixed. In a way, it is only relevant for I really don't know what name choices what make sense and involve little deprecation. |
Follow-up from #17339 - Polyhedron class mistreats empty inputs.
As suggested in #17339 comment:5, we complement the
Polyhedron
constructor with several new constructors with simpler semantics.Polyhedron.from_Vrep
Polyhedron.from_Hrep
Polyhedron.empty
We also add a constructor
Polyhedron.from_Vrep_and_Hrep
that accepts both Vrep and Hrep (backend work for this appears on #22701, #26368).But there are open questions regarding the possible design. All
Polyhedron
methods currently guarantee minimal representations. This is reflected also in the names of methods for accessing the V-represenation, such asvertex_generator
; but not in those for the H-representation (inequality_generator
). (Note theminimize
argument is unused in the wholePolyhedron
code.) Compare with polymake, which has a clear distinction between minimal and non-minimal presentations (VERTICES vs. POINTS). This ia addressed in #34327.Follow-up / related:
as_polyhedron
method inface.py
Polyhedron
CC: @jplab @seblabbe @kliem @yuan-zhou
Component: geometry
Author: Matthias Koeppe, ...
Branch/Commit: u/mkoeppe/polyhedron_constructors__minimal_vs__non_minimal_input_representations__input_both_vrep_and_hrep @
05fef94
Issue created by migration from https://trac.sagemath.org/ticket/26366
The text was updated successfully, but these errors were encountered: