Skip to content

Commit a779123

Browse files
committed
review done
1 parent 3d4b285 commit a779123

3 files changed

Lines changed: 35 additions & 43 deletions

File tree

docs/src/assets/Manifest.toml

Lines changed: 34 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,9 @@ version = "0.1.6"
159159

160160
[[deps.BracketingNonlinearSolve]]
161161
deps = ["CommonSolve", "ConcreteStructs", "NonlinearSolveBase", "PrecompileTools", "Reexport", "SciMLBase"]
162-
git-tree-sha1 = "a9014924595b7a2c1dd14aac516e38fa10ada656"
162+
git-tree-sha1 = "90740f16aef91d898424bc11c1cabada475435e0"
163163
uuid = "70df07ce-3d50-431d-a3e7-ca6ddb60ac1e"
164-
version = "1.3.0"
164+
version = "1.4.0"
165165
weakdeps = ["ChainRulesCore", "ForwardDiff"]
166166

167167
[deps.BracketingNonlinearSolve.extensions]
@@ -216,9 +216,9 @@ weakdeps = ["OrdinaryDiffEq"]
216216

217217
[[deps.CTModels]]
218218
deps = ["CTBase", "DocStringExtensions", "Interpolations", "LinearAlgebra", "MLStyle", "MacroTools", "OrderedCollections", "Parameters", "RecipesBase"]
219-
git-tree-sha1 = "20872a1b453a9b7a94822cc00a22c6741f71cf68"
219+
git-tree-sha1 = "13ff06553d6396590c0b09c9b9a5e0dee058af92"
220220
uuid = "34c4fa32-2049-4079-8329-de33c2a22e2d"
221-
version = "0.6.5"
221+
version = "0.6.6"
222222
weakdeps = ["JLD2", "JSON3", "Plots"]
223223

224224
[deps.CTModels.extensions]
@@ -398,9 +398,9 @@ version = "1.16.0"
398398

399399
[[deps.DataFrames]]
400400
deps = ["Compat", "DataAPI", "DataStructures", "Future", "InlineStrings", "InvertedIndices", "IteratorInterfaceExtensions", "LinearAlgebra", "Markdown", "Missings", "PooledArrays", "PrecompileTools", "PrettyTables", "Printf", "Random", "Reexport", "SentinelArrays", "SortingAlgorithms", "Statistics", "TableTraits", "Tables", "Unicode"]
401-
git-tree-sha1 = "a37ac0840a1196cd00317b57e39d6586bf0fd6f6"
401+
git-tree-sha1 = "c967271c27a95160e30432e011b58f42cd7501b5"
402402
uuid = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
403-
version = "1.7.1"
403+
version = "1.8.0"
404404

405405
[[deps.DataStructures]]
406406
deps = ["OrderedCollections"]
@@ -772,9 +772,9 @@ version = "1.3.7"
772772

773773
[[deps.ForwardDiff]]
774774
deps = ["CommonSubexpressions", "DiffResults", "DiffRules", "LinearAlgebra", "LogExpFunctions", "NaNMath", "Preferences", "Printf", "Random", "SpecialFunctions"]
775-
git-tree-sha1 = "f0090eb9f8e9d151563dd2300fc3ca3f76b90fe8"
775+
git-tree-sha1 = "dc41303865a16274ecb8450c220021ce1e0cf05f"
776776
uuid = "f6369f11-7733-5829-9624-2563aa707210"
777-
version = "1.2.0"
777+
version = "1.2.1"
778778
weakdeps = ["StaticArrays"]
779779

780780
[deps.ForwardDiff.extensions]
@@ -1545,50 +1545,58 @@ version = "4.10.0"
15451545
Sundials = "c3572dad-4567-51f8-b174-8c6c989267f4"
15461546

15471547
[[deps.NonlinearSolveBase]]
1548-
deps = ["ADTypes", "Adapt", "ArrayInterface", "CommonSolve", "Compat", "ConcreteStructs", "DifferentiationInterface", "EnzymeCore", "FastClosures", "LinearAlgebra", "Markdown", "MaybeInplace", "Preferences", "Printf", "RecursiveArrayTools", "SciMLBase", "SciMLJacobianOperators", "SciMLOperators", "StaticArraysCore", "SymbolicIndexingInterface", "TimerOutputs"]
1549-
git-tree-sha1 = "1d42a315ba627ca0027d49d0efb44e3d88db24aa"
1548+
deps = ["ADTypes", "Adapt", "ArrayInterface", "CommonSolve", "Compat", "ConcreteStructs", "DifferentiationInterface", "EnzymeCore", "FastClosures", "LinearAlgebra", "Markdown", "MaybeInplace", "Preferences", "Printf", "RecursiveArrayTools", "SciMLBase", "SciMLJacobianOperators", "SciMLOperators", "SciMLStructures", "Setfield", "StaticArraysCore", "SymbolicIndexingInterface", "TimerOutputs"]
1549+
git-tree-sha1 = "99a400f7ad42e56431c76f3eadee0755f2123fda"
15501550
uuid = "be0214bd-f91f-a760-ac4e-3421ce2b2da0"
1551-
version = "1.14.0"
1551+
version = "1.15.0"
15521552

