-
-
Notifications
You must be signed in to change notification settings - Fork 480
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
Dimension of Polyhedron is not well defined #12193
Comments
Dependencies: #11763 |
comment:1
Fixed by attached patch. |
This comment has been minimized.
This comment has been minimized.
Author: Volker Braun |
comment:2
I've added a new patch which will stop the patchbot whining about trailing whitespace and commit messages. Apply trac_12193_fix_dimension-v2.patch |
comment:3
I'm fine with your changes :-) |
comment:6
Rediffed for sage-5.0.beta11, nothing of interest changed. |
comment:7
Please fill in your real name as Reviewer. |
comment:8
Rebased for #11763 |
Reviewer: David Loeffler |
comment:12
For the patchbot: apply trac_12193_fix_dimension.patch only |
comment:13
The patchbot found a machine-dependent issue in a cmp() doctest, fixed now. |
Updated patch |
comment:14
Attachment: trac_12193_fix_dimension.patch.gz Updated patch to push one patch hunk down to #11763. |
Merged: sage-5.6.beta3 |
Given a vector space V and a polyhedron P, the dimension of P is the dimension of its affine hull, i.e. the smallest affine subspace of V in which P can live. (For a reference, see G.M. Ziegler's book "Lectures on Polytopes" p.5)
Right now, the dimension of a Polyhedron is defined as:
But this is obviously not the truthful definition. With the way things are now, this leads to various problems such as:
While the right answer should be -1.
One can produce many other examples...
Apply trac_12193_fix_dimension.patch
Depends on #11634
Depends on #13638
Depends on #11763
Component: geometry
Keywords: dimension, polytope, polyhedron
Author: Volker Braun
Reviewer: David Loeffler
Merged: sage-5.6.beta3
Issue created by migration from https://trac.sagemath.org/ticket/12193
The text was updated successfully, but these errors were encountered: