-
-
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
Implement wedge over a face of Polyhedron #27973
Comments
This comment has been minimized.
This comment has been minimized.
comment:2
As the Sage-8.8 release milestone is pending, we should delete the sage-8.8 milestone for tickets that are not actively being worked on or that still require significant work to move forward. If you feel that this ticket should be included in the next Sage release at the soonest please set its milestone to the next release milestone (sage-8.9). |
Changed keywords from polytopes to polytopes, days100 |
Commit: |
Author: Laith Rastanawi |
Changed keywords from polytopes, days100 to polytopes, days100, wedge, facet |
Branch: public/27973 |
comment:6
Hi,
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:9
Replying to @jplab: Thanks. Done. |
comment:10
Seems like there are tab character in reference/index.rst There seems to be many errors in the bot too... |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:12
The description of the ticket is still only about facets. |
comment:13
Please preserve the backend and base ring as in #27926. |
comment:45
The problem is not float. A float is going to change backend to Let Hence, intersection might change the backend (it might prefer backend of Now, if we create a polyhedron |
comment:46
I thought that the solution since the beginning is to query the backend of Hence, try to create I would let In the end, that the backend is not preserved by an operation which is not intended to, is not the end of the world. Is it? |
comment:47
Replying to @jplab:
This is exactly what
It will always prefer the backend of the polyhedron with larger ring due to coercion.
It is a pain, if it could have been prevented. If working with large polyhedra, which are manageable with To ask a user to to |
comment:48
By the way, I don't really care how one initialized |
comment:49
Replying to @kliem:
Ok, fine. But I would not do this business with
Obviously.
Sudle? I am not sure to understand what you mean. Do you have any concrete suggestion for the code now? |
comment:50
Replying to @jplab:
In many cases polyhedra will by default be set up with base ring
If a user wants to keep his backend and we ask him to change the base ring to |
comment:51
A few comments:
Because we are using
|
comment:52
Replying to @jplab:
I agree that is makes no sense to use the field of fractions, when If we just pass the |
comment:53
Replying to @kliem:
I guess not.
Yes, to me that's probably the best intermediate to proceed this way and let the intersection deal with the rest. |
comment:54
Merged with newest develop. New commits:
|
Changed branch from public/27973 to public/27973-new |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:56
Tried to simplify construction of Btw, I also tried to preserve the |
comment:57
The sentence: + The base_ring will change to the field of fractions of the current
+ base_ring, unless width forces a different ring. is still confusing as it says that the base ring always will change to the field of fractions. What if it stays as ZZ? (which is possible). This should be fixed... The rest seems to be good. |
comment:58
Replying to @jplab:
I don't think so.
|
comment:59
Replying to @kliem:
Ok... fine. |
comment:60
Is this good to go now? |
Changed author from Laith Rastanawi to Laith Rastanawi, Jonathan Kliem |
Reviewer: Jean-Philippe Labbé |
Changed branch from public/27973-new to |
From https://www.csun.edu/~ctoth/Handbook/chap15.pdf:
The wedge over a facet
F
of a polytopeP
is defined as:(P \times \mathbb{R}) \cap \{a^\top x +|x_{d+1}| \leq b\}
where
F
is a facet defined bya^\top x leq b
.It has dimension
d+1
,m+1
facets, and2n-n_F
vertices, ifF
hasn_F
vertices. More generally, the wedge construction can be performed (defined by the same formula) for a faceF
.CC: @jplab @LaisRast @kliem
Component: geometry
Keywords: polytopes, days100, wedge, facet
Author: Laith Rastanawi, Jonathan Kliem
Branch/Commit:
38944ad
Reviewer: Jean-Philippe Labbé
Issue created by migration from https://trac.sagemath.org/ticket/27973
The text was updated successfully, but these errors were encountered: