jump-dev / jump-dev/DiffOpt.jl

Respect `MOI.AutomaticDifferentiationBackend()` in NLP

Open
#292 2 comments 2 reactions 0 assignees View on GitHub
good first issue
Dominant language
Julia
Stars
145
Forks
21
PR merge metrics
No merged PRs in 30d

Description

The current code has `SparseReverseMode` hard-coded:
https://github.com/jump-dev/DiffOpt.jl/blob/bf2c4c389ecd6ae63356e292b74a632b0517fa68/src/NonLinearProgram/nlp_utilities.jl#L94-L109

Perhaps `backend` should be set based on `MOI.AutomaticDifferentiationBackend()`? Besides the `SymbolicMode`, it would also allow to use DiffOpt with custom evaluators.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.