Skip to content

Commit

Permalink
Update modelingtoolkitize.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas authored Jul 30, 2024
1 parent a5bc3b0 commit f99f3bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/modelingtoolkitize.jl
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ sys = complete(modelingtoolkitize(prob)) # symbolicitize me captain!

prob = OptimizationProblem(sys, x0, p, grad = true, hess = true)
sol = solve(prob, NelderMead())
@test sol.minimum < 1e-8
@test sol.objective < 1e-8

sol = solve(prob, BFGS())
@test sol.minimum < 1e-8
@test sol.objective < 1e-8

sol = solve(prob, Newton())
@test sol.minimum < 1e-8
@test sol.objective < 1e-8

## SIR System Regression Test

Expand Down

0 comments on commit f99f3bc

Please sign in to comment.