ConstraintSolver.jl icon indicating copy to clipboard operation
ConstraintSolver.jl copied to clipboard

observer pattern for variable change

Open Wikunia opened this issue 4 years ago • 0 comments

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 avatar Jul 22 '21 20:07 Wikunia