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

observer pattern for variable change #269

Open
Wikunia opened this issue Jul 22, 2021 · 0 comments · May be fixed by #271
Open

observer pattern for variable change #269

Wikunia opened this issue Jul 22, 2021 · 0 comments · May be fixed by #271
Labels
enhancement New feature or request

Comments

@Wikunia
Copy link
Owner

Wikunia commented Jul 22, 2021

Currently the maximum and minimum values are updated inside a linear constraint whenever it's called.
Even if only one variable was changed all are updated. I think we could speed this up by having a way to let a constraint type subscribe to changes in a variable. When a variable is changed the constraint would be able to update specific values.

@Wikunia Wikunia added the enhancement New feature or request label Jul 22, 2021
@Wikunia Wikunia linked a pull request Aug 1, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant