Skip to content

Commit 42970b9

Browse files
committed
docs(intro): show how to list allowed subsolvers for trunk/tron least-squares variants
1 parent b9de5a5 commit 42970b9

File tree

1 file changed

+7
-0
lines changed
  • tutorials/introduction-to-jsosolvers

1 file changed

+7
-0
lines changed

tutorials/introduction-to-jsosolvers/index.jmd

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

4747
The following examples illustrate this specialization.
4848

49+
To list the allowed least-squares subsolvers for these specializations:
50+
51+
```julia
52+
JSOSolvers.trunkls_allowed_subsolvers
53+
JSOSolvers.tronls_allowed_subsolvers
54+
```
55+
4956
```julia
5057
using JSOSolvers, ADNLPModels
5158
f(x) = (x[1] - 1)^2 + 4 * (x[2] - x[1]^2)^2

0 commit comments

Comments
 (0)