control-toolbox / control-toolbox/CTDirect.jl
[Dev] Test enzyme backend for ADNLPModels
Open
internal dev
- Dominant language
- Julia
- Stars
- 12
- Forks
- 5
- Avg merge
- 2h 44m
- Merged PRs (30d)
- 1
Description
@PierreMartinon follow up to https://github.com/control-toolbox/OptimalControl.jl/issues/481#issuecomment-3959081852
- test solve with `backend=:enzyme` (does forward over reverse but uses Enzyme instead of ReverseDiff for reverse)
- solves the issue documented above, and should be faster on other cases: to be tested
- if conclusive, use if as the new default instead of `backend=:optimized`
- currently fix only available in branch `main` of ADNLPModels
Contributor guide
Assessment
This issue has not been assessed yet.