Repository navigation
Update markov_jump_lq.rst - #174
Merged
Merged
Conversation
Under "Linked Ricatti equations for Markov LQ dynamic programming", we are minimizing r, so it should be positive (as it is above).
Contributor
shlff
self-requested a review
January 5, 2021 10:09
shlff
reviewed
Jan 5, 2021
| .. math:: | ||
|
|
||
| r(x_t, s_t, u_t) = -( x_t' R_{s_t} x_t + u_t' Q_{s_t} u_t + 2 u_t' W_{s_t} x_t) | ||
| r(x_t, s_t, u_t) = x_t' R_{s_t} x_t + u_t' Q_{s_t} u_t + 2 u_t' W_{s_t} x_t |
Member
There was a problem hiding this comment.
In my opinion, the change in this PR makes sense
- i.e.,
$r(x_t, s_t, u_t)$ should be$x_t' R_{s_t} x_t + u_t' Q_{s_t} u_t + 2 u_t' W_{s_t} x_t$ , instead of$-( x_t' R_{s_t} x_t + u_t' Q_{s_t} u_t + 2 u_t' W_{s_t} x_t)$
This is because:
- in the section before this change, i.e., in Review-of-useful-LQ-dynamic-programming-formulas, we define the loss function as
$r(x_t, u_t) = x_t' R x_t + u_t' Q u_t + 2 u_t' W x_t$ -
$r(x_t, s_t, u_t)$ is obtained just by letting matrices$R, Q, W$ depend on the state space of a finite Markov chain.
Furthermore, the
-
$-x' P_i x - \rho_i & = \max_u - \left[ x'R_i x + u' Q_i u + 2 u' W_i x - \beta \sum_j \Pi_{ij}E ((A_i x + B_i u + C_i w)' P_j (A_i x + B_i u + C_i w) x + \rho_j) \right]$ -->>$-x' P_i x - \rho_i & = \max_u - \left[ x'R_i x + u' Q_i u + 2 u' W_i x + \beta \sum_j \Pi_{ij}E ((A_i x + B_i u + C_i w)' P_j (A_i x + B_i u + C_i w) x + \rho_j) \right]$
Do you think it is a good idea?
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Under "Linked Ricatti equations for Markov LQ dynamic programming", we are minimizing r, so it should be positive (as it is above).