-
Notifications
You must be signed in to change notification settings - Fork 13
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
Fails to compute correct Gröbner basis on DynamicPolynomials variable with non-standard monomial ordering #116
Comments
Hi! Thanks for reporting this, I can reproduce it. |
I am a bit confused at the moment -- maybe you know how can I query the ordering ? For example, using DynamicPolynomials
@polyvar x y z monomial_order=LexOrder
ordering(x)
# returns
GradedLex() with
|
Hi @0708andreas , the fix is in progress #121 But keep in mind that the arithmetic for LexOrder in DP.jl seems to be incorrect at the moment (unless I have messed up something) JuliaAlgebra/DynamicPolynomials.jl#152 |
Thank you so much. That's an... interesting issue in DP.jl XD |
@0708andreas I registered a new version of Groebner, should work with the latest DP.jl. Let me know in case you face other issues |
Note that at the moment I only support |
I will close this issue, feel free to open a new one if you encounter other issues |
I think the issue is best described by the following two examples:
When using variables with a designated monomial order, Gröbner basis computations seem to fail, sometimes (the failure isn't random, it is repeatable. But I don't see a pattern)
However, with standard monomial order, the problem disappears:
The workaround, for now, is to use the default monomial order and specify the wanted order in each call to
groebner
.I'm on julia 1.10.0 and using Grobner.jl v0.6.3 from the registry.
Bests, Andreas
The text was updated successfully, but these errors were encountered: