Custom function
Register custom elementary functions in Gradgen with Python callbacks, Jacobians, Hessians, and Rust code generation support.
Register custom elementary functions in Gradgen with Python callbacks, Jacobians, Hessians, and Rust code generation support.
Coming soon: use the forward-backward envelope for optimal control problems in Gradgen.
Define squared distance-to-set functions in Gradgen using projections, common convex sets, and symbolic composition.