Solve Optimal Control problem with free-final-time using MATLAB?

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

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개)

카테고리

도움말 센터File Exchange에서 Optimization Toolbox에 대해 자세히 알아보기

질문:

2022년 1월 17일

댓글:

2022년 1월 22일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by