Skip to content

Commit b9de5a5

Browse files
committed
docs(intro): add migration note for subsolver API (subsolver_type => subsolver = :symbol)
1 parent 4072eca commit b9de5a5

File tree

1 file changed

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

1 file changed

+2
-0
lines changed

tutorials/introduction-to-jsosolvers/index.jmd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ All solvers are based on [NLPModels.jl](https://github.com/JuliaSmoothOptimizers
1616
This package contains the implementation of four algorithms that are classical for unconstrained/bound-constrained nonlinear optimization:
1717
`lbfgs`, `R2`, `tron`, and `trunk`.
1818

19+
Migration note (JSOSolvers ≥ 0.11): when using specialized least-squares variants of `tron`/`trunk`, select the linear least-squares subsolver via a Symbol using the `subsolver` keyword, e.g. `trunk(nlp; subsolver = :lsmr)`. The old `subsolver_type = CglsSolver` style is no longer supported. See `JSOSolvers.trunkls_allowed_subsolvers` and `JSOSolvers.tronls_allowed_subsolvers` for the accepted symbols.
20+
1921
## Solver input and output
2022

2123
All solvers have the following signature:

0 commit comments

Comments
 (0)