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
LatticePoset: add maximal_sublattices() #18567
Comments
Commit: |
comment:2
There is now some code that at least seems to work. This is quite interesting optimization problem. Can this be made to real I tried googling some time, but find no algorithm for this. This is somewhat ad hoc solution. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
This comment has been minimized.
This comment has been minimized.
Author: Jori Mäntysalo |
comment:6
Ping... Anybody wants to look at the code? This is necessary part in the road to |
comment:8
Two minor things:
Kevin, if you want to do the full review, please go ahead. I'm not sure I will have enough time to throughly test this. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:10
Here is one test lattice:
(from http://www.math.hawaii.edu/~ralph/Preprints/combined.pdf you can find more). Do you want some test code? You can make a random lattice (for example random poset + |
comment:12
needs rebase, does not apply |
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
comment:14
Replying to @fchapoton:
Done that, should work now. I will change this to needs_review after checking myself that this compiles and works. |
Changed commit from |
comment:16
I made some minor reviewer changes. If you're happy with them, then go ahead and set a positive review. |
Reviewer: Travis Scrimshaw |
comment:17
?? Branch-field is red, so I guess you made a typo. |
comment:18
I think it's because beta3 was just released and my branch is based off beta2. |
comment:19
Replying to @tscrim:
But I don't see the "commits"-link, like there is when the code needs rebasing. |
Commit: |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:21
It seems like it didn't push it for some reason. Fixed. |
Changed author from Jori Mäntysalo to Jori Mäntysalo, Travis Scrimshaw |
comment:22
Replying to @tscrim:
Thank you! Compiles & works. (Now we just put this to production, and wait for someone to come up with better algorithm...) |
Changed reviewer from Travis Scrimshaw to Travis Scrimshaw, Jori Mäntysalo |
Changed branch from u/tscrim/maximal_sublattices_iterator-18567 to |
This adds a new function that computes maximal (proper) sublattices of the lattice.
It could be faster to reverse thinking: instead of computing sublattice try to get a minimal "remainder" of sublattice. For example the remainder must be a connected poset and it's every minimal element may not have more than one lower cover. However, this slow implementation at least works, and can be used as a checkpoint when making faster implementations.
CC: @nathanncohen @kevindilks
Component: combinatorics
Author: Jori Mäntysalo, Travis Scrimshaw
Branch/Commit:
d85c873
Reviewer: Travis Scrimshaw, Jori Mäntysalo
Issue created by migration from https://trac.sagemath.org/ticket/18567
The text was updated successfully, but these errors were encountered: