-
Notifications
You must be signed in to change notification settings - Fork 97
Closed
Labels
Milestone
Description
Background: jump-dev/Dualization.jl#90 and a discourse discussion
MOI.modify makes in-place modifications of the coefficients of a function. Through MOI.ScalarCoefficientChange it is possible to modify the linear terms of a ScalarQuadraticFunction, but as for now the only way to modify the quadratic components is by defining the function again.
I think it would be beneficial to extend MOI.ScalarCoefficientChange or add a new type to support the in-place modification of the quadratic coefficients.