Skip to content

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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Conversation

KiernanJ
Copy link

New tutorial implementation of multi-horizon MPC to Plasmo. Super simple example for beginners in optimization, JuMP, and Plasmo.

@jalving
Copy link
Member

jalving commented Apr 2, 2025

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
Copy link
Collaborator

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:
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants