Skip to content

Commit 3a05ba9

Browse files
committed
fix: ls
1 parent 2460eb6 commit 3a05ba9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

benchmarks/NonlinearProblem/nonlinear_solver_23_tests.jmd

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,17 @@ Fetch required packages.
3939
using NonlinearSolve, LinearSolve, StaticArrays, Sundials, Setfield,
4040
BenchmarkTools, LinearAlgebra, DiffEqDevTools, NonlinearProblemLibrary, CairoMakie,
4141
RecursiveFactorization
42-
import PolyesterForwardDiff, MINPACK, NLsolve
42+
import PolyesterForwardDiff, MINPACK, NLsolve, LineSearches
4343

4444
const RUS = RadiusUpdateSchemes;
4545
```
4646

4747
Declare the benchmarked solvers (and their names and plotting options).
4848

4949
```julia
50-
# XXX: Add PETSc
50+
HagerZhang() = LineSearchesJL(; method = LineSearches.HagerZhang())
51+
MoreThuente() = LineSearchesJL(; method = LineSearches.MoreThuente())
52+
5153
solvers_all = [
5254
(; pkg = :nonlinearsolve, type = :general, name = "Default PolyAlg.", solver = Dict(:alg => FastShortcutNonlinearPolyalg(; u0_len = 10))),
5355
(; pkg = :nonlinearsolve, type = :NR, name = "Newton Raphson", solver = Dict(:alg => NewtonRaphson())),

0 commit comments

Comments
 (0)