Hello, Thanks for the clear explanations. I have a question about the code generation. I have a module in Matlab that uses CasAdi for optimisation. I use the template provided in the examples section of CaSADi website. In the direct multiple shooting example (also explained in the video), how can I create a function handle for the solver itself and use it for code generation, so I can integrate the generated code into another framework. The 'Function' in CasADi takes in symbols and generates a function handle. But for the solver, how do I do this. Any help on this is really appreciated. Once again, thanks for the video. Regards, Anand
@apm4 жыл бұрын
The CasADi Google Group is a good place to post your question if you don't get a specific response here: groups.google.com/forum/?fromgroups=#!forum/casadi-users
@mattiaguerini14583 жыл бұрын
Good morning, is it possible to include the parameters of the system in the integrator object in order to solve a parameter estimation problem? Thanks
@rrc3 жыл бұрын
If it doesn't support that in the objective, you can differentiate the integral expression. See examples 1 and 2 for Gekko but the same likely applies for CasADi: apmonitor.com/do/index.php/Main/IntegralObjective