You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Prototype: one transcription for ADNLP and Exa (trace-based Exa, out-of-place ADNLP) #674
Check, on small problems and before writing any API, that one transcription written with generic Julia functions can feed both ADNLP and Exa efficiently.
What to check
Tracing for Exa: call generic dynamics and cost functions on ExaModels nodes inside generators, for the double integrator then Goddard, with Euler and trapeze. Expected: the same NLP as the one generated by CTParser (dimensions, constraint and objective values, solution).
Forms that trace: an out-of-place function returning a tuple or an SVector; an in-place f! called with a Vector{Any} buffer; the @views r[:] .= e generated by CTParser's :fun backend (broadcast on nodes).
Linear algebra on nodes (x' * Q * x), with and without CTParserExaModels.
Timet0 + j*dt when tf is a variable; constants captured in a closure, on GPU.
ADNLP with the out-of-place form: build time, evaluation time and allocations at N = 1000 for midpoint and trapeze, against the current in-place code of CTDirect.
Output
A short report (in .reports/ and summarized here) that fixes:
the forms CTModels must store, and the calling convention CTDirect sees;
Activity