Skip to content

Relecture documentation #569

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/src/manual-abstract.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ In the example below, there are
ẋ(t) == [x₂(t), u(t)]
tf ≥ 0
x₂(t) ≤ 1
u(t)^2 ≤ 1
0.1 ≤ u(t)^2 ≤ 1
...
end
```
Expand All @@ -276,7 +276,7 @@ end
ẋ(t) == [x₂(t), u(t)]
tf >= 0
x₂(t) <= 1
u(t)^2 <= 1
0.1 ≤ u(t)^2 <= 1
...
end
```
Expand Down
2 changes: 1 addition & 1 deletion docs/src/manual-flow-ocp.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ nothing # hide
The **pseudo-Hamiltonian** of this problem is

```math
H(x, p, u) = p_q\, q + p_v\, v + p^0 u^2 /2,
H(x, p, u) = p_q\, v + p_v\, u + p^0 u^2 /2,
```

where $p^0 = -1$ since we are in the normal case. From the Pontryagin maximum principle, the maximising control is given in feedback form by
Expand Down
4 changes: 2 additions & 2 deletions docs/src/manual-flow-others.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ In this tutorial, we explain the `Flow` function, in particular to compute flows
Consider the simple optimal control problem from the [basic example page](@ref example-double-integrator-energy). The **pseudo-Hamiltonian** is

```math
H(x, p, u) = p_q\, q + p_v\, v + p^0 u^2 /2,
H(x, p, u) = p_q\, v + p_v\, u + p^0 u^2 /2,
```

where $p^0 = -1$ since we are in the normal case. From the Pontryagin maximum principle, the maximising control is given in feedback form by
where $x=(q,v)$, $p=(p_q,p_v)$, $p^0 = -1$ since we are in the normal case. From the Pontryagin maximum principle, the maximising control is given in feedback form by

```math
u(x, p) = p_v
Expand Down
2 changes: 1 addition & 1 deletion docs/src/manual-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ nothing # hide
You can also compute flows (for more details, see the [flow manual](@ref manual-flow-ocp)) from the optimal control problem, providing a control law in feedback form. The **pseudo-Hamiltonian** of this problem is

```math
H(x, p, u) = p_q\, q + p_v\, v + p^0 u^2 /2,
H(x, p, u) = p_q\, v + p_v\, u + p^0 u^2 /2,
```

where $p^0 = -1$ since we are in the normal case. From the Pontryagin maximum principle, the maximising control is given in feedback form by
Expand Down
Loading