CTDirect.jl

The CTDirect.jl package is part of the control-toolbox ecosystem.

flowchart TD O(<a href='https://control-toolbox.org/OptimalControl.jl/stable/api-optimalcontrol.html'>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 style D fill:#FBF275

For the developers, here are the private methods.

Index

Documentation

CTDirect.available_methodsMethod
available_methods(

) -> Tuple{Tuple{Symbol, Symbol}, Tuple{Symbol, Symbol}}

Return the list of available methods to solve the optimal control problem.

source
CTDirect.direct_solveMethod
direct_solve(
    ocp::OptimalControlModel,
    description::Symbol...;
    init,
    grid_size,
    time_grid,
    kwargs...
)

Solve an OCP with a direct method

source
CTDirect.direct_transcriptionMethod
direct_transcription(
    ocp::OptimalControlModel,
    description...;
    init,
    grid_size,
    time_grid
) -> Tuple{CTDirect.DOCP, ADNLPModels.ADNLPModel{Float64, Vector{Float64}, Vector{Int64}}}

Discretize an optimal control problem into a nonlinear optimization problem (ie direct transcription)

source