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.
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.