Skip to content

observer pattern for variable change #269

@Wikunia

Description

@Wikunia

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions