-
-
Notifications
You must be signed in to change notification settings - Fork 488
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 RDF face lattice bug / intersection of polyhedra #21270
Comments
comment:4
misleading comment deleted |
Changed keywords from none to polyhedron, days84 |
comment:6
Apperently something goes wrong when taking the intersection of a polyhedron in RDF and one in QQ:
|
comment:7
Here is a smaller example of the failing intersection between QQ and RDF polyhedra:
The last command then raises The relevant function in base.py reads:
So in the example above we have in the new_ieqs variable:
Which leads to the unexpected behaviour |
Branch: u/moritz/21270 |
comment:9
This commit fixes the instances of the problem, that I added. The original thing is still not working, but this is now another bug (more later). New commits:
|
Commit: |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:11
Now it works.. |
This comment has been minimized.
This comment has been minimized.
comment:13
I submitted a fix to this bug. Explanation: This helped with the examples above. In the original question there was another problem: in the method
Then I was able to produce the plot. |
This comment has been minimized.
This comment has been minimized.
comment:15
By the way a better plotting result is obtained by
But giving an explicit bounding box circumvents the first problem.. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Author: Moritz Firsching |
comment:19
There seems to be a merge conflict. Could you rebase it? |
comment:22
This should now merge cleanly. (There was just an issue with some trailing whitespace that I had removed in a line that was changed in rc0.) |
comment:23
Hi Moritz, There are a couple of missing spaces between binary operator. Let's see what the bot thinks. |
comment:24
Hi Moritz, The bot is happy and it looks good to me. If you correct the 3 spacing around operators in the |
Reviewer: Jean-Philippe Labbé |
comment:27
Thank for your review, JP! |
Changed branch from u/moritz/21270 to |
As noted first on #20570, current Sage is not able to plot some LPs with irrational data. This appears to be due to a bug in the Sage polyhedron code for RDF data (which InteractiveLP uses when the data are not rational).
CC: @fchapoton @mo271 @jplab
Component: geometry
Keywords: polyhedron, days84
Author: Moritz Firsching
Branch/Commit:
736f8a3
Reviewer: Jean-Philippe Labbé
Issue created by migration from https://trac.sagemath.org/ticket/21270
The text was updated successfully, but these errors were encountered: