You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ext/JuMPModels/double_oscillator.jl
+15-16Lines changed: 15 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ Double Oscillator Problem:
5
5
Ref: [CLP2018] Coudurier, C., Lepreux, O., & Petit, N. (2018). Optimal bang-bang control of a mechanical double oscillator using averaging methods. IFAC-PapersOnLine, 51(2), 49-54.
6
6
"""
7
7
function OptimalControlProblems.double_oscillator(::JuMPBackend; nh::Int=500)
8
-
8
+
9
9
# parameters
10
10
m1 =100# [kg]
11
11
m2 =2# [kg]
@@ -42,36 +42,35 @@ function OptimalControlProblems.double_oscillator(::JuMPBackend; nh::Int=500)
0 commit comments