Skip to content

Commit

Permalink
BBO x0
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaibhavdixit02 committed Oct 22, 2023
1 parent a8fe8a0 commit 6371505
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/examples/rosenbrock.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ flexibility of Optimization.jl. This is a gauntlet of many solvers to get a feel
for common workflows of the package and give copy-pastable starting points.

!!! note

This example uses many different solvers of Optimization.jl. Each solver
subpackage needs to be installed separate. For example, for the details on
the installation and usage of OptimizationOptimJL.jl package, see the
Expand Down Expand Up @@ -155,7 +155,7 @@ sol = solve(prob, Opt(:G_MLSL_LDS, 2), local_method = Opt(:LD_LBFGS, 2), maxiter

```@example rosenbrock
using OptimizationBBO
prob = Optimization.OptimizationProblem(rosenbrock, x0, _p, lb = [-1.0, 0.2],
prob = Optimization.OptimizationProblem(rosenbrock, [0.0, 0.5], _p, lb = [-1.0, 0.2],
ub = [0.8, 0.43])
sol = solve(prob, BBO_adaptive_de_rand_1_bin()) # -1.0 ≤ x[1] ≤ 0.8, 0.2 ≤ x[2] ≤ 0.43
```
Expand Down

0 comments on commit 6371505

Please sign in to comment.