-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have a problem #3
Comments
May I ask the selection basis of # State cost matrix and # Controls cost matrix and why there is no terminal error matrix? |
The objective function is quadratic so the stage cost is defined by the self.Q and self.R matrices. |
May I ask whether the author set the error weighting sum of the terminal error and the input weighting sum in the following code, and set the matrix of the error weighting sum (state variable weight) and the matrix of the terminal error (state variable terminal weight matrix) to be the same? |
May I ask the author, where is the matrix used to calculate the terminal error, stage cost, and input cost? May I ask
why mterm = self.model.aux['cost'] # Terminal cost and lterm = self.model.aux['cost'] # Stage cost use "cost".
The text was updated successfully, but these errors were encountered: