Skip to content

Parametric AD API#557

Closed
klamike wants to merge 10 commits intoJuliaSmoothOptimizers:mainfrom
klamike:mk/param_api
Closed

Parametric AD API#557
klamike wants to merge 10 commits intoJuliaSmoothOptimizers:mainfrom
klamike:mk/param_api

Conversation

@klamike
Copy link
Collaborator

@klamike klamike commented Feb 28, 2026

This is needed to support efficient implicit differentiation, e.g. https://github.com/MadNLP/MadDiff.jl.

The idea is to have parameters be fully "implicit" in the eyes of NLPModels, instead of lifting them to "special variables" like in JuMP/DiffOpt. While the latter approach allows to reuse the existing AD APIs (slicing out the parametric parts), this approach should be more efficient. It also allows for variable/constraint bounds to be parametric.

cc @amontoison

closes #532

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Parametric API

3 participants