diff --git a/src/Test/test_attribute.jl b/src/Test/test_attribute.jl index e79d9ddca0..a8fa9faaac 100644 --- a/src/Test/test_attribute.jl +++ b/src/Test/test_attribute.jl @@ -226,6 +226,8 @@ function setup_test( return end +version_added(::typeof(test_attribute_ObjectiveLimit)) = v"1.20.0" + function test_attribute_SolutionLimit(model::MOI.AbstractOptimizer, ::Config) @requires MOI.supports(model, MOI.SolutionLimit()) # Get the current value to restore it at the end of the test @@ -252,6 +254,8 @@ function setup_test( return end +version_added(::typeof(test_attribute_SolutionLimit)) = v"1.21.0" + function test_attribute_NodeLimit(model::MOI.AbstractOptimizer, ::Config) @requires MOI.supports(model, MOI.NodeLimit()) # Get the current value to restore it at the end of the test @@ -278,6 +282,8 @@ function setup_test( return end +version_added(::typeof(test_attribute_NodeLimit)) = v"1.32.0" + """ test_attribute_AbsoluteGapTolerance(model::MOI.AbstractOptimizer, config::Config) @@ -311,6 +317,8 @@ function setup_test( return end +version_added(::typeof(test_attribute_AbsoluteGapTolerance)) = v"1.7.0" + """ test_attribute_RelativeGapTolerance(model::MOI.AbstractOptimizer, config::Config) @@ -344,6 +352,8 @@ function setup_test( return end +version_added(::typeof(test_attribute_RelativeGapTolerance)) = v"1.7.0" + """ test_attribute_after_empty(model::MOI.AbstractOptimizer, config::Config) @@ -381,3 +391,5 @@ function test_attribute_unsupported_constraint(model::MOI.ModelLike, ::Config) @test MOI.get(model, MOI.NumberOfConstraints{F,S}()) == Int64(0) return end + +version_added(::typeof(test_attribute_unsupported_constraint)) = v"1.9.0" diff --git a/src/Test/test_conic.jl b/src/Test/test_conic.jl index b9577ce026..674f37f60e 100644 --- a/src/Test/test_conic.jl +++ b/src/Test/test_conic.jl @@ -5017,6 +5017,14 @@ function setup_test( return end +function version_added( + ::typeof( + test_conic_ScaledPositiveSemidefiniteConeTriangle_VectorAffineFunction, + ), +) + return v"1.16.0" +end + """ Problem SDP1 - sdo1 from MOSEK docs From Mosek.jl/test/mathprogtestextra.jl, under license: @@ -5859,6 +5867,10 @@ function setup_test( return end +function version_added(::typeof(test_conic_PositiveSemidefiniteConeTriangle_4)) + return v"1.35.0" +end + """ _test_det_cone_helper_ellipsoid( model::MOI.ModelLike, diff --git a/src/Test/test_cpsat.jl b/src/Test/test_cpsat.jl index b027e882f2..8702ca53ee 100644 --- a/src/Test/test_cpsat.jl +++ b/src/Test/test_cpsat.jl @@ -48,6 +48,8 @@ function setup_test( return end +version_added(::typeof(test_cpsat_AllDifferent)) = v"1.4.0" + """ test_cpsat_ReifiedAllDifferent(model::MOI.ModelLike, config::Config) @@ -153,6 +155,8 @@ function setup_test( return end +version_added(::typeof(test_cpsat_CountDistinct)) = v"1.4.0" + """ test_cpsat_CountBelongs(model::MOI.ModelLike, config::Config) @@ -200,6 +204,8 @@ function setup_test( return end +version_added(::typeof(test_cpsat_CountBelongs)) = v"1.4.0" + """ test_cpsat_CountAtLeast(model::MOI.ModelLike, config::Config) @@ -251,6 +257,8 @@ function setup_test( return end +version_added(::typeof(test_cpsat_CountAtLeast)) = v"1.4.0" + """ test_cpsat_CountGreaterThan(model::MOI.ModelLike, config::Config) @@ -302,6 +310,8 @@ function setup_test( return end +version_added(::typeof(test_cpsat_CountGreaterThan)) = v"1.4.0" + """ test_cpsat_BinPacking(model::MOI.ModelLike, config::Config) @@ -354,6 +364,8 @@ function setup_test( return end +version_added(::typeof(test_cpsat_BinPacking)) = v"1.4.0" + """ test_cpsat_Cumulative(model::MOI.ModelLike, config::Config) @@ -415,6 +427,8 @@ function setup_test( return end +version_added(::typeof(test_cpsat_Cumulative)) = v"1.4.0" + """ test_cpsat_Table(model::MOI.ModelLike, config::Config) @@ -453,6 +467,8 @@ function setup_test( return end +version_added(::typeof(test_cpsat_Table)) = v"1.4.0" + """ test_cpsat_Circuit(model::MOI.ModelLike, config::Config) @@ -486,6 +502,8 @@ function setup_test( return end +version_added(::typeof(test_cpsat_Circuit)) = v"1.4.0" + """ test_cpsat_Path(model::MOI.ModelLike, config::Config) @@ -546,3 +564,5 @@ function setup_test( ) return end + +version_added(::typeof(test_cpsat_Path)) = v"1.4.0" diff --git a/src/Test/test_linear.jl b/src/Test/test_linear.jl index 9492a60f77..3565567eed 100644 --- a/src/Test/test_linear.jl +++ b/src/Test/test_linear.jl @@ -4158,7 +4158,7 @@ function setup_test( return end -version_added(::typeof(test_linear_HyperRectangle_VectorOfVariables)) = v"1.7.0" +version_added(::typeof(test_linear_HyperRectangle_VectorOfVariables)) = v"1.8.0" """ test_linear_HyperRectangle_VectorAffinneFunction( @@ -4209,5 +4209,5 @@ end function version_added( ::typeof(test_linear_HyperRectangle_VectorAffineFunction), ) - return v"1.7.0" + return v"1.8.0" end diff --git a/src/Test/test_model.jl b/src/Test/test_model.jl index 9f992f4a62..e9c0cd09d0 100644 --- a/src/Test/test_model.jl +++ b/src/Test/test_model.jl @@ -1205,6 +1205,8 @@ function test_model_ListOfVariablesWithAttributeSet( return end +version_added(::typeof(test_model_ListOfVariablesWithAttributeSet)) = v"1.22.0" + function test_model_ListOfConstraintsWithAttributeSet( model::MOI.ModelLike, ::Config{T}, @@ -1220,12 +1222,18 @@ function test_model_ListOfConstraintsWithAttributeSet( return end +function version_added(::typeof(test_model_ListOfConstraintsWithAttributeSet)) + return v"1.22.0" +end + function test_model_show(model::MOI.ModelLike, ::Config{T}) where {T} # We don't enforce any particular output. @test sprint(show, model) isa String return end +version_added(::typeof(test_model_show)) = v"1.31.0" + function test_model_add_constrained_variable_tuple( model::MOI.ModelLike, ::Config{T}, @@ -1242,3 +1250,5 @@ function test_model_add_constrained_variable_tuple( @test MOI.get(model, MOI.ConstraintSet(), c_u) == set[2] return end + +version_added(::typeof(test_model_add_constrained_variable_tuple)) = v"1.34.0" diff --git a/src/Test/test_modification.jl b/src/Test/test_modification.jl index 5589662fe2..fdebe35a65 100644 --- a/src/Test/test_modification.jl +++ b/src/Test/test_modification.jl @@ -1040,6 +1040,12 @@ function test_modification_objective_scalarquadraticcoefficientchange( return end +function version_added( + ::typeof(test_modification_objective_scalarquadraticcoefficientchange), +) + return v"1.21.0" +end + function test_modification_constraint_scalarquadraticcoefficientchange( model::MOI.ModelLike, config::Config{T}, @@ -1062,6 +1068,12 @@ function test_modification_constraint_scalarquadraticcoefficientchange( return end +function version_added( + ::typeof(test_modification_constraint_scalarquadraticcoefficientchange), +) + return v"1.21.0" +end + function test_modification_mathoptinterface_issue_2452( model::MOI.ModelLike, config::Config{T}, @@ -1076,3 +1088,7 @@ function test_modification_mathoptinterface_issue_2452( @test MOI.get(model, MOI.ConstraintSet(), c) == MOI.EqualTo(T(2)) return end + +function version_added(::typeof(test_modification_mathoptinterface_issue_2452)) + return v"1.28.0" +end diff --git a/src/Test/test_multiobjective.jl b/src/Test/test_multiobjective.jl index 9a0630e61f..d8b64735e9 100644 --- a/src/Test/test_multiobjective.jl +++ b/src/Test/test_multiobjective.jl @@ -18,6 +18,8 @@ function test_multiobjective_vector_of_variables( return end +version_added(::typeof(test_multiobjective_vector_of_variables)) = v"1.12.0" + function test_multiobjective_vector_of_variables_delete( model::MOI.ModelLike, ::Config{T}, @@ -36,6 +38,10 @@ function test_multiobjective_vector_of_variables_delete( return end +function version_added(::typeof(test_multiobjective_vector_of_variables_delete)) + return v"1.12.0" +end + function test_multiobjective_vector_of_variables_delete_all( model::MOI.ModelLike, ::Config{T}, @@ -58,6 +64,12 @@ function test_multiobjective_vector_of_variables_delete_all( return end +function version_added( + ::typeof(test_multiobjective_vector_of_variables_delete_all), +) + return v"1.12.0" +end + function test_multiobjective_vector_of_variables_delete_vector( model::MOI.ModelLike, ::Config{T}, @@ -79,6 +91,12 @@ function test_multiobjective_vector_of_variables_delete_vector( return end +function version_added( + ::typeof(test_multiobjective_vector_of_variables_delete_vector), +) + return v"1.12.0" +end + function test_multiobjective_vector_affine_function( model::MOI.ModelLike, ::Config{T}, @@ -94,6 +112,8 @@ function test_multiobjective_vector_affine_function( return end +version_added(::typeof(test_multiobjective_vector_affine_function)) = v"1.12.0" + function test_multiobjective_vector_affine_function_modify( model::MOI.ModelLike, ::Config{T}, @@ -116,6 +136,12 @@ function test_multiobjective_vector_affine_function_modify( return end +function version_added( + ::typeof(test_multiobjective_vector_affine_function_modify), +) + return v"1.12.0" +end + function test_multiobjective_vector_affine_function_delete( model::MOI.ModelLike, ::Config{T}, @@ -134,6 +160,12 @@ function test_multiobjective_vector_affine_function_delete( return end +function version_added( + ::typeof(test_multiobjective_vector_affine_function_delete), +) + return v"1.12.0" +end + function test_multiobjective_vector_affine_function_delete_vector( model::MOI.ModelLike, ::Config{T}, @@ -152,6 +184,12 @@ function test_multiobjective_vector_affine_function_delete_vector( return end +function version_added( + ::typeof(test_multiobjective_vector_affine_function_delete_vector), +) + return v"1.12.0" +end + function test_multiobjective_vector_quadratic_function( model::MOI.ModelLike, ::Config{T}, @@ -167,6 +205,10 @@ function test_multiobjective_vector_quadratic_function( return end +function version_added(::typeof(test_multiobjective_vector_quadratic_function)) + return v"1.12.0" +end + function test_multiobjective_vector_quadratic_function_modify( model::MOI.ModelLike, ::Config{T}, @@ -189,6 +231,12 @@ function test_multiobjective_vector_quadratic_function_modify( return end +function version_added( + ::typeof(test_multiobjective_vector_quadratic_function_modify), +) + return v"1.12.0" +end + function test_multiobjective_vector_quadratic_function_delete( model::MOI.ModelLike, ::Config{T}, @@ -207,6 +255,12 @@ function test_multiobjective_vector_quadratic_function_delete( return end +function version_added( + ::typeof(test_multiobjective_vector_quadratic_function_delete), +) + return v"1.12.0" +end + function test_multiobjective_vector_quadratic_function_delete_vector( model::MOI.ModelLike, ::Config{T}, @@ -229,6 +283,12 @@ function test_multiobjective_vector_quadratic_function_delete_vector( return end +function version_added( + ::typeof(test_multiobjective_vector_quadratic_function_delete_vector), +) + return v"1.12.0" +end + function test_multiobjective_vector_nonlinear( model::MOI.ModelLike, ::Config{T}, @@ -247,6 +307,8 @@ function test_multiobjective_vector_nonlinear( return end +version_added(::typeof(test_multiobjective_vector_nonlinear)) = v"1.19.0" + function test_multiobjective_vector_nonlinear_delete( model::MOI.ModelLike, ::Config{T}, @@ -266,6 +328,8 @@ function test_multiobjective_vector_nonlinear_delete( return end +version_added(::typeof(test_multiobjective_vector_nonlinear_delete)) = v"1.19.0" + function test_multiobjective_vector_nonlinear_delete_vector( model::MOI.ModelLike, ::Config{T}, @@ -285,6 +349,12 @@ function test_multiobjective_vector_nonlinear_delete_vector( return end +function version_added( + ::typeof(test_multiobjective_vector_nonlinear_delete_vector), +) + return v"1.19.0" +end + function test_multiobjective_vector_nonlinear_modify( model::MOI.ModelLike, ::Config{T}, @@ -307,3 +377,5 @@ function test_multiobjective_vector_nonlinear_modify( ) return end + +version_added(::typeof(test_multiobjective_vector_nonlinear_modify)) = v"1.19.0" diff --git a/src/Test/test_nonlinear.jl b/src/Test/test_nonlinear.jl index 07e4f20563..53c575e695 100644 --- a/src/Test/test_nonlinear.jl +++ b/src/Test/test_nonlinear.jl @@ -1244,6 +1244,8 @@ function setup_test( return end +version_added(::typeof(test_nonlinear_expression_hs071)) = v"1.17.0" + function test_nonlinear_expression_hs071_epigraph( model::MOI.ModelLike, config::Config{T}, @@ -1297,6 +1299,8 @@ function setup_test( return end +version_added(::typeof(test_nonlinear_expression_hs071_epigraph)) = v"1.17.0" + function test_nonlinear_expression_hs109( model::MOI.ModelLike, config::Config{T}, @@ -1361,6 +1365,8 @@ function setup_test( return () -> model.eval_objective_value = flag end +version_added(::typeof(test_nonlinear_expression_hs109)) = v"1.17.0" + function test_nonlinear_expression_hs110( model::MOI.ModelLike, config::Config{T}, @@ -1420,6 +1426,8 @@ function setup_test( return () -> model.eval_objective_value = flag end +version_added(::typeof(test_nonlinear_expression_hs110)) = v"1.17.0" + function test_nonlinear_expression_quartic( model::MOI.ModelLike, config::Config{T}, @@ -1465,6 +1473,8 @@ function setup_test( return () -> model.eval_objective_value = flag end +version_added(::typeof(test_nonlinear_expression_quartic)) = v"1.17.0" + function test_nonlinear_expression_overrides_objective( model::MOI.ModelLike, config::Config{T}, @@ -1513,6 +1523,10 @@ function setup_test( return () -> model.eval_objective_value = flag end +function version_added(::typeof(test_nonlinear_expression_overrides_objective)) + return v"1.17.0" +end + function test_nonlinear_expression_univariate_function( model::MOI.ModelLike, config::Config{T}, @@ -1546,6 +1560,10 @@ function setup_test( return end +function version_added(::typeof(test_nonlinear_expression_univariate_function)) + return v"1.17.0" +end + function test_nonlinear_expression_multivariate_function( model::MOI.ModelLike, config::Config{T}, @@ -1593,6 +1611,12 @@ function setup_test( return end +function version_added( + ::typeof(test_nonlinear_expression_multivariate_function), +) + return v"1.17.0" +end + """ test_nonlinear_duals(model::MOI.ModelLike, config::MOI.Test.Config) @@ -1726,6 +1750,8 @@ function setup_test( end end +version_added(::typeof(test_nonlinear_duals)) = v"1.17.0" + function test_nonlinear_vector_complements( model::MOI.ModelLike, config::Config{T}, @@ -1816,6 +1842,8 @@ function setup_test( return end +version_added(::typeof(test_nonlinear_vector_complements)) = v"1.19.0" + function test_nonlinear_with_scalar_quadratic_function_with_off_diag( model::MOI.ModelLike, config::Config{T}, @@ -1858,6 +1886,12 @@ function setup_test( return end +function version_added( + ::typeof(test_nonlinear_with_scalar_quadratic_function_with_off_diag), +) + return v"1.35.0" +end + function test_nonlinear_constraint_log( model::MOI.ModelLike, config::Config{T}, @@ -1908,6 +1942,8 @@ function setup_test( return end +version_added(::typeof(test_nonlinear_constraint_log)) = v"1.35.0" + function test_nonlinear_constraint_uminus( model::MOI.ModelLike, config::Config{T}, @@ -1939,6 +1975,8 @@ function setup_test( return end +version_added(::typeof(test_nonlinear_constraint_uminus)) = v"1.35.0" + function test_nonlinear_constraint_scalar_affine_function( model::MOI.ModelLike, config::Config{T}, @@ -1977,6 +2015,12 @@ function setup_test( return end +function version_added( + ::typeof(test_nonlinear_constraint_scalar_affine_function), +) + return v"1.35.0" +end + function test_nonlinear_quadratic_1( model::MOI.ModelLike, config::Config{T}, @@ -2025,6 +2069,8 @@ function setup_test( return end +version_added(::typeof(test_nonlinear_quadratic_1)) = v"1.35.0" + function test_nonlinear_quadratic_2( model::MOI.ModelLike, config::Config{T}, @@ -2074,6 +2120,8 @@ function setup_test( return end +version_added(::typeof(test_nonlinear_quadratic_2)) = v"1.35.0" + function test_nonlinear_quadratic_3( model::MOI.ModelLike, config::Config{T}, @@ -2123,6 +2171,8 @@ function setup_test( return end +version_added(::typeof(test_nonlinear_quadratic_3)) = v"1.35.0" + function test_nonlinear_quadratic_4( model::MOI.ModelLike, config::Config{T}, @@ -2170,3 +2220,5 @@ function setup_test( ) return end + +version_added(::typeof(test_nonlinear_quadratic_4)) = v"1.35.0" diff --git a/src/Test/test_objective.jl b/src/Test/test_objective.jl index 4e0f871258..5dbe7eea8f 100644 --- a/src/Test/test_objective.jl +++ b/src/Test/test_objective.jl @@ -548,6 +548,12 @@ function test_objective_ObjectiveSense_in_ListOfModelAttributesSet( return end +function version_added( + ::typeof(test_objective_ObjectiveSense_in_ListOfModelAttributesSet), +) + return v"1.12.0" +end + function test_objective_VariableIndex_in_ListOfModelAttributesSet( model::MOI.ModelLike, config::Config{T}, @@ -563,6 +569,12 @@ function test_objective_VariableIndex_in_ListOfModelAttributesSet( return end +function version_added( + ::typeof(test_objective_VariableIndex_in_ListOfModelAttributesSet), +) + return v"1.12.0" +end + function test_objective_ScalarAffineFunction_in_ListOfModelAttributesSet( model::MOI.ModelLike, config::Config{T}, @@ -578,6 +590,12 @@ function test_objective_ScalarAffineFunction_in_ListOfModelAttributesSet( return end +function version_added( + ::typeof(test_objective_ScalarAffineFunction_in_ListOfModelAttributesSet), +) + return v"1.12.0" +end + function test_objective_ScalarQuadraticFunction_in_ListOfModelAttributesSet( model::MOI.ModelLike, config::Config{T}, @@ -592,3 +610,11 @@ function test_objective_ScalarQuadraticFunction_in_ListOfModelAttributesSet( @test (attr in MOI.get(model, MOI.ListOfModelAttributesSet())) == true return end + +function version_added( + ::typeof( + test_objective_ScalarQuadraticFunction_in_ListOfModelAttributesSet, + ), +) + return v"1.12.0" +end diff --git a/src/Test/test_solve.jl b/src/Test/test_solve.jl index 0f0cd0c6ed..a30317faaf 100644 --- a/src/Test/test_solve.jl +++ b/src/Test/test_solve.jl @@ -1568,6 +1568,12 @@ function setup_test( return end +function version_added( + ::typeof(test_NormSpectralCone_VectorOfVariables_without_transform), +) + return v"1.17.0" +end + function test_NormSpectralCone_VectorOfVariables_with_transform( model::MOI.ModelLike, config::Config, @@ -1593,6 +1599,12 @@ function setup_test( return end +function version_added( + ::typeof(test_NormSpectralCone_VectorOfVariables_with_transform), +) + return v"1.17.0" +end + function test_NormSpectralCone_VectorAffineFunction_without_transform( model::MOI.ModelLike, config::Config{T}, @@ -1619,6 +1631,12 @@ function setup_test( return end +function version_added( + ::typeof(test_NormSpectralCone_VectorAffineFunction_without_transform), +) + return v"1.17.0" +end + function test_NormSpectralCone_VectorAffineFunction_with_transform( model::MOI.ModelLike, config::Config{T}, @@ -1645,6 +1663,12 @@ function setup_test( return end +function version_added( + ::typeof(test_NormSpectralCone_VectorAffineFunction_with_transform), +) + return v"1.17.0" +end + function test_NormNuclearCone_VectorOfVariables_without_transform( model::MOI.ModelLike, config::Config, @@ -1670,6 +1694,12 @@ function setup_test( return end +function version_added( + ::typeof(test_NormNuclearCone_VectorOfVariables_without_transform), +) + return v"1.17.0" +end + function test_NormNuclearCone_VectorOfVariables_with_transform( model::MOI.ModelLike, config::Config, @@ -1695,6 +1725,12 @@ function setup_test( return end +function version_added( + ::typeof(test_NormNuclearCone_VectorOfVariables_with_transform), +) + return v"1.17.0" +end + function test_NormNuclearCone_VectorAffineFunction_without_transform( model::MOI.ModelLike, config::Config{T}, @@ -1721,6 +1757,12 @@ function setup_test( return end +function version_added( + ::typeof(test_NormNuclearCone_VectorAffineFunction_without_transform), +) + return v"1.17.0" +end + function test_NormNuclearCone_VectorAffineFunction_with_transform( model::MOI.ModelLike, config::Config{T}, @@ -1747,6 +1789,12 @@ function setup_test( return end +function version_added( + ::typeof(test_NormNuclearCone_VectorAffineFunction_with_transform), +) + return v"1.17.0" +end + function test_HermitianPSDCone_basic( model::MOI.ModelLike, config::Config{T}, @@ -1784,6 +1832,8 @@ function setup_test( return end +version_added(::typeof(test_HermitianPSDCone_basic)) = v"1.17.0" + function test_HermitianPSDCone_min_t( model::MOI.ModelLike, config::Config{T}, @@ -1823,6 +1873,8 @@ function setup_test( return end +version_added(::typeof(test_HermitianPSDCone_min_t)) = v"1.17.0" + function test_DualObjectiveValue_Min_VariableIndex_GreaterThan( model::MOI.ModelLike, config::Config{T}, @@ -1858,6 +1910,12 @@ function setup_test( return end +function version_added( + ::typeof(test_DualObjectiveValue_Min_VariableIndex_GreaterThan), +) + return v"1.35.0" +end + function test_DualObjectiveValue_Max_VariableIndex_LessThan( model::MOI.ModelLike, config::Config{T}, @@ -1893,6 +1951,12 @@ function setup_test( return end +function version_added( + ::typeof(test_DualObjectiveValue_Max_VariableIndex_LessThan), +) + return v"1.35.0" +end + function test_DualObjectiveValue_Min_ScalarAffine_GreaterThan( model::MOI.ModelLike, config::Config{T}, @@ -1929,6 +1993,12 @@ function setup_test( return end +function version_added( + ::typeof(test_DualObjectiveValue_Min_ScalarAffine_GreaterThan), +) + return v"1.35.0" +end + function test_DualObjectiveValue_Max_ScalarAffine_LessThan( model::MOI.ModelLike, config::Config{T}, @@ -1964,3 +2034,9 @@ function setup_test( ) return end + +function version_added( + ::typeof(test_DualObjectiveValue_Max_ScalarAffine_LessThan), +) + return v"1.35.0" +end diff --git a/src/Test/test_variable.jl b/src/Test/test_variable.jl index d1ded03513..3ea2d56ed8 100644 --- a/src/Test/test_variable.jl +++ b/src/Test/test_variable.jl @@ -473,7 +473,7 @@ function setup_test( end function version_added(::typeof(test_variable_solve_ZeroOne_with_1_lower_bound)) - return v"1.4.1" + return v"1.5.0" end """ @@ -529,7 +529,7 @@ end function version_added( ::typeof(test_variable_solve_ZeroOne_with_bounds_then_delete), ) - return v"1.4.1" + return v"1.5.0" end """ @@ -591,3 +591,5 @@ function test_add_parameter(model::MOI.ModelLike, ::Config{T}) where {T} @test MOI.get(model, MOI.ConstraintSet(), ci) == MOI.Parameter(zero(T)) return end + +version_added(::typeof(test_add_parameter)) = v"1.13.0"