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
- The set of user constraints passed to the ODESystem via `constraints`
29
29
- The solver constraints that encode the time-stepping used by the solver
30
30
"""
31
-
functionJuMPControlProblem(sys::ODESystem, u0map, tspan, pmap; dt =error("dt must be provided for JuMPProblem."), solver =:Tsit5)
31
+
functionJuMPControlProblem(sys::ODESystem, u0map, tspan, pmap; dt =error("dt must be provided for JuMPControlProblem."), guesses, eval_expression, eval_module)
32
32
ts = tspan[1]
33
33
te = tspan[2]
34
34
steps = ts:dt:te
@@ -37,7 +37,7 @@ function JuMPControlProblem(sys::ODESystem, u0map, tspan, pmap; dt = error("dt m
@warn"The BVProblem is overdetermined. The total number of conditions (# constraints + # fixed initial values given by u0map) exceeds the total number of states. The BVP solvers will default to doing a nonlinear least-squares optimization."
40
+
@warn"The JuMPControlProblem is overdetermined. The total number of conditions (# constraints + # fixed initial values given by u0map) exceeds the total number of states. The solvers will default to doing a nonlinear least-squares optimization."
41
41
end
42
42
43
43
model =InfiniteModel()
@@ -52,9 +52,12 @@ function JuMPControlProblem(sys::ODESystem, u0map, tspan, pmap; dt = error("dt m
0 commit comments