-
-
Notifications
You must be signed in to change notification settings - Fork 535
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
Speed up Posets and toric Chow group #11559
Comments
Attachment: trac_11559_fix_Chow_group.patch.gz Updated patch |
comment:1
Can you clarify why Also I don't like the very last change with forceful passing of |
Reviewer: Andrey Novoseltsev |
comment:2
I took a look at this earlier, so I'll add my 2 cents worth.
I was going to vouch for the posets and linear algebra, but I don't know the Chow group stuff, so it is good that Andrey is on this one. Rob |
comment:3
I'm passing |
comment:5
What kind of parents are you using. Normally they should be unique so that Florent |
comment:6
I should also mention that before touching anything in posets you should test you code with #10998 applied. There where a major rewrite in posets with a lot of speedups and cleanups. Florent |
comment:7
I agree that parents should be unique. The original code compared parents with My point is that the The reordering does break comparison between |
comment:9
Same lines are edited by #12351. One will have to adapt to the other one. |
comment:10
Does not apply on Sage-5.0.beta4! |
Work Issues: rebasing |
Changed work issues from rebasing to none |
comment:13
Hey Volker, Changing posets to compare again vertices first still shaves off a second on testing Chow group module - do you have an example where it used to be crucial? In any case if you are fine with my rebasing let's merge it! |
Changed keywords from none to toric, sd40.5 |
Rebased for Sage-5.1.beta0 |
comment:15
Attachment: trac_11559_fix_Chow_group.2.patch.gz Now works fine after file move. |
Changed branch from u/chapoton/11559 to u/jkeitel/11559 |
comment:29
This ticket seems to confuse the patchbot. But maybe any ticket would.. |
comment:30
Put to need info just to stop the bots loop-testing this ticket. |
comment:31
Related or not - when I click on the branch name to see the differences, it shows the intent to DELETE TWO MODULES completely!!! I do not see commits that attempt to do it, however. |
New commits:
|
Changed branch from u/jkeitel/11559 to u/chapoton/11559 |
comment:34
Some patchbots are still testing this ticket, but there are various doctest failures; setting this back to "needs_work". |
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. New commits:
|
To my surprise, computing the Chow group spends most of the time comparing cones instead of doing linear algebra. 3/4 of the time is spent in
PosetElement.__eq__()
:Reordering this to first compare
self.vertex == other.vertex
speeds it up dramatically.Patch has some other fixes. Changes the Chow group to use sparse matrices.
CC: @sagetrac-sage-combinat
Component: algebraic geometry
Keywords: toric, sd40.5
Author: Volker Braun
Branch/Commit: u/chapoton/11559 @
a16336e
Reviewer: Andrey Novoseltsev, Jan Keitel
Issue created by migration from https://trac.sagemath.org/ticket/11559
The text was updated successfully, but these errors were encountered: