当前位置:网站首页>Basic recursive equation of DP
Basic recursive equation of DP
2022-07-26 11:22:00 【AutoGalaxy】
One . Give the teacher's first PPT



Two . I mean , Four pages PPT, The basic recurrence equation of dynamic programming can be summarized
Here, push it with your own hand , To record
The targeted system looks like this :

Our goal is : Permissive
, Minimize the following performance index functions
![J_{N}=\sum_{k=0}^{N-1}L[x(k),u(k),k]](http://img.inotgo.com/imagesLocal/202207/26/202207261100367482_9.gif)
Here is from
At the beginning , Therefore, the performance index function can be expressed as ![J[x(0),u]](http://img.inotgo.com/imagesLocal/202207/26/202207261100367482_8.gif)
Here's one more sentence , In order to generalize the problem , Value is starting from any state
, Then the performance index function can be written as
, meanwhile
The meaning is as follows : By state
To the end of the process , By any sequence u The resulting cost .
Then the optimal performance index ( The following notation ):
![J^*[x(k),u]=J[x(k),u^*]=J^*[x(k)]](http://img.inotgo.com/imagesLocal/202207/26/202207261100367482_1.gif)
because x(k) There is still N-k level , So here we use
Indicates that the initial state is x(k), There is still N-k The best performance index of level .
Next, we will further deduce ![J^*_{N-k}[x(k)]](http://img.inotgo.com/imagesLocal/202207/26/202207261100367482_12.gif)
![\begin{aligned} J^*_{N-k}[x(k)] &=\min_{u(k),u(k+1),...,u(N-1)}\sum_{j=k}^{N-1} L[x(j),u(j),j]\\ &= \min_{u(k),u(k+1),...,u(N-1)}(L[x(k),u(k),k]+\sum_{j=k+1}^{N-1} L[x(j),u(j),j]) \\ \end{aligned}](http://img.inotgo.com/imagesLocal/202207/26/202207261100367482_2.gif)

To sum up , It's a system , A target performance index function , A derivation ( The goal of derivation is to find out the relationship between the current state and the next state )
Finally, let's move to a practical example
For the above performance index function , There is no end value
Then from the above recursion, we can get about x[N] The formula of

And then there are

Iterate in turn , From the back forward , Put the optimal control strategy u Ask for it
边栏推荐
猜你喜欢
随机推荐
MFC picture control
easyui02
logging基本使用
Reproduce PHP one sentence Trojan horse
Logging learning final edition - configured different levels of log printing colors
一步一步入门使用g2o解决ICP问题-估计有匹配关系的两组3维点集之间的变换关系
easyui02
Why give up NPM and turn to yarn
看源码之LinkedList
How the ThreadPoolExecutor performs tasks
Shape matching Halcon template
[报错]看日志看什么
MySQL deadlock analysis
36.【const函数放在函数前后的区别】
leetcode-209. 长度最小的子数组(二分、前缀和、滑动窗口)
MySQL transaction details
Pytest case execution sequence
Pyqt5 rapid development and practice Chapter 1 understanding pyqt5
mother
After 4 months of job search and 15 interviews, I finally got 3 offers, ranking P7+









