Skip to content

Commit ad93e39

Browse files
committed
Drop deprecated things
1 parent b853842 commit ad93e39

30 files changed

+221
-244
lines changed

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "NonlinearSolve"
22
uuid = "8913a72c-1f9b-4ce2-8d82-65094dcecaec"
33
authors = ["SciML"]
4-
version = "2.10.0"
4+
version = "3.0.0"
55

66
[deps]
77
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"
@@ -72,7 +72,7 @@ Reexport = "0.2, 1"
7272
SafeTestsets = "0.1"
7373
SciMLBase = "2.9"
7474
SciMLOperators = "0.3"
75-
SimpleNonlinearSolve = "0.1.23"
75+
SimpleNonlinearSolve = "1"
7676
SparseArrays = "<0.0.1, 1"
7777
SparseDiffTools = "2.14"
7878
StableRNGs = "1"

docs/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ NonlinearSolve = "1, 2"
3030
NonlinearSolveMINPACK = "0.1"
3131
SciMLBase = "2.4"
3232
SciMLNLSolve = "0.1"
33-
SimpleNonlinearSolve = "0.1.5, 1"
33+
SimpleNonlinearSolve = "1"
3434
StaticArrays = "1"
3535
SteadyStateDiffEq = "1.10, 2"
3636
Sundials = "4.11"

docs/pages.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,5 @@ pages = ["index.md",
2525
"api/nlsolve.md",
2626
"api/sundials.md",
2727
"api/steadystatediffeq.md"],
28+
"Release Notes" => "release_notes.md",
2829
]

docs/src/api/nonlinearsolve.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ NewtonRaphson
99
TrustRegion
1010
PseudoTransient
1111
DFSane
12-
GeneralBroyden
13-
GeneralKlement
12+
Broyden
13+
Klement
1414
```
1515

1616
## Polyalgorithms

docs/src/api/simplenonlinearsolve.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Brent
1818

1919
### General Methods
2020

21-
These methods are suited for any general nonlinear root-finding problem , i.e. `NonlinearProblem`.
21+
These methods are suited for any general nonlinear root-finding problem, i.e. `NonlinearProblem`.
2222

2323
```@docs
2424
SimpleNewtonRaphson

docs/src/api/steadystatediffeq.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ These methods can be used independently of the rest of NonlinearSolve.jl
1717

1818
```@docs
1919
DynamicSS
20+
SSRootfind
2021
```

docs/src/basics/TerminationCondition.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,3 @@ DiffEqBase.NonlinearSafeTerminationReturnCode.Failure
6363
DiffEqBase.NonlinearSafeTerminationReturnCode.PatienceTermination
6464
DiffEqBase.NonlinearSafeTerminationReturnCode.ProtectiveTermination
6565
```
66-
67-
## [Deprecated] Termination Condition API
68-
69-
!!! warning
70-
71-
This is deprecated. Currently only parts of `SimpleNonlinearSolve` uses this API. That
72-
will also be phased out soon!
73-
74-
```@docs
75-
NLSolveTerminationCondition
76-
```

docs/src/basics/solve.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,31 @@
33
```@docs
44
solve(prob::SciMLBase.NonlinearProblem, args...; kwargs...)
55
```
6+
7+
## General Controls
8+
9+
- `alias_u0::Bool`: Whether to alias the initial condition or use a copy.
10+
Defaults to `false`.
11+
- `internal_norm::Function`: The norm used by the solver. Default depends on algorithm
12+
choice.
13+
14+
## Iteration Controls
15+
16+
- `maxiters::Int`: The maximum number of iterations to perform. Defaults to `1000`.
17+
- `abstol::Number`: The absolute tolerance.
18+
- `reltol::Number`: The relative tolerance.
19+
- `termination_condition`: Termination Condition from DiffEqBase. Defaults to
20+
`AbsSafeBestTerminationMode()` for `NonlinearSolve.jl` and `AbsTerminateMode()` for
21+
`SimpleNonlinearSolve.jl`.
22+
23+
## Tracing Controls
24+
25+
These are exclusively available for native `NonlinearSolve.jl` solvers.
26+
27+
- `show_trace`: Must be `Val(true)` or `Val(false)`. This controls whether the trace is
28+
displayed to the console. (Defaults to `Val(false)`)
29+
- `trace_level`: Needs to be one of Trace Objects: [`TraceMinimal`](@ref),
30+
[`TraceWithJacobianConditionNumber`](@ref), or [`TraceAll`](@ref). This controls the
31+
level of detail of the trace. (Defaults to `TraceMinimal()`)
32+
- `store_trace`: Must be `Val(true)` or `Val(false)`. This controls whether the trace is
33+
stored in the solution object. (Defaults to `Val(false)`)

docs/src/index.md

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,17 @@ Pkg.add("NonlinearSolve")
2727

2828
## Contributing
2929

30-
- Please refer to the
31-
[SciML ColPrac: Contributor's Guide on Collaborative Practices for Community Packages](https://github.com/SciML/ColPrac/blob/master/README.md)
32-
for guidance on PRs, issues, and other matters relating to contributing to SciML.
33-
34-
- See the [SciML Style Guide](https://github.com/SciML/SciMLStyle) for common coding practices and other style decisions.
35-
- There are a few community forums:
36-
37-
+ The #diffeq-bridged and #sciml-bridged channels in the
38-
[Julia Slack](https://julialang.org/slack/)
39-
+ The #diffeq-bridged and #sciml-bridged channels in the
40-
[Julia Zulip](https://julialang.zulipchat.com/#narrow/stream/279055-sciml-bridged)
41-
+ On the [Julia Discourse forums](https://discourse.julialang.org)
42-
+ See also [SciML Community page](https://sciml.ai/community/)
30+
- Please refer to the
31+
[SciML ColPrac: Contributor's Guide on Collaborative Practices for Community Packages](https://github.com/SciML/ColPrac/blob/master/README.md)
32+
for guidance on PRs, issues, and other matters relating to contributing to SciML.
33+
34+
- See the [SciML Style Guide](https://github.com/SciML/SciMLStyle) for common coding practices and other style decisions.
35+
- There are a few community forums:
36+
37+
- The #diffeq-bridged and #sciml-bridged channels in the [Julia Slack](https://julialang.org/slack/)
38+
- The #diffeq-bridged and #sciml-bridged channels in the [Julia Zulip](https://julialang.zulipchat.com/#narrow/stream/279055-sciml-bridged)
39+
- On the [Julia Discourse forums](https://discourse.julialang.org)
40+
- See also [SciML Community page](https://sciml.ai/community/)
4341

4442
## Reproducibility
4543

docs/src/release_notes.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Release Notes
2+
3+
## Breaking Changes in NonlinearSolve.jl v3
4+
5+
1. `GeneralBroyden` and `GeneralKlement` have been renamed to `Broyden` and `Klement`
6+
respectively.
7+
2. Compat for `SimpleNonlinearSolve` has been bumped to `v1`.
8+
3. The old API to specify autodiff via `Val` and chunksize (that was deprecated in v2) has
9+
been removed.

0 commit comments

Comments
 (0)