Skip to content

Commit c9a146c

Browse files
committed
add constraints to help convergence
1 parent d46c218 commit c9a146c

File tree

3 files changed

+68
-60
lines changed

3 files changed

+68
-60
lines changed

docs/make.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ cp("./docs/Project.toml", "./docs/src/assets/Project.toml", force = true)
88
repo_url = "github.com/control-toolbox/Tutorials.jl"
99

1010
makedocs(;
11-
draft = false,
11+
draft = true,
1212
warnonly=[:cross_references, :autodocs_block],
1313
sitename="Tutorials",
1414
format=Documenter.HTML(;

docs/src/assets/Manifest.toml

Lines changed: 59 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@ version = "1.1.2"
9090

9191
[[deps.ArrayInterface]]
9292
deps = ["Adapt", "LinearAlgebra"]
93-
git-tree-sha1 = "bebb10cd3f0796dd1429ba61e43990ba391186e9"
93+
git-tree-sha1 = "9606d7832795cbef89e06a550475be300364a8aa"
9494
uuid = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"
95-
version = "7.18.1"
95+
version = "7.19.0"
9696

9797
[deps.ArrayInterface.extensions]
9898
ArrayInterfaceBandedMatricesExt = "BandedMatrices"
@@ -210,9 +210,9 @@ weakdeps = ["OrdinaryDiffEq"]
210210

211211
[[deps.CTModels]]
212212
deps = ["CTBase", "DocStringExtensions", "Interpolations", "LinearAlgebra", "MLStyle", "MacroTools", "OrderedCollections", "Parameters", "PrettyTables", "RecipesBase"]
213-
git-tree-sha1 = "717ff07c390ce0b1546ed9f07c09b5b24097961d"
213+
git-tree-sha1 = "a67b17d64f5e58b78e360b17d712d62962cdd591"
214214
uuid = "34c4fa32-2049-4079-8329-de33c2a22e2d"
215-
version = "0.3.6"
215+
version = "0.3.8"
216216

217217
[deps.CTModels.extensions]
218218
CTModelsJLD = "JLD2"
@@ -407,9 +407,9 @@ version = "1.9.1"
407407

408408
[[deps.DiffEqBase]]
409409
deps = ["ArrayInterface", "ConcreteStructs", "DataStructures", "DocStringExtensions", "EnumX", "EnzymeCore", "FastBroadcast", "FastClosures", "FastPower", "FunctionWrappers", "FunctionWrappersWrappers", "LinearAlgebra", "Logging", "Markdown", "MuladdMacro", "Parameters", "PrecompileTools", "Printf", "RecursiveArrayTools", "Reexport", "SciMLBase", "SciMLOperators", "SciMLStructures", "Setfield", "Static", "StaticArraysCore", "Statistics", "SymbolicIndexingInterface", "TruncatedStacktraces"]
410-
git-tree-sha1 = "6a0f6f17adbeb77688220cfb3e665c8f6e2a60ea"
410+
git-tree-sha1 = "1bcd3a5c585c477e5d0595937ea7b5adcda6c621"
411411
uuid = "2b5f629d-d688-5b77-993f-72d75c75574e"
412-
version = "6.172.0"
412+
version = "6.174.0"
413413

414414
[deps.DiffEqBase.extensions]
415415
DiffEqBaseCUDAExt = "CUDA"
@@ -457,9 +457,9 @@ version = "1.15.1"
457457

458458
[[deps.DifferentiationInterface]]
459459
deps = ["ADTypes", "LinearAlgebra"]
460-
git-tree-sha1 = "aa87a743e3778d35a950b76fbd2ae64f810a2bb3"
460+
git-tree-sha1 = "c8d85ecfcbaef899308706bebdd8b00107f3fb43"
461461
uuid = "a0c0ee7d-e4b9-4e03-894e-1c5f64a51d63"
462-
version = "0.6.52"
462+
version = "0.6.54"
463463

464464
[deps.DifferentiationInterface.extensions]
465465
DifferentiationInterfaceChainRulesCoreExt = "ChainRulesCore"
@@ -516,10 +516,10 @@ uuid = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
516516
version = "0.9.4"
517517

518518
[[deps.Documenter]]
519-
deps = ["ANSIColoredPrinters", "AbstractTrees", "Base64", "CodecZlib", "Dates", "DocStringExtensions", "Downloads", "Git", "IOCapture", "InteractiveUtils", "JSON", "LibGit2", "Logging", "Markdown", "MarkdownAST", "Pkg", "PrecompileTools", "REPL", "RegistryInstances", "SHA", "TOML", "Test", "Unicode"]
520-
git-tree-sha1 = "b7af952d4701252dc45d3b0025693e9cb4dedcd8"
519+
deps = ["ANSIColoredPrinters", "AbstractTrees", "Base64", "CodecZlib", "Dates", "DocStringExtensions", "Downloads", "Git", "IOCapture", "InteractiveUtils", "JSON", "Logging", "Markdown", "MarkdownAST", "Pkg", "PrecompileTools", "REPL", "RegistryInstances", "SHA", "TOML", "Test", "Unicode"]
520+
git-tree-sha1 = "6c182d0bd94142d7cbc3ae8a1e74668f15d0dd65"
521521
uuid = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
522-
version = "1.10.2"
522+
version = "1.11.4"
523523

524524
[[deps.Downloads]]
525525
deps = ["ArgTools", "FileWatching", "LibCURL", "NetworkOptions"]
@@ -788,9 +788,9 @@ version = "1.0.2"
788788

789789
[[deps.HSL]]
790790
deps = ["HSL_jll", "Libdl", "LinearAlgebra", "OpenBLAS32_jll", "Quadmath", "SparseArrays"]
791-
git-tree-sha1 = "1cfc6a0b38f432db210f6148ad945ce2d56d85fb"
791+
git-tree-sha1 = "4898d678a6f7549c41bd9f187233f979da18bc36"
792792
uuid = "34c5aeac-e683-54a6-a0e9-6e0fdc586c50"
793-
version = "0.5.0"
793+
version = "0.5.1"
794794

795795
[[deps.HSL_jll]]
796796
deps = ["Artifacts", "CompilerSupportLibraries_jll", "JLLWrappers", "Libdl"]
@@ -812,9 +812,9 @@ version = "8.5.0+0"
812812

813813
[[deps.Hwloc_jll]]
814814
deps = ["Artifacts", "JLLWrappers", "Libdl"]
815-
git-tree-sha1 = "f93a9ce66cd89c9ba7a4695a47fd93b4c6bc59fa"
815+
git-tree-sha1 = "92f65c4d78ce8cdbb6b68daf88889950b0a99d11"
816816
uuid = "e33a78d0-f292-5ffc-b300-72abe9b543c8"
817-
version = "2.12.0+0"
817+
version = "2.12.1+0"
818818

819819
[[deps.IOCapture]]
820820
deps = ["Logging", "Random"]
@@ -1117,9 +1117,9 @@ version = "2.10.0"
11171117

11181118
[[deps.LinearSolve]]
11191119
deps = ["ArrayInterface", "ChainRulesCore", "ConcreteStructs", "DocStringExtensions", "EnumX", "GPUArraysCore", "InteractiveUtils", "Krylov", "LazyArrays", "Libdl", "LinearAlgebra", "MKL_jll", "Markdown", "PrecompileTools", "Preferences", "RecursiveArrayTools", "Reexport", "SciMLBase", "SciMLOperators", "Setfield", "StaticArraysCore", "UnPack"]
1120-
git-tree-sha1 = "dd7a3f6e0cc5ded5d936692d7f9f7981243d75ef"
1120+
git-tree-sha1 = "c2685cb9d01923f0e63155149c390504e72a8fcc"
11211121
uuid = "7ed4a6bd-45f5-4d41-b270-4a48e9bafcae"
1122-
version = "3.10.0"
1122+
version = "3.14.0"
11231123

11241124
[deps.LinearSolve.extensions]
11251125
LinearSolveBandedMatricesExt = "BandedMatrices"
@@ -1304,9 +1304,9 @@ version = "0.2.4"
13041304

13051305
[[deps.NLPModels]]
13061306
deps = ["FastClosures", "LinearAlgebra", "LinearOperators", "Printf", "SparseArrays"]
1307-
git-tree-sha1 = "808b4d1a5ee2a8cc089b285dd27284efb47b35c7"
1307+
git-tree-sha1 = "ac58082a07f0bd559292e869770d462d7ad0a7e2"
13081308
uuid = "a4795742-8479-5a88-8948-cc11e1c8c1a6"
1309-
version = "0.21.4"
1309+
version = "0.21.5"
13101310

13111311
[[deps.NLPModelsIpopt]]
13121312
deps = ["Ipopt", "NLPModels", "SolverCore"]
@@ -1364,9 +1364,9 @@ version = "4.8.0"
13641364

13651365
[[deps.NonlinearSolveBase]]
13661366
deps = ["ADTypes", "Adapt", "ArrayInterface", "CommonSolve", "Compat", "ConcreteStructs", "DifferentiationInterface", "EnzymeCore", "FastClosures", "LinearAlgebra", "Markdown", "MaybeInplace", "Preferences", "Printf", "RecursiveArrayTools", "SciMLBase", "SciMLJacobianOperators", "SciMLOperators", "StaticArraysCore", "SymbolicIndexingInterface", "TimerOutputs"]
1367-
git-tree-sha1 = "edfa90b9b46fc841b6f03106d9e1a054816f4f1d"
1367+
git-tree-sha1 = "df412bac2b517411eabb42c78ff234b01eb3e95b"
13681368
uuid = "be0214bd-f91f-a760-ac4e-3421ce2b2da0"
1369-
version = "1.6.0"
1369+
version = "1.9.0"
13701370

13711371
[deps.NonlinearSolveBase.extensions]
13721372
NonlinearSolveBaseBandedMatricesExt = "BandedMatrices"
@@ -1394,9 +1394,9 @@ version = "1.5.0"
13941394

13951395
[[deps.NonlinearSolveQuasiNewton]]
13961396
deps = ["ArrayInterface", "CommonSolve", "ConcreteStructs", "DiffEqBase", "LinearAlgebra", "LinearSolve", "MaybeInplace", "NonlinearSolveBase", "PrecompileTools", "Reexport", "SciMLBase", "SciMLOperators", "StaticArraysCore"]
1397-
git-tree-sha1 = "290d60e3e097eed44e0aba00643995a47284746b"
1397+
git-tree-sha1 = "b69a68ef3a7bba7ab1d5ef6321ed6d9a613142b0"
13981398
uuid = "9a2c21bd-3a47-402d-9113-8faf9a0ee114"
1399-
version = "1.3.0"
1399+
version = "1.5.0"
14001400
weakdeps = ["ForwardDiff"]
14011401

14021402
[deps.NonlinearSolveQuasiNewton.extensions]
@@ -1469,9 +1469,9 @@ version = "0.5.6+0"
14691469

14701470
[[deps.OptimalControl]]
14711471
deps = ["CTBase", "CTDirect", "CTFlows", "CTModels", "CTParser", "CommonSolve", "DocStringExtensions"]
1472-
git-tree-sha1 = "c22d61cfbe3ecad8e4023f05ff8cf11ae4b04a59"
1472+
git-tree-sha1 = "a174fae93643c078ea8e606f028e9016ff8b8c2c"
14731473
uuid = "5f98b655-cc9a-415a-b60e-744165666948"
1474-
version = "1.0.2"
1474+
version = "1.0.3"
14751475

14761476
[[deps.Opus_jll]]
14771477
deps = ["Artifacts", "JLLWrappers", "Libdl"]
@@ -1486,9 +1486,9 @@ version = "1.8.0"
14861486

14871487
[[deps.OrdinaryDiffEq]]
14881488
deps = ["ADTypes", "Adapt", "ArrayInterface", "DataStructures", "DiffEqBase", "DocStringExtensions", "EnumX", "ExponentialUtilities", "FastBroadcast", "FastClosures", "FillArrays", "FiniteDiff", "ForwardDiff", "FunctionWrappersWrappers", "InteractiveUtils", "LineSearches", "LinearAlgebra", "LinearSolve", "Logging", "MacroTools", "MuladdMacro", "NonlinearSolve", "OrdinaryDiffEqAdamsBashforthMoulton", "OrdinaryDiffEqBDF", "OrdinaryDiffEqCore", "OrdinaryDiffEqDefault", "OrdinaryDiffEqDifferentiation", "OrdinaryDiffEqExplicitRK", "OrdinaryDiffEqExponentialRK", "OrdinaryDiffEqExtrapolation", "OrdinaryDiffEqFIRK", "OrdinaryDiffEqFeagin", "OrdinaryDiffEqFunctionMap", "OrdinaryDiffEqHighOrderRK", "OrdinaryDiffEqIMEXMultistep", "OrdinaryDiffEqLinear", "OrdinaryDiffEqLowOrderRK", "OrdinaryDiffEqLowStorageRK", "OrdinaryDiffEqNonlinearSolve", "OrdinaryDiffEqNordsieck", "OrdinaryDiffEqPDIRK", "OrdinaryDiffEqPRK", "OrdinaryDiffEqQPRK", "OrdinaryDiffEqRKN", "OrdinaryDiffEqRosenbrock", "OrdinaryDiffEqSDIRK", "OrdinaryDiffEqSSPRK", "OrdinaryDiffEqStabilizedIRK", "OrdinaryDiffEqStabilizedRK", "OrdinaryDiffEqSymplecticRK", "OrdinaryDiffEqTsit5", "OrdinaryDiffEqVerner", "Polyester", "PreallocationTools", "PrecompileTools", "Preferences", "RecursiveArrayTools", "Reexport", "SciMLBase", "SciMLOperators", "SciMLStructures", "SimpleNonlinearSolve", "SimpleUnPack", "SparseArrays", "Static", "StaticArrayInterface", "StaticArrays", "TruncatedStacktraces"]
1489-
git-tree-sha1 = "2d7026dd8e4c7b3e7f47eef9c13c60ae55fe4912"
1489+
git-tree-sha1 = "56d5500e9970f0112a4e1ab6474d6fedde61ef64"
14901490
uuid = "1dea7af3-3e70-54e6-95c3-0bf5283fa5ed"
1491-
version = "6.95.1"
1491+
version = "6.97.0"
14921492

14931493
[[deps.OrdinaryDiffEqAdamsBashforthMoulton]]
14941494
deps = ["DiffEqBase", "FastBroadcast", "MuladdMacro", "OrdinaryDiffEqCore", "OrdinaryDiffEqLowOrderRK", "Polyester", "RecursiveArrayTools", "Reexport", "Static"]
@@ -1504,25 +1504,25 @@ version = "1.5.0"
15041504

15051505
[[deps.OrdinaryDiffEqCore]]
15061506
deps = ["ADTypes", "Accessors", "Adapt", "ArrayInterface", "DataStructures", "DiffEqBase", "DocStringExtensions", "EnumX", "FastBroadcast", "FastClosures", "FastPower", "FillArrays", "FunctionWrappersWrappers", "InteractiveUtils", "LinearAlgebra", "Logging", "MacroTools", "MuladdMacro", "Polyester", "PrecompileTools", "Preferences", "RecursiveArrayTools", "Reexport", "SciMLBase", "SciMLOperators", "SciMLStructures", "SimpleUnPack", "Static", "StaticArrayInterface", "StaticArraysCore", "SymbolicIndexingInterface", "TruncatedStacktraces"]
1507-
git-tree-sha1 = "af7374f4af1b9a67ce29524e7fd328fa3da33189"
1507+
git-tree-sha1 = "d29adfeb720dd7c251b216d91c4bd4fe67c087df"
15081508
uuid = "bbf590c4-e513-4bbe-9b18-05decba2e5d8"
1509-
version = "1.23.0"
1509+
version = "1.26.0"
15101510
weakdeps = ["EnzymeCore"]
15111511

15121512
[deps.OrdinaryDiffEqCore.extensions]
15131513
OrdinaryDiffEqCoreEnzymeCoreExt = "EnzymeCore"
15141514

15151515
[[deps.OrdinaryDiffEqDefault]]
15161516
deps = ["ADTypes", "DiffEqBase", "EnumX", "LinearAlgebra", "LinearSolve", "OrdinaryDiffEqBDF", "OrdinaryDiffEqCore", "OrdinaryDiffEqRosenbrock", "OrdinaryDiffEqTsit5", "OrdinaryDiffEqVerner", "PrecompileTools", "Preferences", "Reexport"]
1517-
git-tree-sha1 = "835c06684b6ff1b8904ceae4d18cc8fe45b9a7cc"
1517+
git-tree-sha1 = "8eeed32442874d1bdcc2192a874a73f1a9a07e31"
15181518
uuid = "50262376-6c5a-4cf5-baba-aaf4f84d72d7"
1519-
version = "1.3.0"
1519+
version = "1.4.0"
15201520

15211521
[[deps.OrdinaryDiffEqDifferentiation]]
15221522
deps = ["ADTypes", "ArrayInterface", "ConcreteStructs", "ConstructionBase", "DiffEqBase", "DifferentiationInterface", "FastBroadcast", "FiniteDiff", "ForwardDiff", "FunctionWrappersWrappers", "LinearAlgebra", "LinearSolve", "OrdinaryDiffEqCore", "SciMLBase", "SciMLOperators", "SparseArrays", "SparseMatrixColorings", "StaticArrayInterface", "StaticArrays"]
1523-
git-tree-sha1 = "6595287379a518d7eb8f02edc49a96a02396e887"
1523+
git-tree-sha1 = "315d25dd06614e199973cc13d22e533073bd7458"
15241524
uuid = "4302a76b-040a-498a-8c04-15b101fed76b"
1525-
version = "1.7.0"
1525+
version = "1.9.0"
15261526

15271527
[[deps.OrdinaryDiffEqExplicitRK]]
15281528
deps = ["DiffEqBase", "FastBroadcast", "LinearAlgebra", "MuladdMacro", "OrdinaryDiffEqCore", "RecursiveArrayTools", "Reexport", "TruncatedStacktraces"]
@@ -1544,9 +1544,9 @@ version = "1.5.0"
15441544

15451545
[[deps.OrdinaryDiffEqFIRK]]
15461546
deps = ["ADTypes", "DiffEqBase", "FastBroadcast", "FastGaussQuadrature", "FastPower", "LinearAlgebra", "LinearSolve", "MuladdMacro", "OrdinaryDiffEqCore", "OrdinaryDiffEqDifferentiation", "OrdinaryDiffEqNonlinearSolve", "Polyester", "RecursiveArrayTools", "Reexport", "SciMLBase", "SciMLOperators"]
1547-
git-tree-sha1 = "7d2c82c13a634f7400a3f398d33f1354ab38a090"
1547+
git-tree-sha1 = "0da8ec3491821262a3d2828e6370e76b51a770a3"
15481548
uuid = "5960d6e9-dd7a-4743-88e7-cf307b64f125"
1549-
version = "1.10.0"
1549+
version = "1.12.0"
15501550

15511551
[[deps.OrdinaryDiffEqFeagin]]
15521552
deps = ["DiffEqBase", "FastBroadcast", "MuladdMacro", "OrdinaryDiffEqCore", "Polyester", "RecursiveArrayTools", "Reexport", "Static"]
@@ -1573,10 +1573,10 @@ uuid = "9f002381-b378-40b7-97a6-27a27c83f129"
15731573
version = "1.3.0"
15741574

15751575
[[deps.OrdinaryDiffEqLinear]]
1576-
deps = ["DiffEqBase", "ExponentialUtilities", "LinearAlgebra", "OrdinaryDiffEqCore", "OrdinaryDiffEqTsit5", "OrdinaryDiffEqVerner", "RecursiveArrayTools", "Reexport", "SciMLBase", "SciMLOperators"]
1577-
git-tree-sha1 = "0f81a77ede3da0dc714ea61e81c76b25db4ab87a"
1576+
deps = ["DiffEqBase", "ExponentialUtilities", "LinearAlgebra", "OrdinaryDiffEqCore", "RecursiveArrayTools", "Reexport", "SciMLBase", "SciMLOperators"]
1577+
git-tree-sha1 = "940cef72ec8799d869ff1ba3dcf47cf7758e51cf"
15781578
uuid = "521117fe-8c41-49f8-b3b6-30780b3f0fb5"
1579-
version = "1.1.0"
1579+
version = "1.3.0"
15801580

15811581
[[deps.OrdinaryDiffEqLowOrderRK]]
15821582
deps = ["DiffEqBase", "FastBroadcast", "LinearAlgebra", "MuladdMacro", "OrdinaryDiffEqCore", "RecursiveArrayTools", "Reexport", "SciMLBase", "Static"]
@@ -1592,9 +1592,9 @@ version = "1.3.0"
15921592

15931593
[[deps.OrdinaryDiffEqNonlinearSolve]]
15941594
deps = ["ADTypes", "ArrayInterface", "DiffEqBase", "FastBroadcast", "FastClosures", "ForwardDiff", "LinearAlgebra", "LinearSolve", "MuladdMacro", "NonlinearSolve", "OrdinaryDiffEqCore", "OrdinaryDiffEqDifferentiation", "PreallocationTools", "RecursiveArrayTools", "SciMLBase", "SciMLOperators", "SciMLStructures", "SimpleNonlinearSolve", "StaticArrays"]
1595-
git-tree-sha1 = "d75cf29dea3a72bac7a5b21523ac969b71f43e96"
1595+
git-tree-sha1 = "2f956f14c97ff507e855703ac760d513f7c3e372"
15961596
uuid = "127b3ac7-2247-4354-8eb6-78cf4e7c58e8"
1597-
version = "1.6.1"
1597+
version = "1.9.0"
15981598

15991599
[[deps.OrdinaryDiffEqNordsieck]]
16001600
deps = ["DiffEqBase", "FastBroadcast", "LinearAlgebra", "MuladdMacro", "OrdinaryDiffEqCore", "OrdinaryDiffEqTsit5", "Polyester", "RecursiveArrayTools", "Reexport", "Static"]
@@ -1628,9 +1628,9 @@ version = "1.1.0"
16281628

16291629
[[deps.OrdinaryDiffEqRosenbrock]]
16301630
deps = ["ADTypes", "DiffEqBase", "DifferentiationInterface", "FastBroadcast", "FiniteDiff", "ForwardDiff", "LinearAlgebra", "LinearSolve", "MacroTools", "MuladdMacro", "OrdinaryDiffEqCore", "OrdinaryDiffEqDifferentiation", "Polyester", "PrecompileTools", "Preferences", "RecursiveArrayTools", "Reexport", "Static"]
1631-
git-tree-sha1 = "baa4a9b4380b2fb65f1e2b4ec01d3bd019a6dcea"
1631+
git-tree-sha1 = "a9b9aff8e740bfc09a2ea669f7fc02e867f95ab7"
16321632
uuid = "43230ef6-c299-4910-a778-202eb28ce4ce"
1633-
version = "1.9.0"
1633+
version = "1.10.0"
16341634

16351635
[[deps.OrdinaryDiffEqSDIRK]]
16361636
deps = ["ADTypes", "DiffEqBase", "FastBroadcast", "LinearAlgebra", "MacroTools", "MuladdMacro", "OrdinaryDiffEqCore", "OrdinaryDiffEqDifferentiation", "OrdinaryDiffEqNonlinearSolve", "RecursiveArrayTools", "Reexport", "SciMLBase", "TruncatedStacktraces"]
@@ -1746,9 +1746,9 @@ version = "1.40.13"
17461746

17471747
[[deps.Polyester]]
17481748
deps = ["ArrayInterface", "BitTwiddlingConvenienceFunctions", "CPUSummary", "IfElse", "ManualMemory", "PolyesterWeave", "Static", "StaticArrayInterface", "StrideArraysCore", "ThreadingUtilities"]
1749-
git-tree-sha1 = "6d38fea02d983051776a856b7df75b30cf9a3c1f"
1749+
git-tree-sha1 = "2082cc4be5e765bd982ed04ea06c068f4f702410"
17501750
uuid = "f517fe37-dbe3-4b94-8317-1923a5111588"
1751-
version = "0.7.16"
1751+
version = "0.7.17"
17521752

17531753
[[deps.PolyesterWeave]]
17541754
deps = ["BitTwiddlingConvenienceFunctions", "CPUSummary", "IfElse", "Static", "ThreadingUtilities"]
@@ -1937,9 +1937,9 @@ version = "2024.5.8+0"
19371937

19381938
[[deps.SciMLBase]]
19391939
deps = ["ADTypes", "Accessors", "ArrayInterface", "CommonSolve", "ConstructionBase", "Distributed", "DocStringExtensions", "EnumX", "FunctionWrappersWrappers", "IteratorInterfaceExtensions", "LinearAlgebra", "Logging", "Markdown", "Moshi", "PrecompileTools", "Preferences", "Printf", "RecipesBase", "RecursiveArrayTools", "Reexport", "RuntimeGeneratedFunctions", "SciMLOperators", "SciMLStructures", "StaticArraysCore", "Statistics", "SymbolicIndexingInterface"]
1940-
git-tree-sha1 = "2fd047893cb0089b180fcbb7e8434ba15dcc2841"
1940+
git-tree-sha1 = "44397dee277159f224492bcf99c442d2a907c6f5"
19411941
uuid = "0bca4576-84f4-4d90-8ffe-ffa030f20462"
1942-
version = "2.87.0"
1942+
version = "2.91.0"
19431943

19441944
[deps.SciMLBase.extensions]
19451945
SciMLBaseChainRulesCoreExt = "ChainRulesCore"
@@ -1964,15 +1964,15 @@ version = "2.87.0"
19641964

19651965
[[deps.SciMLJacobianOperators]]
19661966
deps = ["ADTypes", "ArrayInterface", "ConcreteStructs", "ConstructionBase", "DifferentiationInterface", "FastClosures", "LinearAlgebra", "SciMLBase", "SciMLOperators"]
1967-
git-tree-sha1 = "6e9d280334839fe405fdab2a1268f2969c9d3eeb"
1967+
git-tree-sha1 = "d563758f3ce5153810adebc534d88e24d34eeb95"
19681968
uuid = "19f34311-ddf3-4b8b-af20-060888a46c0e"
1969-
version = "0.1.3"
1969+
version = "0.1.5"
19701970

19711971
[[deps.SciMLOperators]]
19721972
deps = ["Accessors", "ArrayInterface", "DocStringExtensions", "LinearAlgebra", "MacroTools"]
1973-
git-tree-sha1 = "1c4b7f6c3e14e6de0af66e66b86d525cae10ecb4"
1973+
git-tree-sha1 = "d82853c515a8d9d42c1ab493a2687a37f1e26c91"
19741974
uuid = "c0aeaf25-5076-4817-a8d5-81caf7dfa961"
1975-
version = "0.3.13"
1975+
version = "0.4.0"
19761976
weakdeps = ["SparseArrays", "StaticArraysCore"]
19771977

19781978
[deps.SciMLOperators.extensions]
@@ -2019,9 +2019,9 @@ version = "1.2.0"
20192019

20202020
[[deps.SimpleNonlinearSolve]]
20212021
deps = ["ADTypes", "ArrayInterface", "BracketingNonlinearSolve", "CommonSolve", "ConcreteStructs", "DifferentiationInterface", "FastClosures", "FiniteDiff", "ForwardDiff", "LineSearch", "LinearAlgebra", "MaybeInplace", "NonlinearSolveBase", "PrecompileTools", "Reexport", "SciMLBase", "Setfield", "StaticArraysCore"]
2022-
git-tree-sha1 = "068c16a16834c1483c299b0e27e901599439570d"
2022+
git-tree-sha1 = "7aaa5fe4617271b64fce0466d187f2a72edbd81a"
20232023
uuid = "727e6d20-b764-4bd8-a329-72de5adea6c7"
2024-
version = "2.4.0"
2024+
version = "2.5.0"
20252025

20262026
[deps.SimpleNonlinearSolve.extensions]
20272027
SimpleNonlinearSolveChainRulesCoreExt = "ChainRulesCore"
@@ -2297,9 +2297,9 @@ version = "0.4.1"
22972297

22982298
[[deps.Unitful]]
22992299
deps = ["Dates", "LinearAlgebra", "Random"]
2300-
git-tree-sha1 = "c0667a8e676c53d390a09dc6870b3d8d6650e2bf"
2300+
git-tree-sha1 = "d62610ec45e4efeabf7032d67de2ffdea8344bed"
23012301
uuid = "1986cc42-f94f-5a68-af5c-568840ba703d"
2302-
version = "1.22.0"
2302+
version = "1.22.1"
23032303
weakdeps = ["ConstructionBase", "InverseFunctions"]
23042304

23052305
[deps.Unitful.extensions]
@@ -2521,10 +2521,10 @@ uuid = "214eeab7-80f7-51ab-84ad-2988db7cef09"
25212521
version = "0.61.1+0"
25222522

25232523
[[deps.gperf_jll]]
2524-
deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"]
2525-
git-tree-sha1 = "0ba42241cb6809f1a278d0bcb976e0483c3f1f2d"
2524+
deps = ["Artifacts", "JLLWrappers", "Libdl"]
2525+
git-tree-sha1 = "3cad2cf2c8d80f1d17320652b3ea7778b30f473f"
25262526
uuid = "1a1c6b14-54f6-533d-8383-74cd7377aa70"
2527-
version = "3.1.1+1"
2527+
version = "3.3.0+0"
25282528

25292529
[[deps.libaom_jll]]
25302530
deps = ["Artifacts", "JLLWrappers", "Libdl"]
@@ -2569,9 +2569,9 @@ version = "1.18.0+0"
25692569

25702570
[[deps.libpng_jll]]
25712571
deps = ["Artifacts", "JLLWrappers", "Libdl", "Zlib_jll"]
2572-
git-tree-sha1 = "068dfe202b0a05b8332f1e8e6b4080684b9c7700"
2572+
git-tree-sha1 = "002748401f7b520273e2b506f61cab95d4701ccf"
25732573
uuid = "b53b4c65-9356-5827-b1ea-8c7a1a84506f"
2574-
version = "1.6.47+0"
2574+
version = "1.6.48+0"
25752575

25762576
[[deps.libvorbis_jll]]
25772577
deps = ["Artifacts", "JLLWrappers", "Libdl", "Ogg_jll", "Pkg"]

docs/src/tutorial-mpc.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Navigation problem, MPC approach
22

3+
```@meta
4+
Draft = false
5+
```
6+
37
We consider a ship in a constant current $w=(w_x,w_y)$, where $\|w\|<1$.
48
The [heading angle](https://en.wikipedia.org/wiki/Heading) is controlled, leading to the following differential equations:
59

@@ -137,6 +141,10 @@ function solve(t0, x0, y0, θ0, xf, yf, θf, w;
137141
138142
-1 ≤ u(t) ≤ 1
139143
144+
-2 ≤ x(t) ≤ 6
145+
-2 ≤ y(t) ≤ 8
146+
-2π ≤ x(t) ≤ 2π
147+
140148
q(t0) == [ x0, y0, θ0 ]
141149
q(tf) == [ xf, yf, θf ]
142150

0 commit comments

Comments
 (0)