Update Solver Model Online

Hi :wave:

Is it possible to update the model online? So for example If I am learning a model, can I update the model used by the solver using an external python function maybe? I checked the interface but couldn’t find something to help me. Thanks in advance.

Hi @mdavid,
what exactly do you mean with model? The dynamics of your system? You can parameterize your model and pass the parameters in every solver call as additional arguments.

Have a look at the MHE example about how to use the syntax:


Hi @mss ,

Yes this is very helpful thank you for the example and sorry for my late reply. :grinning: :+1: