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

33 views (last 30 days)
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 Comment
Torsten
Torsten on 22 Jan 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 ?

Sign in to comment.

Answers (0)

Categories

Find more on Nonlinear Control in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!