getOption
implement Scheme for casadi function wrapping