Skip to content

Commit 1d52236

Browse files
committed
refactor: move tableau generation to interface
1 parent 85e3ed6 commit 1d52236

File tree

2 files changed

+0
-341
lines changed

2 files changed

+0
-341
lines changed

ext/MTKInfiniteOptExt.jl

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -327,23 +327,6 @@ function add_jump_solve_constraints!(prob, tableau; is_free_t = false)
327327
end
328328
end
329329

330-
"""
331-
Default ODE Tableau: RadauIIA5
332-
"""
333-
function constructDefault(T::Type = Float64)
334-
sq6 = sqrt(6)
335-
A = [11 // 45-7sq6 / 360 37 // 225-169sq6 / 1800 -2 // 225+sq6 / 75
336-
37 // 225+169sq6 / 1800 11 // 45+7sq6 / 360 -2 // 225-sq6 / 75
337-
4 // 9-sq6 / 36 4 // 9+sq6 / 36 1//9]
338-
c = [2 // 5 - sq6 / 10; 2 / 5 + sq6 / 10; 1]
339-
α = [4 // 9 - sq6 / 36; 4 // 9 + sq6 / 36; 1 // 9]
340-
A = map(T, A)
341-
α = map(T, α)
342-
c = map(T, c)
343-
344-
DiffEqBase.ImplicitRKTableau(A, c, α, 5)
345-
end
346-
347330
"""
348331
Solve JuMPDynamicOptProblem. Arguments:
349332
- prob: a JumpDynamicOptProblem

ext/MTKJuMPControlExt.jl

Lines changed: 0 additions & 324 deletions
This file was deleted.

0 commit comments

Comments
 (0)