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
# Comparing subsolvers for nonlinear least squares JSOSolvers solvers
7
+
# Comparing subsolvers for nonlinear least squares in JSOSolvers
8
8
9
9
This tutorial showcases some advanced features of solvers in JSOSolvers.
10
10
@@ -14,7 +14,7 @@ using JSOSolvers
14
14
15
15
Migration note (JSOSolvers ≥ 0.11): subsolvers are now selected with a Symbol via the `subsolver` keyword. Replace any old usages like `trunk(nlp, subsolver_type = CglsSolver)` with `trunk(nlp; subsolver = :cgls)`. See `JSOSolvers.trunkls_allowed_subsolvers` and `JSOSolvers.tronls_allowed_subsolvers` for the list of accepted symbols.
16
16
17
-
We benchmark different subsolvers used in the solvers TRUNK for unconstrained nonlinear least squares problems.
17
+
We benchmark different subsolvers used in the solver TRUNK for unconstrained nonlinear least squares problems.
18
18
The first step is to select a set of problems that are nonlinear least squares.
19
19
20
20
```julia
@@ -40,7 +40,7 @@ For this task, several solvers are available.
40
40
JSOSolvers.trunkls_allowed_subsolvers
41
41
```
42
42
43
-
This benchmark could also be followed for the solver TRON where the following subsolver are available.
43
+
This benchmark could also be followed for the solver TRON where the following subsolvers are available.
The CRLS and CGLS variants are the ones solving more problems, and even though the difference is rather small the CGLS variant is consistently faster which seems to indicate that it is the most appropriate subsolver for TRUNK.
121
-
The size of the problems were rather small here, so this should be confirmed on larger instance.
121
+
The size of the problems was rather small here, so this should be confirmed on larger instances.
122
122
Moreover, the results may vary depending on the origin of the test problems.
0 commit comments