Skip to content

Commit 3fe089d

Browse files
committed
test: add license mention for tests derived from Ipopt
1 parent 4dc4cee commit 3fe089d

File tree

4 files changed

+15
-0
lines changed

4 files changed

+15
-0
lines changed

lib/OptimizationIpopt/test/additional_tests.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ using Zygote
33
using Test
44
using LinearAlgebra
55

6+
# These tests were automatically translated from the Ipopt tests, https://github.com/coin-or/Ipopt
7+
# licensed under Eclipse Public License - v 2.0
8+
# https://github.com/coin-or/Ipopt/blob/stable/3.14/LICENSE
9+
610
@testset "Additional Ipopt Examples" begin
711
@testset "Simple 2D Example (MyNLP)" begin
812
# Based on MyNLP example from Ipopt

lib/OptimizationIpopt/test/advanced_features.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ using Test
44
using LinearAlgebra
55
using SparseArrays
66

7+
# These tests were automatically translated from the Ipopt tests, https://github.com/coin-or/Ipopt
8+
# licensed under Eclipse Public License - v 2.0
9+
# https://github.com/coin-or/Ipopt/blob/stable/3.14/LICENSE
10+
711
@testset "Advanced Ipopt Features" begin
812

913
@testset "Custom Tolerances and Options" begin

lib/OptimizationIpopt/test/problem_types.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ using Test
44
using LinearAlgebra
55
using SparseArrays
66

7+
# These tests were automatically translated from the Ipopt tests, https://github.com/coin-or/Ipopt
8+
# licensed under Eclipse Public License - v 2.0
9+
# https://github.com/coin-or/Ipopt/blob/stable/3.14/LICENSE
10+
711
@testset "Specific Problem Types" begin
812

913
@testset "Optimal Control Problem" begin

lib/OptimizationIpopt/test/runtests.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ end
6868
end
6969

7070
# Include additional tests based on Ipopt examples
71+
# These tests were automatically translated from the Ipopt tests, https://github.com/coin-or/Ipopt
72+
# licensed under Eclipse Public License - v 2.0
73+
# https://github.com/coin-or/Ipopt/blob/stable/3.14/LICENSE
7174
include("additional_tests.jl")
7275
include("advanced_features.jl")
7376
include("problem_types.jl")

0 commit comments

Comments
 (0)