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.
2 parents 3f97bc3 + 4d44ca0 commit 0a07521Copy full SHA for 0a07521
docs/src/tutorials/intro.md
@@ -46,9 +46,10 @@ is given below:
46
We can also explore other methods in a similar way:
47
48
```julia
49
- f = OptimizationFunction(rosenbrock, GalacticOptim.AutoForwardDiff())
50
- prob = OptimizationProblem(f, x0, p)
51
- sol = solve(prob,BFGS())
+using ForwardDiff
+f = OptimizationFunction(rosenbrock, GalacticOptim.AutoForwardDiff())
+prob = OptimizationProblem(f, x0, p)
52
+sol = solve(prob,BFGS())
53
```
54
For instance, the above optimization task produces the following output:
55
0 commit comments