-
Notifications
You must be signed in to change notification settings - Fork 22
Adding new tutorial to Plasmo #134
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
base: main
Are you sure you want to change the base?
Conversation
Hi @KiernanJ, thanks for your contribution! We had some issues with an old workflow. Can you try merging the latest main into your PR? It should re-trigger the checks. |
end | ||
end | ||
|
||
# Set initial condition for t1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@KiernanJ in the end of this tutorial, you have a function called MHMPC
. Can you define this function earlier in the code? I think this is essentially just these next couple lines of code (136-137) that are wrapped in a function
end | ||
``` | ||
|
||
Now, plotting the values of $x$ from our program: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add an extra empty line after line 206? In the markdown, this figure shows up on the same line as 206, and I think it would look a little better to have it below.
New tutorial implementation of multi-horizon MPC to Plasmo. Super simple example for beginners in optimization, JuMP, and Plasmo.