Skip to content

Commit e52efd4

Browse files
Merge pull request #228 from SciML/Vaibhavdixit02-patch-1
Specify loading of Galactic* sub package for local method in GalacticMultistartOptimization
2 parents c042fc5 + a906934 commit e52efd4

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/src/optimization_packages/multistartoptimization.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55

66
Currently, only one global method (`TikTak`) is implemented and called by `MultiStartOptimization.TikTak(n)` where `n` is the number of initial Sobol points.
77

8-
Currently, the local methods can be one of the algotithms implemented in `NLopt.jl`.
9-
108

119
!!! note
1210

@@ -20,6 +18,9 @@ To use this package, install the GalacticMultiStartOptimization package:
2018
```julia
2119
import Pkg; Pkg.add("GalacticMultiStartOptimization")
2220
```
21+
!!! note
22+
23+
You also need to load the relevant subpackage for the local method of you choice, for example if you plan to use one of the NLopt.jl's optimizers, you'd install and load GalacticNLopt as described in the [NLopt.jl](@ref)'s section.
2324

2425
## Global Optimizer
2526
### Without Constraint Equations
@@ -50,4 +51,4 @@ f = OptimizationFunction(rosenbrock)
5051
prob = GalacticOptim.OptimizationProblem(f, x0, p, lb = [-1.0,-1.0], ub = [1.0,1.0])
5152
sol = solve(prob, MultistartOptimization.TikTak(100), NLopt.LD_LBFGS())
5253
sol = solve(prob, MultistartOptimization.TikTak(100), LBFGS())
53-
```
54+
```

0 commit comments

Comments
 (0)