-
Notifications
You must be signed in to change notification settings - Fork 0
Remove need for the MOI fork #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
src/MOI_Nonlinear_fork.jl
Outdated
| append!( | ||
| model.operators.multivariate_operators, | ||
| [:vect, :dot, :hcat, :vcat, :norm, :sum, :row], | ||
| ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We also need to modify
https://github.com/jump-dev/MathOptInterface.jl/blob/100eab2e669e73689e1dc214391d97c24402e35c/src/Nonlinear/operators.jl#L173
but we can't because the struct is not mutable...
We probably need to make our own model completely
* Add OperatorRegistry because immutable in MOI Nonlinear (and Int fields will need to be modified) * Add DEFAULT_MULTIVARIATE_OPERATORS to extend it from MOI Nonlinear * Add OrderedCollections that was used in Model
* Add OperatorRegistry because immutable in MOI Nonlinear (and Int fields will need to be modified) * Add DEFAULT_MULTIVARIATE_OPERATORS to extend it from MOI Nonlinear * Add OrderedCollections that was used in Model
| MathOptInterface = "b8f27783-ece8-5eb3-8dc8-9495eed66fee" | ||
| SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" | ||
| Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" | ||
| OrderedCollections = "bac558e1-5e72-5ebc-8fee-abe8a469f55d" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't need to add it to the tests, it's just a dependency of ArrayDiff
No description provided.