diff --git a/src/default.jl b/src/default.jl index c52f1f99..4293c959 100644 --- a/src/default.jl +++ b/src/default.jl @@ -162,21 +162,10 @@ function __init_interpolation() return (T, U) -> Interpolations.linear_interpolation(T, U, extrapolation_bc = Interpolations.Line()) end -# ------------------------------------------------------------------------------------ -# IPOPT - -""" -$(TYPEDSIGNATURES) - -Used to set the default value of the print level of ipopt for the direct method. -The default value is `5`. -""" -__print_level_ipopt() = 5 - """ $(TYPEDSIGNATURES) -Used to set the default value of the μ strategy of ipopt for the direct method. -The default value is `adaptive`. +Used to set the default initial guess. +The default value is `nothing`. """ -__mu_strategy_ipopt() = "adaptive" \ No newline at end of file +__ocp_init() = nothing \ No newline at end of file diff --git a/test/test_default.jl b/test/test_default.jl index 612c0765..3c725836 100644 --- a/test/test_default.jl +++ b/test/test_default.jl @@ -64,14 +64,8 @@ function test_default() @test CTBase.__init_interpolation() isa Function end - @testset "Default value of the print level of ipopt for the direct method" begin - @test CTBase.__print_level_ipopt() isa Integer - @test CTBase.__print_level_ipopt() ≤ 12 - @test CTBase.__print_level_ipopt() ≥ 0 - end - - @testset "Default value of the mu strategy of ipopt for the direct method" begin - @test CTBase.__mu_strategy_ipopt() isa String + @testset "Default value of the initial guess" begin + @test isnothing(CTBase.__ocp_init()) end end