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
Fixing bug in shuffle product #14121
Comments
comment:1
Attachment: fixing_shuffle_product_cb.patch.gz |
comment:2
Hi, You should add a test that ensures you actually correct the thing ! However, it would be a good idea to actually rewrite the whole method. Vincent |
comment:3
Theorem 7 in http://www8.cs.umu.se/research/uminf/reports/2011/001/part1.pdf seems relevant to finding a polynomial-time algorithm for this. Just mentioning. |
Attachment: trac_14121_review-fc.patch.gz |
comment:4
Here is a doctest. |
comment:5
Hellooooooooooooooooooo !! Well, this patch definitely fixes a bug and is only slower ono the instances for which it gave bad answers... I think that it's good to go ! What would you think of adding a Whether you chose to add this comment or not, feel free to set this ticket to Nathann |
Changed reviewer from Franco Saliola to Franco Saliola, Frédéric Chapoton, Nathann Cohen |
comment:6
Wait, wait -- I've never said it gives a more efficient solution; I said it "seems relevant". I fear it uses a constant-size alphabet, which is not what we want... |
comment:7
HMmmmmmmmmmm... Well, then until we find a better way out ... Nathann |
Merged: sage-5.8.rc0 |
Shuffle product contains method does not work properly.
Component: combinatorics
Keywords: shuffle product, days45
Author: Chris Berg
Reviewer: Franco Saliola, Frédéric Chapoton, Nathann Cohen
Merged: sage-5.8.rc0
Issue created by migration from https://trac.sagemath.org/ticket/14121
The text was updated successfully, but these errors were encountered: