Skip to content

Conversation

@amontoison
Copy link
Member

Similar to #524 but for the branch 0.21.x which allows backporting some commits.
We can also check that we don't break anything, the breakage workflow should work here.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 2, 2025

Package name latest stable
ADNLPModels
AdaptiveRegularization
AmplNLReader
BundleAdjustmentModels
CUTEst
CaNNOLeS
DCISolver
FletcherPenaltySolver
FluxNLPModels
JSOSolvers
JSOSuite
LLSModels
ManualNLPModels
NLPModelsIpopt
NLPModelsJuMP
NLPModelsKnitro
NLPModelsModifiers
NLPModelsTest
NLSProblems
PDENLPModels
PartiallySeparableNLPModels
PartiallySeparableSolvers
Percival
QuadraticModels
RegularizedProblems
SolverBenchmark
SolverCore
SolverTest
SolverTools

Copy link
Member

@tmigot tmigot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, the implementation of NLPModels should set one of this flag to false is something is not implemented. We should also document it somewhere, if no obvious place in the NLPModels doc maybe the docstrings of the function to implement.

What is the motivation for this? Is that automatic solver selection ?

In ADNLPModels, it can even be automatic by checking whether EmptyADBackend is mentioned.

Comment on lines +297 to +302
gradient_available = gradient_available,
jacobian_available = jacobian_available,
hessian_available = hessian_available,
Jv_available = Jv_available,
Jtv_available = Jtv_available,
Hv_available = Hv_available,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about names that are closer to the implemented functions?
grad (or grad!), jac, hess, hprod, jprod, jtprod

@amontoison
Copy link
Member Author

@tmigot The motivation is here: #524 (comment)

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.

3 participants