Corleone.jl: A modular shooting framework for dynamic optimization and scientific machine learning in Julia
Corleone.jl is a Julia package for dynamic optimization problems with mechanistic, data-driven, or hybrid models. It represents the stage-wise simulation of a dynamical system as a Lux.jl layer, so that single and multiple shooting, trainable model components, and differential equation solvers of the scientific machine learning (SciML) ecosystem are combined within one differentiable framework. On a technical level, Corleone.jl acts as a transcription layer that provides objectives, constraints, derivatives, and sparsity patterns to (mixed-integer) nonlinear programming solvers. We illustrate several use cases - optimal control, the training of universal differential equations, and optimal experimental design - and outline available extensions to inverse problems and dynamic games.