Skip to content

Commit 7c7af84

Browse files
Error Solved
1 parent f40852b commit 7c7af84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

benchmarks/ParameterEstimation/LotkaVolterraParameterEstimation.jmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ gr(fmt=:png)
1616
loc_bounds = Tuple{Float64, Float64}[(0, 5), (0, 5), (0, 5), (0, 5)]
1717
glo_bounds = Tuple{Float64, Float64}[(0, 10), (0, 10), (0, 10), (0, 10)]
1818
loc_init = [1,0.5,3.5,1.5]
19-
glo_init = [5,5,5,5]
19+
glo_init = [5.0,5.0,5.0,5.0]
2020
```
2121

2222
```julia
@@ -199,7 +199,7 @@ Vern9 solver with reltol=1e-9 and abstol=1e-9 is used and the dataset is increas
199199
```julia
200200
t_concrete = collect(0.0:dt:tf)
201201
obj = build_loss_objective(prob,Vern9(),L2Loss(t_concrete,data),tstops=t_concrete,reltol=1e-9,abstol=1e-9)
202-
optprob = OptimizationProblem(obj, glo_init, lb = first.(glo_bounds), ub = last.(glo_bounds))
202+
optprob = OptimizationProblem(obj, glo_init, lower_bounds=first.(glo_bounds), upper_bounds=last.(glo_bounds))
203203
```
204204

205205
```julia

0 commit comments

Comments
 (0)