-
Notifications
You must be signed in to change notification settings - Fork 98
Closed
Labels
Project: next-gen nonlinear supportIssues relating to nonlinear supportIssues relating to nonlinear supportSubmodule: NonlinearAbout the Nonlinear submoduleAbout the Nonlinear submoduleType: Enhancement
Description
This has come up quite a few times, so I think we need this.
I don't know what the right API is. Perhaps:
MOI.Nonlinear.gradient(f) :: Dict{MOI.VariableIndex,MOI.ScalarNonlinearFunction}The use case for this would be:
- to replace Symbolics.jl in MathOptSymbolicAD
- Simple cases like https://discourse.julialang.org/t/auto-gradient-with-symbolics-for-jump-constraints/117953
It's okay for this to have all the usual issues with symbolic AD.
Metadata
Metadata
Assignees
Labels
Project: next-gen nonlinear supportIssues relating to nonlinear supportIssues relating to nonlinear supportSubmodule: NonlinearAbout the Nonlinear submoduleAbout the Nonlinear submoduleType: Enhancement