Implementing MPC in the new API v0.6 #404
Replies: 1 comment
-
|
Thanks for reaching out, we are currently making an extensive tutorial and FAQ on MPC to make the new interface more clear, so keep an eye out for that. In the mean time, I am happy to answer questions.
Correct, we leave the domain of
Correct, we can update finite parameters and parameter functions using
This shouldn't be an issue, if you run into any problems, let me know. Just keep in mind that the persistent interface only supports warmstarts and parameter updates at the moment, other changes will cause the backend to be rebuilt (increasing the computational cost). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm going around the new API and the JuMP-dev talk and the new API for warmstarting and updating parameters.
In the talk it presents:
A couple of doubts/questions:
@infinite_parameter(t)is not modified (we always look at the same opt windowset_parameter_valuealso translates to@parameter_functions? For example, when creating amodelI usually use:could i just update
Ppvinstead of redefining the whole model?Dict, there wouldn't be any issue right?great new update, really excited to put it in production.
Beta Was this translation helpful? Give feedback.
All reactions