Skip to content

Commit 5afaba3

Browse files
committed
docs: copy edits and grammar fixes in advanced and intro tutorials
1 parent e613fad commit 5afaba3

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

tutorials/advanced-jsosolvers/index.jmd

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ tags: ["solvers", "krylov", "benchmark", "least squares"]
44
author: "Tangi Migot"
55
---
66

7-
# Comparing subsolvers for nonlinear least squares JSOSolvers solvers
7+
# Comparing subsolvers for nonlinear least squares in JSOSolvers
88

99
This tutorial showcases some advanced features of solvers in JSOSolvers.
1010

@@ -14,7 +14,7 @@ using JSOSolvers
1414

1515
Migration note (JSOSolvers ≥ 0.11): subsolvers are now selected with a Symbol via the `subsolver` keyword. Replace any old usages like `trunk(nlp, subsolver_type = CglsSolver)` with `trunk(nlp; subsolver = :cgls)`. See `JSOSolvers.trunkls_allowed_subsolvers` and `JSOSolvers.tronls_allowed_subsolvers` for the list of accepted symbols.
1616

17-
We benchmark different subsolvers used in the solvers TRUNK for unconstrained nonlinear least squares problems.
17+
We benchmark different subsolvers used in the solver TRUNK for unconstrained nonlinear least squares problems.
1818
The first step is to select a set of problems that are nonlinear least squares.
1919

2020
```julia
@@ -40,7 +40,7 @@ For this task, several solvers are available.
4040
JSOSolvers.trunkls_allowed_subsolvers
4141
```
4242

43-
This benchmark could also be followed for the solver TRON where the following subsolver are available.
43+
This benchmark could also be followed for the solver TRON where the following subsolvers are available.
4444

4545
```julia
4646
JSOSolvers.tronls_allowed_subsolvers
@@ -118,5 +118,5 @@ profile_solvers(stats, costs, costnames)
118118
```
119119

120120
The CRLS and CGLS variants are the ones solving more problems, and even though the difference is rather small the CGLS variant is consistently faster which seems to indicate that it is the most appropriate subsolver for TRUNK.
121-
The size of the problems were rather small here, so this should be confirmed on larger instance.
121+
The size of the problems was rather small here, so this should be confirmed on larger instances.
122122
Moreover, the results may vary depending on the origin of the test problems.

tutorials/introduction-to-jsosolvers/index.jmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ solver = LBFGSSolver(nlp; mem = 5);
127127
stats = solve!(solver, nlp)
128128
```
129129

130-
The following table provides the correspondance between the solvers and the solvers structures:
130+
The following table provides the correspondence between the algorithms and their solver structures:
131131

132132
| Algorithm | Solver structure |
133133
| ------------------- | ---------------- |

0 commit comments

Comments
 (0)