15531553
[deps.NonlinearSolveBase.extensions]
15541554
NonlinearSolveBaseBandedMatricesExt = "BandedMatrices"
1555-
NonlinearSolveBaseDiffEqBaseExt = "DiffEqBase"
1555+
NonlinearSolveBaseChainRulesCoreExt = "ChainRulesCore"
1556+
NonlinearSolveBaseEnzymeExt = ["ChainRulesCore", "Enzyme"]
15561557
NonlinearSolveBaseForwardDiffExt = "ForwardDiff"
15571558
NonlinearSolveBaseLineSearchExt = "LineSearch"
15581559
NonlinearSolveBaseLinearSolveExt = "LinearSolve"
1560+
NonlinearSolveBaseMooncakeExt = "Mooncake"
1561+
NonlinearSolveBaseReverseDiffExt = "ReverseDiff"
15591562
NonlinearSolveBaseSparseArraysExt = "SparseArrays"
15601563
NonlinearSolveBaseSparseMatrixColoringsExt = "SparseMatrixColorings"
1564+
NonlinearSolveBaseTrackerExt = "Tracker"
15611565

15621566
[deps.NonlinearSolveBase.weakdeps]
15631567
BandedMatrices = "aae01518-5342-5314-be14-df237901396f"
1564-
DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e"
1568+
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
1569+
Enzyme = "7da242da-08ed-463a-9acd-ee780be4f1d9"
15651570
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
15661571
LineSearch = "87fe0de2-c867-4266-b59a-2f0a94fc965b"
15671572
LinearSolve = "7ed4a6bd-45f5-4d41-b270-4a48e9bafcae"
1573+
Mooncake = "da2b9cff-9c12-43a0-ae48-6db2b0edb7d6"
1574+
ReverseDiff = "37e2e3b7-166d-5795-8a7a-e32c996b4267"
15681575
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
15691576
SparseMatrixColorings = "0a514795-09f3-496d-8182-132a7b665d35"
1577+
Tracker = "9f7883ad-71c0-57eb-9f7f-b5c9e6d3789c"
15701578

15711579
[[deps.NonlinearSolveFirstOrder]]
1572-
deps = ["ADTypes", "ArrayInterface", "CommonSolve", "ConcreteStructs", "DiffEqBase", "FiniteDiff", "ForwardDiff", "LineSearch", "LinearAlgebra", "LinearSolve", "MaybeInplace", "NonlinearSolveBase", "PrecompileTools", "Reexport", "SciMLBase", "SciMLJacobianOperators", "Setfield", "StaticArraysCore"]
1573-
git-tree-sha1 = "3f1198ae5cbf21e84b8251a9e62fa1f888f3e4cb"
1580+
deps = ["ADTypes", "ArrayInterface", "CommonSolve", "ConcreteStructs", "FiniteDiff", "ForwardDiff", "LineSearch", "LinearAlgebra", "LinearSolve", "MaybeInplace", "NonlinearSolveBase", "PrecompileTools", "Reexport", "SciMLBase", "SciMLJacobianOperators", "Setfield", "StaticArraysCore"]
1581+
git-tree-sha1 = "b9702235120d1161f8041b326eccebd334340de2"
15741582
uuid = "5959db7a-ea39-4486-b5fe-2dd0bf03d60d"
1575-
version = "1.7.0"
1583+
version = "1.8.0"
15761584

15771585
[[deps.NonlinearSolveQuasiNewton]]
1578-
deps = ["ArrayInterface", "CommonSolve", "ConcreteStructs", "DiffEqBase", "LinearAlgebra", "LinearSolve", "MaybeInplace", "NonlinearSolveBase", "PrecompileTools", "Reexport", "SciMLBase", "SciMLOperators", "StaticArraysCore"]
1579-
git-tree-sha1 = "40dfaf1bf74f1f700f81d0002d4dd90999598eb2"
1586+
deps = ["ArrayInterface", "CommonSolve", "ConcreteStructs", "LinearAlgebra", "LinearSolve", "MaybeInplace", "NonlinearSolveBase", "PrecompileTools", "Reexport", "SciMLBase", "SciMLOperators", "StaticArraysCore"]
1587+
git-tree-sha1 = "4e0e34601c6c9890aa9443003180967f75c6929d"
15801588
uuid = "9a2c21bd-3a47-402d-9113-8faf9a0ee114"
1581-
version = "1.8.0"
1589+
version = "1.9.0"
15821590
weakdeps = ["ForwardDiff"]
15831591

15841592
[deps.NonlinearSolveQuasiNewton.extensions]
15851593
NonlinearSolveQuasiNewtonForwardDiffExt = "ForwardDiff"
15861594

