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

Change linear expression representation #43

Draft
wants to merge 52 commits into
base: main
Choose a base branch
from

Conversation

tbittar
Copy link
Contributor

@tbittar tbittar commented Jun 25, 2024

This PR aims at correcting two bugs :

  • Representation of expressions with a lot of terms e.g. connection of an important number of components on the same port
  • Ability to use parameter-dependent expressions in linear expressions coefficient and constants

The main logic is to de-recursify the representation of linear expression, sending most of the processing from the visitors to operator overloads. We keep AST for expressions involving only parameters (coefficient and constants in a linear expression)

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

Successfully merging this pull request may close these issues.

1 participant