It would be good to allow use of CasADi MX as well as SX and currently we hardcode SX in a few places.
It would be good to allow use of CasADi MX as well as SX and currently we hardcode SX in a few places.