-
-
Notifications
You must be signed in to change notification settings - Fork 453
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #27987: CombinatorialPolyhedron improve initialization, remove b…
…ug for unbounded polyhedra `CombinatorialPolyhedron` as of #26887 only requires the number of lines (as `n_lines` in `Polyhedron_base`). This does not suffice, as {{{ sage: P1 = Polyhedron(vertices=[[0,1],[1,0]], rays=[[1,1]]) sage: P2 = Polyhedron(vertices=[[0,1],[1,0],[1,1]]) sage: P1.incidence_matrix() == P2.incidence_matrix() True }}} Instead of just specifying the `n_lines`, one should specify `unbounded` and a far face. Unfortunately, determining the rays from just the incidence matrix does not seem to work. Now with the far face at hand anyway, it's much easier to determine the (combinatorial) vertices. URL: https://trac.sagemath.org/27987 Reported by: gh-kliem Ticket author(s): Jonathan Kliem Reviewer(s): Travis Scrimshaw
- Loading branch information
Showing
4 changed files
with
124 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.