Skip to content

Commit

Permalink
Add to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal committed Nov 6, 2023
1 parent 44ccbb6 commit e9d78c5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
2 changes: 2 additions & 0 deletions docs/src/api/nonlinearsolve.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ GeneralKlement
## Polyalgorithms

```@docs
NonlinearSolvePolyAlgorithm
FastShortcutNonlinearPolyalg
FastShortcutNLLSPolyalg
RobustMultiNewton
```

Expand Down
12 changes: 4 additions & 8 deletions docs/src/solvers/NonlinearLeastSquaresSolvers.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ Solves the nonlinear least squares problem defined by `prob` using the algorithm

## Recommended Methods

`LevenbergMarquardt` is a good choice for most problems.
The default method `FastShortcutNLLSPolyalg` is a good choice for most
problems. It is a polyalgorithm that attempts to use a fast algorithm
(`GaussNewton`) and if that fails it falls back to a more robust
algorithm (`LevenbergMarquardt`).

## Full List of Methods

Expand All @@ -21,10 +24,3 @@ Solves the nonlinear least squares problem defined by `prob` using the algorithm
problems.
- `SimpleNewtonRaphson()`: Simple Gauss Newton Implementation with `QRFactorization` to
solve a linear least squares problem at each step!

## Example usage

```julia
using NonlinearSolve
sol = solve(prob, LevenbergMarquardt())
```

0 comments on commit e9d78c5

Please sign in to comment.