Skip to content
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

Distinguish degenerate polynomials #995

Closed
xiang-yu opened this issue Oct 10, 2023 · 1 comment
Closed

Distinguish degenerate polynomials #995

xiang-yu opened this issue Oct 10, 2023 · 1 comment

Comments

@xiang-yu
Copy link

xiang-yu commented Oct 10, 2023

How to distinguish degenerate polynomials?

`@variables x, y, z

xy + yx + x*z

returns
2xy + xz
instead of
xy + yx + x*z

@shashi
Copy link
Member

shashi commented Nov 7, 2023

Use @variables x::LiteralReal y::LiteralReal z::LiteralReal

This will remove the commutativity assumption.

@shashi shashi closed this as completed Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants