diff --git a/LICENSE b/LICENSE index cf21105..e83375e 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2021 Thibaut Cuvelier +Copyright (c) 2021 Thibaut Cuvelier and contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/Chuffed.jl b/src/Chuffed.jl index 8717753..30ee314 100644 --- a/src/Chuffed.jl +++ b/src/Chuffed.jl @@ -1,3 +1,8 @@ +# Copyright (c) 2021 Thibaut Cuvelier and contributors +# +# Use of this source code is governed by an MIT-style license that can be found +# in the LICENSE.md file or at https://opensource.org/licenses/MIT. + module Chuffed import ConstraintProgrammingExtensions diff --git a/test/MOI.jl b/test/MOI.jl index ec74a8e..d78889e 100644 --- a/test/MOI.jl +++ b/test/MOI.jl @@ -1,7 +1,12 @@ +# Copyright (c) 2021 Thibaut Cuvelier and contributors +# +# Use of this source code is governed by an MIT-style license that can be found +# in the LICENSE.md file or at https://opensource.org/licenses/MIT. + @testset "MOI interface" begin @testset "basic.fzn" begin model = optimizer(Int) - + @test MOI.supports_add_constrained_variable(model, MOI.Integer) @test MOI.supports_constraint(CP.FlatZinc.Model(), MOI.ScalarAffineFunction{Int}, MOI.LessThan{Int}) @@ -25,7 +30,7 @@ @testset "Infeasible" begin model = optimizer(Int) - + @test MOI.supports_add_constrained_variable(model, MOI.Integer) @test MOI.supports_constraint(CP.FlatZinc.Model(), MOI.ScalarAffineFunction{Int}, MOI.LessThan{Int}) diff --git a/test/chuffed.jl b/test/chuffed.jl index 91972f0..89c5563 100644 --- a/test/chuffed.jl +++ b/test/chuffed.jl @@ -1,3 +1,8 @@ +# Copyright (c) 2021 Thibaut Cuvelier and contributors +# +# Use of this source code is governed by an MIT-style license that can be found +# in the LICENSE.md file or at https://opensource.org/licenses/MIT. + # TODO: move the samples to CP?? Not all solvers will understand all FZN files :/. @testset "Sanity check for Chuffed" begin @testset "basic.fzn" begin diff --git a/test/runtests.jl b/test/runtests.jl index 767bf26..7d5696f 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,3 +1,8 @@ +# Copyright (c) 2021 Thibaut Cuvelier and contributors +# +# Use of this source code is governed by an MIT-style license that can be found +# in the LICENSE.md file or at https://opensource.org/licenses/MIT. + using Chuffed using MathOptInterface using ConstraintProgrammingExtensions