Dynamic memory allocation

Hi :wave:

I’m curious how acados and, e.g., hpipm, handle memory allocation. Does acados, together with the solver, allocate all the needed memory at the initialization phase, or does it rely on dynamic memory allocation during the run phase (calling solver, setting parameters, updating solver variables, etc).

Best regards,

Hi Ivo,

all memory should be allocated at the initialization phase.
See here for more information: