ConstraintSolver.jl
ConstraintSolver.jl copied to clipboard
observer pattern for variable change
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.