15871595
[[deps.NonlinearSolveSpectralMethods]]
1588-
deps = ["CommonSolve", "ConcreteStructs", "DiffEqBase", "LineSearch", "MaybeInplace", "NonlinearSolveBase", "PrecompileTools", "Reexport", "SciMLBase"]
1589-
git-tree-sha1 = "84de5a469e119eb2c22ae07c543dc4e7f7001ee7"
1596+
deps = ["CommonSolve", "ConcreteStructs", "LineSearch", "MaybeInplace", "NonlinearSolveBase", "PrecompileTools", "Reexport", "SciMLBase"]
1597+
git-tree-sha1 = "6c613302febe2bb408a888105d07073cf6824911"
15901598
uuid = "26075421-4e9a-44e1-8bd1-420ed7ad02b2"
1591-
version = "1.3.0"
1599+
version = "1.4.0"
15921600
weakdeps = ["ForwardDiff"]
15931601

15941602
[deps.NonlinearSolveSpectralMethods.extensions]
@@ -2138,9 +2146,9 @@ version = "2025.5.20+0"
21382146

21392147
[[deps.SciMLBase]]
21402148
deps = ["ADTypes", "Accessors", "Adapt", "ArrayInterface", "CommonSolve", "ConstructionBase", "Distributed", "DocStringExtensions", "EnumX", "FunctionWrappersWrappers", "IteratorInterfaceExtensions", "LinearAlgebra", "Logging", "Markdown", "Moshi", "PreallocationTools", "PrecompileTools", "Preferences", "Printf", "RecipesBase", "RecursiveArrayTools", "Reexport", "RuntimeGeneratedFunctions", "SciMLOperators", "SciMLStructures", "StaticArraysCore", "Statistics", "SymbolicIndexingInterface"]
2141-
git-tree-sha1 = "5982c08327b320f913404dc06161ac6c055093c4"
2149+
git-tree-sha1 = "77fb2a02803c5989dab94921fd51f39c24628ce7"
21422150
uuid = "0bca4576-84f4-4d90-8ffe-ffa030f20462"
2143-
version = "2.117.1"
2151+
version = "2.118.0"
21442152

21452153
[deps.SciMLBase.extensions]
21462154
SciMLBaseChainRulesCoreExt = "ChainRulesCore"
@@ -2248,19 +2256,17 @@ version = "1.2.0"
22482256

22492257
[[deps.SimpleNonlinearSolve]]
22502258
deps = ["ADTypes", "ArrayInterface", "BracketingNonlinearSolve", "CommonSolve", "ConcreteStructs", "DifferentiationInterface", "FastClosures", "FiniteDiff", "ForwardDiff", "LineSearch", "LinearAlgebra", "MaybeInplace", "NonlinearSolveBase", "PrecompileTools", "Reexport", "SciMLBase", "Setfield", "StaticArraysCore"]
2251-
git-tree-sha1 = "09d986e27a606f172c5b6cffbd8b8b2f10bf1c75"
2259+
git-tree-sha1 = "782c67176b473abf62a6786399c4b7ddcc1a2d77"
22522260
uuid = "727e6d20-b764-4bd8-a329-72de5adea6c7"
2253-
version = "2.7.0"
2261+
version = "2.8.0"
22542262

22552263
[deps.SimpleNonlinearSolve.extensions]
22562264
SimpleNonlinearSolveChainRulesCoreExt = "ChainRulesCore"
2257-
SimpleNonlinearSolveDiffEqBaseExt = "DiffEqBase"
22582265
SimpleNonlinearSolveReverseDiffExt = "ReverseDiff"
22592266
SimpleNonlinearSolveTrackerExt = "Tracker"
22602267

22612268
[deps.SimpleNonlinearSolve.weakdeps]
22622269
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
2263-
DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e"
22642270
ReverseDiff = "37e2e3b7-166d-5795-8a7a-e32c996b4267"
22652271
Tracker = "9f7883ad-71c0-57eb-9f7f-b5c9e6d3789c"
22662272

docs/src/example-double-integrator-energy.md

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,5 @@
11
# [Double integrator: energy minimisation](@id example-double-integrator-energy)
22

3-
```@setup main
4-
using MINPACK
5-
function fsolve(f, j, x; kwargs...)
6-
try
7-
MINPACK.fsolve(f, j, x; kwargs...)
8-
catch e
9-
println("Error using MINPACK")
10-
println(e)
11-
println("hybrj not supported. Replaced by hybrd even if it is not visible on the doc.")
12-
MINPACK.fsolve(f, x; kwargs...)
13-
end
14-
end
15-
```
16-
173
Let us consider a wagon moving along a rail, whose acceleration can be controlled by a force $u$.
184
We denote by $x = (x_1, x_2)$ the state of the wagon, where $x_1$ is the position and $x_2$ the velocity.
195

docs/src/example-double-integrator-time.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ We are now ready to solve the shooting equations:
141141
nle!(s, ξ, λ) = shoot!(s, ξ[1:2], ξ[3], ξ[4])
142142
143143
# initial guess: costate and final time
144-
ξ_guess = [1, 1, 1, 2]
144+
ξ_guess = [0.1, 0.1, 0.5, 1]
145145
146146
# NLE problem
147147
prob = NonlinearProblem(nle!, ξ_guess)

0 commit comments

Comments
 (0)