From 915896359b035f5eeb4776495f0b2cffa8162723 Mon Sep 17 00:00:00 2001 From: tmigot Date: Fri, 12 Apr 2024 23:56:07 +0200 Subject: [PATCH] add missing ADNLPModels --- docs/src/resolve.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/resolve.md b/docs/src/resolve.md index b116736..6050cd2 100644 --- a/docs/src/resolve.md +++ b/docs/src/resolve.md @@ -20,7 +20,7 @@ Using L-BFGS, the problem is locally solved. Note that when passing Julia functions as input to `minimize`, the problem is modeled as an `ADNLPModel`. So, the following would be equivalent: ```@example ex2 -using JSOSuite +using ADNLPModels, JSOSuite f(x) = x[2]^2 * exp(x[1]^2) x0 = ones(Float64, 2) nlp = ADNLPModel(f, x0)