From 8c6c4d06b7bef08380d04c693fab340261b15891 Mon Sep 17 00:00:00 2001 From: Pierre Martinon Date: Fri, 23 Aug 2024 17:53:38 +0200 Subject: [PATCH] manual check for constraints / multipliers seems fine --- src/solution.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/solution.jl b/src/solution.jl index a2db455b..c8f662c3 100644 --- a/src/solution.jl +++ b/src/solution.jl @@ -244,7 +244,7 @@ function CTBase.OptimalControlSolution(docp, T, X, U, v, P; infos = Dict{Symbol,Any}() infos[:constraints_violation] = constraints_violation - # +++ put interpolations here directly + # +++ put interpolations here directly and reuse vectors ? # nonlinear constraints and multipliers (control_constraints, state_constraints, mixed_constraints, boundary_constraints, variable_constraints, mult_control_constraints, mult_state_constraints, mult_mixed_constraints, mult_boundary_constraints, mult_variable_constraints) = set_constraints_and_multipliers(T, constraints_types, constraints_mult) # box constraints multipliers