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
The previous changes attempted to use `subsolver = :symbol` API which doesn't exist in JSOSolvers 0.11.
Testing confirmed that JSOSolvers 0.11 uses `subsolver_type = Type` (e.g., CglsSolver, LsmrSolver).
This commit reverts to the correct working API that is compatible with JSOSolvers 0.11.2.
Copy file name to clipboardExpand all lines: tutorials/advanced-jsosolvers/index.jmd
+13-16Lines changed: 13 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,8 @@ author: "Tangi Migot"
8
8
9
9
This tutorial showcases some advanced features of solvers in JSOSolvers.
10
10
11
+
**Note**: This tutorial is compatible with JSOSolvers 0.11. The subsolver is selected using the `subsolver_type` parameter with Krylov solver types (e.g., `CglsSolver`, `LsmrSolver`).
12
+
11
13
```julia
12
14
using JSOSolvers
13
15
```
@@ -51,34 +53,29 @@ For detailed descriptions of each subsolver's algorithm and when to use it, see
51
53
using Krylov
52
54
```
53
55
54
-
For example, to call TRUNK with an explicit subsolver and tolerances:
55
-
56
-
```julia
57
-
stats = trunk(nls; subsolver = :cgls)
58
-
```
59
56
We define a dictionary of the different solvers that will be benchmarked.
60
57
We consider here four variants of TRUNK using the different subsolvers.
61
58
62
-
The same subsolver selection pattern applies to TRON’s least-squares specialization:
59
+
For example, to call TRUNK with an explicit subsolver:
0 commit comments