Skip to content
Snippets Groups Projects
Commit a5f9b5f3 authored by Olivier Cots's avatar Olivier Cots
Browse files

Update lecture2.md

parent 9441b693
Branches
No related tags found
No related merge requests found
...@@ -5,6 +5,9 @@ ...@@ -5,6 +5,9 @@
------ ------
**_Contents_**
[[_TOC_]]
## III) Indirect simple shooting ## III) Indirect simple shooting
...@@ -66,7 +69,7 @@ The *indirect simple shooting method* consists in solving this equation. ...@@ -66,7 +69,7 @@ The *indirect simple shooting method* consists in solving this equation.
>>> >>>
In order to solve the shooting equations, we need to compute the control law $u[\cdot]$, the Hamiltonian system $`\vec{H}`$ (or $`\vec{h}`$), we need an [integrator method](https://en.wikipedia.org/wiki/Numerical_methods_for_ordinary_differential_equations) to compute the *exponential map* $\exp(t \vec{H})$ defined by In order to solve the shooting equations, we need to compute the control law $`u[\cdot]`$, the Hamiltonian system $`\vec{H}`$ (or $`\vec{h}`$), we need an [integrator method](https://en.wikipedia.org/wiki/Numerical_methods_for_ordinary_differential_equations) to compute the *exponential map* $`\exp(t \vec{H})`$ defined by
```math ```math
\exp(t \vec{H})(x_0, p_0) := z(t, x_0, p_0), \exp(t \vec{H})(x_0, p_0) := z(t, x_0, p_0),
``` ```
...@@ -77,3 +80,12 @@ and we need a [Newton-like](https://en.wikipedia.org/wiki/Newton%27s_method) sol ...@@ -77,3 +80,12 @@ and we need a [Newton-like](https://en.wikipedia.org/wiki/Newton%27s_method) sol
**_Remark:_** **_Remark:_**
It is important to understand that if $`(p_0^*, \lambda^*)`$ is solution of $`S=0`$, then the control $`u(\cdot) := u[z(\cdot, x_0, p_0^*)]`$ is a candidate as a solution of the optimal control problem. It is only a candidate and not a solution of the OCP since the PMP gives necessary conditions of optimality. We would have to go further to check whether the control is locally or globally optimal. It is important to understand that if $`(p_0^*, \lambda^*)`$ is solution of $`S=0`$, then the control $`u(\cdot) := u[z(\cdot, x_0, p_0^*)]`$ is a candidate as a solution of the optimal control problem. It is only a candidate and not a solution of the OCP since the PMP gives necessary conditions of optimality. We would have to go further to check whether the control is locally or globally optimal.
<div align="center">
<img src="attachment:21f9cc6f-5061-4fbe-ab9b-b905c2389dc9.png" width="400">
</div>
<div align="center">
<i>
Figure: Illustration of the shooting method in the state-time space. The blue trajectory reaches the target in red. The shooting method consists in finding the right impulse to reach the target.
</i>
</div>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment