Codegen: allow an lp.Options argument