Closed jbcaillau closed 4 days ago
I'll bump CTDirect to 0.5.1 soon to take into account the latest patch that solved the SymbolicUtils problem.
I'll bump CTDirect to 0.5.1 soon to take into account the latest patch that solved the SymbolicUtils problem.
@PierreMartinon ✅ done
@ocots Ready to merge then release. Note that:
I have suppressed divisions of the Lagrange part, and more generally explicitly sent an error for this kind of (forbidden) Lagrange declarations (interpreted as Mayer ones):
@test_throws ParsingError @def o begin
t ∈ [ t0, tf ], time
x ∈ R^2, state
u ∈ R, control
x(t0) == [ -1, 0 ], (1)
x(tf) == [ 0, 0 ]
ẋ(t) == A * x(t) + B * u(t)
∫( u(t)^2 ) + 1 + 2 → min # should be ∫(...) + ( 1 + 2 )
end
@test_throws ParsingError @def o begin
t ∈ [ t0, tf ], time
x ∈ R^2, state
u ∈ R, control
x(t0) == [ -1, 0 ], (1)
x(tf) == [ 0, 0 ]
ẋ(t) == A * x(t) + B * u(t)
∫( u(t)^2 ) / 2 → min # forbidden
end
== 1
)Merge done!
I'll bump CTDirect to 0.5.1 soon to take into account the latest patch that solved the SymbolicUtils problem.
@PierreMartinon new release please! thank you for the release 🙏🏽!
Merge done!
@ocots CTBase.jl 0.8.0 -> 0.9.0?
Merge done!
@ocots CTBase.jl 0.8.0 -> 0.9.0?
Release done!
@ocots seems to be a compat issue (with CTProblems!?) that prevents update towards CTBase@0.9.0 in OptimalControl. Can you please have a look?
I will update CTDirect to require CTBase 0.9 (currently it stays at 0.8) as soon as the CI passes. This will be 0.5.2 I guess
OK I check this.
New release of OptimalControl.jl
!
v0.8.0
Old and finished.
WIP (not yet ready for the release)
@ocots can you please make a new release to include updates in