-
-
Notifications
You must be signed in to change notification settings - Fork 487
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
Always use PPL for facet normals of lattice polytopes #22391
Comments
Branch: u/novoselt/PPL_for_normals |
Commit: |
Last 10 new commits:
|
This comment has been minimized.
This comment has been minimized.
comment:4
I successfully installed this patch and tried some variants on the example. Speed seems to work as advertised:
|
comment:5
Have you tried using normaliz? In dimension >= 10 it is likely to be faster. For that reason, it is good to have an optional keyword |
comment:6
Replying to @videlec:
The interest here is mostly in polytopes of dimensions 3-4-5, when the bottleneck is often the interface between programs. Also, the old code was quite convoluted for many reasons and adding different algorithms would be tricky. One of the goals of this and related tickets was to clean up the mess to indeed allow using different backends for certain operations. |
Changed keywords from none to sd91 |
Changed keywords from sd91 to sd91, sd90 |
comment:9
I tried building again, and now this patch fails, with errors involving |
comment:11
Can you please be more specific in how it fails? The branch merges cleanly and passes tests according to the patchbot. |
comment:12
It also works for me. I am guessing what happened is @sagetrac-ursula just used the branch, effectively downgrading her version of Sage to that of the branch, and ran |
Reviewer: Travis Scrimshaw |
Changed branch from u/novoselt/PPL_for_normals to public/polytopes/PPL_for_normals-22391 |
comment:14
Thank you!!! Of course your changes look good - anything to get it in ;-) A small question however:
Your new line apart from dropping the exclamation point due to exception formatting change also adds a space in front of the second part of the broken line. Is this also the style recommended somewhere? I can't recall ever reading it. |
comment:15
Not really, but I feel its gives better grouping that it is part of the error message and not some new line of output, similar to indenting function blocks. |
comment:16
Also, Python does not use sentence ending punctuation for any exceptions (or initial uppercase letters). |
Changed branch from public/polytopes/PPL_for_normals-22391 to |
A follow up to #22310. As promised there, this switch makes even full-dimensional polytopes faster, on the same example we now get
The reason is that dimension computation used to be quite complicated.
Next in the chain of lattice polytope improvements is #22524
Depends on #22310
Component: geometry
Keywords: sd91, sd90
Author: Andrey Novoseltsev
Branch/Commit:
baf0a4a
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/22391
The text was updated successfully, but these errors were encountered: