Hi everyone,

I want to use the Casadi optimization package for my NLMPC controller in Matlab/Simulink.

I read the examples of https://web.casadi.org/ site, but I can't modify them for my problem.

I want to use Casadi for the tacking problem, so I will have a time-varying cost function and I have time-varying constraints as well.

All the examples which I saw aren't included the time-varying cost function or time-varying constraints.

I would be grateful if anyone can help me.

Regards,

Hossein.

More Hossein Dastres's questions See All
Similar questions and discussions