CasADi is a symbolic framework for numeric optimization implementing automatic differentiation in forward and reverse modes on sparse matrix-valued computational graphs. It supports self-contained C-code generation and interfaces state-of-the-art codes such as SUNDIALS, IPOPT etc. It can be used from C++, Python or Matlab/Octave.
With the _samestructure option to "no" it works but seems quite slow , if I set it to "yes" it does not work anymore and it gives me the error "augmented system is not initialized".
Any suggestions on how to fix it, or to speed up the solution?
Hi! I am using CASADi and ipopt to solve an NMPC in matlab, how can I correctly warm start the ipopt solver? I am currently setting
opts.ipopt.hessian_approximation = 'limited-memory'; opts.ipopt.warm_start_init_point = 'yes'; opts.ipopt.warm_start_same_structure = 'yes'; opts.ipopt.mu_strategy = 'adaptive';
and:With the _samestructure option to "no" it works but seems quite slow , if I set it to "yes" it does not work anymore and it gives me the error "augmented system is not initialized". Any suggestions on how to fix it, or to speed up the solution?
Thanks a lot!