The control-toolbox ecosystem gathers Julia packages for mathematical control and applications.
The root package is OptimalControl.jl which aims to provide tools to model and solve optimal control problems with ordinary differential equations by direct and indirect methods.
Tip
From the documentation, you can find tutorials to define and solve optimal control problems with OptimalControl.jl.
See also some applications of OptimalControl.jl:
- Examples from calculus of variations
- Optimal control in Medical Resonance Imaging
- Orbit transfer from space mechanics
- ... and more
Installation ©
To install OptimalControl.jl please open Julia's interactive session (known as REPL) and press ] key in the REPL to use the package mode, then add the package:
julia> ]
pkg> add OptimalControl
Note
Sometimes the above command can fail due to the default Julia registry ('General') not being installed for some reason. You can check that the registry is installed with
pkg> registry st
Registry Status
[23338594] General (https://github.com/JuliaRegistries/General.git)
If the General registry is missing, simply add it
pkg> registry add General
then retry the add
command.
The control-toolbox hierarchy includes:
- OptimalControl.jl: main package
- CTBase.jl: fundamentals of the control-toolbox ecosystem
- CTDirect.jl: direct transcription of an optimal control problem and resolution
- CTFlows.jl: classical flow, Hamiltonian flow, flow from optimal control problem
flowchart TD
O(<a href='https://control-toolbox.org/OptimalControl.jl/stable/'>OptimalControl</a>) --> B(<a href='https://control-toolbox.org/OptimalControl.jl/stable/api-ctbase.html'>CTBase</a>)
O --> D(<a href='https://control-toolbox.org/OptimalControl.jl/stable/api-ctdirect.html'>CTDirect</a>)
O --> F(<a href='https://control-toolbox.org/OptimalControl.jl/stable/api-ctflows.html'>CTFlows</a>)
F --> B
D --> B
Any contributions are welcomed, check out how to contribute to a Github project. If it is your first contribution, you can also check this first contribution tutorial. You can find first good issues (if any 🙂) here and the list of control-toolbox issues at the control-toolbox list of issues.
For any package, if you think you found a bug or if you have a feature request or suggestion, feel free to open an issue. Before opening a pull request, start an issue or a discussion on the topic, please. If you want to ask a question, feel free to start a discussion.
Note
If you want to add an application or a package to the control-toolbox ecosystem, please follow this set up tutorial.
If you use the package OptimalControl.jl in your work, please cite us.
- calligraphy by Alain Hurtig
- bocop: Bocop3, a direct solver for optimal control problem developed in
C++
- control-toolbox wiki