You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/optimization_packages/multistartoptimization.md
+13-10Lines changed: 13 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -3,30 +3,32 @@
3
3
4
4
`MultistartOptimization` requires both a global and local method to be defined. The global multistart method chooses a set of initial starting points from where local the local method starts from.
5
5
6
-
Currently, only one global method (`TikTak`) is implemented and called by `MultiStartOptimization.TikTak(n)` where `n` is the number of initial Sobol points.
6
+
Currently, only one global method (`TikTak`) is implemented and called by `MultistartOptimization.TikTak(n)` where `n` is the number of initial Sobol points.
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 OptimizationNLopt as described in the [NLopt.jl](@ref)'s section.
17
+
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 OptimizationNLopt as described in the [NLopt.jl](@ref)'s section.
18
18
19
19
## Global Optimizer
20
20
### Without Constraint Equations
21
21
22
-
The methods in [`MultistartOptimization`](https://github.com/tpapp/MultistartOptimization.jl)is performing global optimization on problems without
22
+
The methods in [`MultistartOptimization`](https://github.com/tpapp/MultistartOptimization.jl)are performing global optimization on problems without
23
23
constraint equations. However, lower and upper constraints set by `lb` and `ub` in the `OptimizationProblem` are required.
24
24
25
25
## Examples
26
26
27
27
The Rosenbrock function can optimized using `MultistartOptimization.TikTak()` with 100 initial points and the local method `NLopt.LD_LBFGS()` as follows:
sol =solve(prob, MultistartOptimization.TikTak(100), NLopt.LD_LBFGS())
36
38
```
37
39
38
-
You can use any `Optimization` optimizers you like. The global method of the `MultiStartOptimization` is a positional argument and followed by the local method. This for example means we can perform a multistartoptimization with LBFGS as the optimizer using either the `NLopt.jl` or `Optim.jl` implementation as follows. Moreover, this interface allows you access and adjust all the optimizer settings as you normally would:
40
+
You can use any `Optimization` optimizers you like. The global method of the `MultistartOptimization` is a positional argument and followed by the local method. This for example means we can perform a multistartoptimization with LBFGS as the optimizer using either the `NLopt.jl` or `Optim.jl` implementation as follows. Moreover, this interface allows you access and adjust all the optimizer settings as you normally would:
0 commit comments