generated from control-toolbox/CTAppTemplate.jl
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
internal devModification to the code is requested and should not affect user experimentModification to the code is requested and should not affect user experiment
Description
If we have this:
ocp = @def begin
t ∈ [0, 1], time
x ∈ R², state
u ∈ R, control
x₂(t) ≤ 1.2
x₂(t) ≤ 2.0
x₂(t) ≤ 3.0
x(0) == [-1, 0]
x(1) == [0, 0]
ẋ(t) == [x₂(t), u(t)]
∫( 0.5u(t)^2 ) → min
end;when we solve the problem and call build_solution, do we pass in state_constraints_ub_dual a function that returns a vector of dimension 3 because there are 3 constraints on x₂ or a vector of dimension 2 since x is of dimension 2.
Metadata
Metadata
Assignees
Labels
internal devModification to the code is requested and should not affect user experimentModification to the code is requested and should not affect user experiment