Skip to content

Commit b6c520c

Browse files
committed
Update JSOSolvers to 0.14 in Introduction to JSOSolvers
1 parent 8248e78 commit b6c520c

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

tutorials/introduction-to-jsosolvers/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ SolverCore = "ff4d7338-4cf1-434d-91df-b86cb86fb843"
1212
ADNLPModels = "0.7"
1313
CSV = "0.10"
1414
DataFrames = "1.4"
15-
JSOSolvers = "0.11"
15+
JSOSolvers = "0.14"
1616
Plots = "1.38"
1717
SolverCore = "0.3"

tutorials/introduction-to-jsosolvers/index.jmd

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,6 @@ The solvers `tron` and `trunk` both have a specialized implementation for input
4444

4545
The following examples illustrate this specialization.
4646

47-
To list the allowed least-squares subsolvers for these specializations:
48-
49-
```julia
50-
JSOSolvers.trunkls_allowed_subsolvers
51-
JSOSolvers.tronls_allowed_subsolvers
52-
```
53-
5447
```julia
5548
using JSOSolvers, ADNLPModels
5649
f(x) = (x[1] - 1)^2 + 4 * (x[2] - x[1]^2)^2
@@ -72,6 +65,13 @@ trunk(nls, atol = 1e-6, rtol = 1e-6)
7265
nls.counters
7366
```
7467

68+
To list the allowed least-squares subsolvers for these specializations:
69+
70+
```julia
71+
JSOSolvers.trunkls_allowed_subsolvers
72+
JSOSolvers.tronls_allowed_subsolvers
73+
```
74+
7575
We conclude these examples by a nonlinear regression example from the [NIST data set](https://www.itl.nist.gov/div898/strd/nls/nls_main.shtml).
7676
In particular, we consider the problem [`Thurber`](https://www.itl.nist.gov/div898/strd/nls/data/LINKS/DATA/Thurber.dat).
7777

0 commit comments

Comments
 (0)