Skip to content

MPC use case #250

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

Open
jbcaillau opened this issue Jul 26, 2024 · 7 comments
Open

MPC use case #250

jbcaillau opened this issue Jul 26, 2024 · 7 comments
Assignees
Labels
application About application of the packages good first issue Good for newcomers help wanted Extra attention is needed

Comments

@jbcaillau
Copy link
Member

@agustinyabo should be rather easy to test MPC (fixed / moving horizon) implementing a basic loop (see, e.g., this simple example) on the nice example you treated in the ref. below:

Yabo, A.; Caillau, J.-B., Gouzé, J.-L.
Hierarchical MPC applied to bacterial resource allocation and metabolite synthesis
IEEE Conference on Decision and Control (2021), 667-672
Proceedings of the 60th CDC, Austin, December 2021

@jbcaillau jbcaillau added help wanted Extra attention is needed good first issue Good for newcomers labels Jul 26, 2024
@ocots ocots added the application About application of the packages label Jul 26, 2024
@ocots
Copy link
Member

ocots commented Aug 28, 2024

@jbcaillau We need a template repository to facilitate adding applications.

@ocots
Copy link
Member

ocots commented Apr 20, 2025

@jbcaillau Do we add in "Tutorials and Advanced Features" a simple use of MPC?

@jbcaillau
Copy link
Member Author

yes, would en nice. we could reuse sth like this (Zermelo, JuMP version):
https://github.com/pns-mam/commande/blob/main/tp3/tp3-sol.md

@ocots
Copy link
Member

ocots commented May 18, 2025

I have converted your example from JuMP to OptimalControl: https://gitlab.irit.fr/toc/etu-n7/controle-optimal/-/blob/master/tp/mpc-navigation.ipynb.

@jbcaillau
Copy link
Member Author

nice. ajouter ensuite la sol. (in english) dans les tutos ?

I have converted your example from JuMP to OptimalControl: https://gitlab.irit.fr/toc/etu-n7/controle-optimal/-/blob/master/tp/mpc-navigation.ipynb.

@ocots
Copy link
Member

ocots commented May 18, 2025

mpc-navigation-prof.pdf

@ocots
Copy link
Member

ocots commented May 18, 2025

Oui j'ajouterai un tuto qui reprend ça. Par contre, il y a des limites. Là, j'utilise disc_method=:euler car avec les trapèzes, le contrôle il oscille trop, et avec un Gauss-Legendre, on converge vers une autre solution locale. Après, ce n'est pas très robuste, on peut facilement ne pas converger.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
application About application of the packages good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants