Skip to content

Commit b6b8ab2

Browse files
committed
Increase size thresholds and fix typo in tutorial-symbolics
1 parent 0be0465 commit b6b8ab2

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

docs/make.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ makedocs(;
6161
repolink="https://" * repo_url,
6262
prettyurls=false,
6363
example_size_threshold=1_000_000,
64+
size_threshold_warn=1_000_000,
6465
size_threshold=1_000_000,
6566
# size_threshold_ignore=[
6667
# "tutorial-discretisation.md",

docs/src/assets/Manifest.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is machine-generated - editing it directly is not advised
22

3-
julia_version = "1.12.6"
3+
julia_version = "1.12.5"
44
manifest_format = "2.0"
55
project_hash = "1d73fc8b7306dbb42eb2a1fdd2ae0c8be50a6d19"
66

@@ -227,9 +227,9 @@ version = "0.18.7"
227227

228228
[[deps.CTDirect]]
229229
deps = ["ADNLPModels", "CTModels", "CTSolvers", "DocStringExtensions", "ExaModels", "SolverCore", "SparseArrays", "SparseConnectivityTracer"]
230-
git-tree-sha1 = "db1699ffab2f31aeda5dbb61dfa9015773cb70fc"
230+
git-tree-sha1 = "a4d812f60412f47bf29e685a921d0d675f581d55"
231231
uuid = "790bbbee-bee9-49ee-8912-a9de031322d5"
232-
version = "1.0.6"
232+
version = "1.0.7-beta"
233233

234234
[[deps.CTFlows]]
235235
deps = ["CTBase", "CTModels", "DocStringExtensions", "ForwardDiff", "LinearAlgebra", "MLStyle", "MacroTools"]

docs/src/tutorial-symbolics.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ end
230230

231231
### Solving the NLP
232232

233-
The problem is transcribed into a nonlinear program using direct collocation on a uniform grid of 100 intervals, then handed to `Ipopt` via ``NLPModelsIpopt.jl``. We provide a simple initial guess for the state and control trajectories. See [the documentation](https://control-toolbox.org/OptimalControl.jl/stable/manual-solve.html) for more informations.
233+
The problem is transcribed into a nonlinear program using direct collocation on a uniform grid of 100 intervals, then handed to `Ipopt` via `NLPModelsIpopt.jl`. We provide a simple initial guess for the state and control trajectories. See [the documentation](@extref OptimalControl manual-solve) for more information.
234234

235235
```@example main
236236
initial_guess = @init cartpole begin
@@ -261,7 +261,6 @@ plot(p1, p2, p3, layout=(3, 1), size=(800, 700))
261261

262262
The plots show the cart position ``x`` and pendulum angle ``\theta``, the corresponding velocities, and the optimal control force ``u`` required to stabilize the system back to its initial state within 2 seconds.
263263

264-
265264
### Animation
266265

267266
The animation below shows the cart-pole evolving along the optimal limit-cycle trajectory. The blue cart slides on the horizontal rail while the pendulum swings around the upright equilibrium.

0 commit comments

Comments
 (0)