Solve Optimal Control problem with free-final-time using MATLAB?
4 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
Torsten
2022 年 1 月 22 日
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 ?
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Optimization Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!