We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
The simplest way to convert variable u:
u
casadi.DM(u.detach().numpy())
There is a low overhead buffer API to evaluate CasADi Functions from Python here:
https://github.com/casadi/casadi/blob/master/test/python/function.py#L2541
FAQTODO write up how to use that.