@@ -80,6 +80,8 @@ and we need a [Newton-like](https://en.wikipedia.org/wiki/Newton%27s_method) sol
...
@@ -80,6 +80,8 @@ 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.
@@ -110,4 +110,4 @@ Figure: Illustration of the shooting method in the cotangent space. The blue ext
...
@@ -110,4 +110,4 @@ Figure: Illustration of the shooting method in the cotangent space. The blue ext
## IV) Numerical resolution of the shooting equations with the nutopy package
## IV) Numerical resolution of the shooting equations with the nutopy package
This part is there: [notebook lecture](lecture.ipynb). Please follow the procedure given [here](../../README.md) to install all packages and use `jupyter-lab` to execute the code and do the exercices.
This part is there: [notebook lecture](lecture_simple_shooting.ipynb). Please follow the procedure given [here](../../README.md) to install all packages and use `jupyter-lab` to execute the code and do the exercices.