control-toolbox / control-toolbox/CTDirect.jl

[Dev] Test enzyme backend for ADNLPModels

Open
#562 1 comment 0 reactions 1 assignee Claimed by @PierreMartinon View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.