Skip to content

Commit e4d7676

Browse files
authored
Merge branch 'JuliaSmoothOptimizers:main' into main
2 parents dbcedb2 + aa27d1c commit e4d7676

File tree

1 file changed

+8
-1
lines changed
  • tutorials/introduction-to-jsosolvers

1 file changed

+8
-1
lines changed

tutorials/introduction-to-jsosolvers/index.jmd

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ 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+
4754
```julia
4855
using JSOSolvers, ADNLPModels
4956
f(x) = (x[1] - 1)^2 + 4 * (x[2] - x[1]^2)^2
@@ -111,7 +118,7 @@ solver = LBFGSSolver(nlp; mem = 5);
111118
stats = solve!(solver, nlp)
112119
```
113120

114-
The following table provides the correspondance between the solvers and the solvers structures:
121+
The following table provides the correspondence between the algorithms and their solver structures:
115122

116123
| Algorithm | Solver structure |
117124
| ------------------- | ---------------- |

0 commit comments

Comments
 (0)