We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 386dde0 commit 6c9977eCopy full SHA for 6c9977e
lib/OptimizationMadNLP/src/OptimizationMadNLP.jl
@@ -265,6 +265,9 @@ end
265
function SciMLBase.requireslagh(opt::MadNLPOptimizer)
266
opt.hessian_approximation === MadNLP.ExactHessian
267
end
268
+function SciMLBase.requiresconshess(opt::MadNLPOptimizer)
269
+ opt.hessian_approximation === MadNLP.ExactHessian
270
+end
271
function SciMLBase.allowsconsvjp(opt::MadNLPOptimizer)
272
true
273
0 commit comments