Solve Optimal Control problem with free-final-time using MATLAB?
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I am trying to solve an Optimal Control problem that I have the initial state value (x0 = 0), but the x(tf) is free. The problem is as below: t = [0 31]
% function inside the integral (f),
f = (7*u)/100 - ((7*x)/1000 + 30)*((3*u)/500 + x + 1/200) + u^2/25
% state equation
Dx = (3*u)/500 + x + 1/200
I would love to know how can this kind of optimal problem can be solved?
I tried Pontryagin principle but the lack of boundary condition (x(tf)) caused an error.
Thanks in advance
1 Commento
Torsten
il 22 Gen 2022
As I already said, my knowledge about optimal control problems is approximately 0.
What I understand is that you arrive at two ordinary differential equations - one for x, the other for p1 - , but that you only have one boundary condition (x(0)=0).
How do you want to fix a solution with only one boundary condition ?
Risposte (0)
Vedere anche
Categorie
Scopri di più su Optimization Toolbox in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!