-
Notifications
You must be signed in to change notification settings - Fork 4
/
OptimalControl.jl
63 lines (48 loc) · 1.23 KB
/
OptimalControl.jl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
"""
[`OptimalControl`](@ref) module.
Lists all the imported modules and packages:
$(IMPORTS)
List of all the exported names:
$(EXPORTS)
"""
module OptimalControl
# using
using DocStringExtensions
# include core modules
using CTBase
using CTDirect
using CTFlows
using CTProblems
# declarations
const __display = CTBase.__display
include("solve.jl")
# export functions only for user
export solve
export available_methods
# export from other modules
# CTFlows
export VectorField
export Hamiltonian
export HamiltonianLift
export HamiltonianVectorField
export Flow
export plot, plot!
export *
# CTBase
export Index
export Autonomous, NonAutonomous
export NonFixed, Fixed
export ControlLaw, FeedbackControl, Multiplier
export StateConstraint, ControlConstraint, MixedConstraint
export Model
export variable!, time!, constraint!, dynamics!, objective!, state!, control!, remove_constraint!, constraint
export is_time_independent, is_time_dependent, is_min, is_max, is_variable_dependent, is_variable_independent
export Lie, @Lie, Poisson, Lift, ⋅, ∂ₜ
export @def
export ct_repl
export ParsingError
# CTProblems
export ProblemsDescriptions, Problem, Problems, @ProblemsDescriptions, @Problems
# repl
isdefined(Base, :active_repl) && ct_repl()
end