diff --git a/benchmarks/benchmark.jl b/benchmarks/benchmark.jl index 94377d95..08c8b3f2 100644 --- a/benchmarks/benchmark.jl +++ b/benchmarks/benchmark.jl @@ -1,3 +1,8 @@ +# Copyright (c) 2016: Joaquim Garcia, 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 Xpress function print_help() diff --git a/deps/build.jl b/deps/build.jl index 95ef3ce4..5a1a4c43 100644 --- a/deps/build.jl +++ b/deps/build.jl @@ -1,3 +1,8 @@ +# Copyright (c) 2016: Joaquim Garcia, 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 Libdl depsfile = joinpath(dirname(@__FILE__),"deps.jl") diff --git a/docs/make.jl b/docs/make.jl index c42bd79d..5952d5c3 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -1,3 +1,8 @@ +# Copyright (c) 2016: Joaquim Garcia, 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 Documenter, Xpress makedocs( diff --git a/scripts/build_param_control_dicts.jl b/scripts/build_param_control_dicts.jl index 666352ee..210074a5 100644 --- a/scripts/build_param_control_dicts.jl +++ b/scripts/build_param_control_dicts.jl @@ -1,3 +1,8 @@ +# Copyright (c) 2016: Joaquim Garcia, 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 Xpress, Dates @enum DefinitionReadMode Ignore MainControl MainAttribute diff --git a/scripts/docs.jl b/scripts/docs.jl index 61d43da8..63a51699 100644 --- a/scripts/docs.jl +++ b/scripts/docs.jl @@ -1,3 +1,8 @@ +# Copyright (c) 2016: Joaquim Garcia, 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. + push!(DEPOT_PATH, abspath(joinpath(@__DIR__, ".."))) using HTTP diff --git a/scripts/generate.jl b/scripts/generate.jl index 0f9d69ea..a32f6ed9 100644 --- a/scripts/generate.jl +++ b/scripts/generate.jl @@ -1,3 +1,8 @@ +# Copyright (c) 2016: Joaquim Garcia, 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. + # requires julia 1.6 using Clang diff --git a/src/MOI/MOI_callbacks.jl b/src/MOI/MOI_callbacks.jl index 2fbb53e8..2a9b9e40 100644 --- a/src/MOI/MOI_callbacks.jl +++ b/src/MOI/MOI_callbacks.jl @@ -1,3 +1,8 @@ +# Copyright (c) 2016: Joaquim Garcia, 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. + """ CallbackFunction() diff --git a/src/MOI/MOI_wrapper.jl b/src/MOI/MOI_wrapper.jl index e2556b0e..513a7ead 100644 --- a/src/MOI/MOI_wrapper.jl +++ b/src/MOI/MOI_wrapper.jl @@ -1,3 +1,8 @@ +# Copyright (c) 2016: Joaquim Garcia, 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. + @static if v"1.2" > VERSION >= v"1.1" # see: https://github.com/jump-dev/Xpress.jl/pull/44#issuecomment-585882858 error("Versions 1.1.x of julia are not supported. The current verions is $(VERSION)") diff --git a/src/Xpress.jl b/src/Xpress.jl index ff1958e3..0f152b6d 100644 --- a/src/Xpress.jl +++ b/src/Xpress.jl @@ -1,3 +1,8 @@ +# Copyright (c) 2016: Joaquim Garcia, 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. + __precompile__() module Xpress diff --git a/src/api.jl b/src/api.jl index 9829eece..b98a9f49 100644 --- a/src/api.jl +++ b/src/api.jl @@ -1,3 +1,8 @@ +# Copyright (c) 2016: Joaquim Garcia, 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. + """ int XPRS_CC XPRScopycallbacks(XPRSprob dest, XPRSprob src); diff --git a/src/attributes_controls.jl b/src/attributes_controls.jl index 2f4834e6..2540ce58 100644 --- a/src/attributes_controls.jl +++ b/src/attributes_controls.jl @@ -1,3 +1,8 @@ +# Copyright (c) 2016: Joaquim Garcia, 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. + #= File automatically generated with script: diff --git a/src/common.jl b/src/common.jl index c78bbb8b..b9d279fc 100644 --- a/src/common.jl +++ b/src/common.jl @@ -1,3 +1,8 @@ +# Copyright (c) 2016: Joaquim Garcia, 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. + # Automatically generated using Clang.jl diff --git a/src/ctypes.jl b/src/ctypes.jl index 436e6ad0..57a97cfd 100644 --- a/src/ctypes.jl +++ b/src/ctypes.jl @@ -1,3 +1,8 @@ +# Copyright (c) 2016: Joaquim Garcia, 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: pending https://github.com/JuliaLang/julia/issues/29420 # this one is suggested in the issue, but it looks like time_t and tm are two different things? # const Ctime_t = Base.Libc.TmStruct diff --git a/src/helper.jl b/src/helper.jl index c35cf2bf..96549a49 100644 --- a/src/helper.jl +++ b/src/helper.jl @@ -1,3 +1,8 @@ +# Copyright (c) 2016: Joaquim Garcia, 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. + struct XpressError <: Exception errorcode::Int msg::String diff --git a/src/lib.jl b/src/lib.jl index 965a2a24..0c6d383c 100644 --- a/src/lib.jl +++ b/src/lib.jl @@ -1,3 +1,8 @@ +# Copyright (c) 2016: Joaquim Garcia, 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. + # Julia wrapper for header: xprs.h # Automatically generated using Clang.jl diff --git a/src/license.jl b/src/license.jl index 9bad0cbe..e981bf1f 100644 --- a/src/license.jl +++ b/src/license.jl @@ -1,3 +1,8 @@ +# Copyright (c) 2016: Joaquim Garcia, 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. + # lic checking file # ----------------- diff --git a/src/utils.jl b/src/utils.jl index 18ec07e0..f479eb96 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -1,3 +1,8 @@ +# Copyright (c) 2016: Joaquim Garcia, 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. + function _invoke(f::Function, pos::Int, ::Type{Float64}, args...) out = Ref{Float64}(0.0) # should we use Cfloat here instead? diff --git a/src/xprs_callbacks.jl b/src/xprs_callbacks.jl index f7dfd01e..34a654a9 100644 --- a/src/xprs_callbacks.jl +++ b/src/xprs_callbacks.jl @@ -1,3 +1,8 @@ +# Copyright (c) 2016: Joaquim Garcia, 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. + mutable struct CallbackData model_root::XpressProblem # should not use operations here diff --git a/test/Derivative/DerivativeExample.jl b/test/Derivative/DerivativeExample.jl index 2ce9124f..9e577c5e 100644 --- a/test/Derivative/DerivativeExample.jl +++ b/test/Derivative/DerivativeExample.jl @@ -1,3 +1,8 @@ +# Copyright (c) 2016: Joaquim Garcia, 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 MathOptInterface using Xpress using Test diff --git a/test/MathOptInterface/MOI_callbacks.jl b/test/MathOptInterface/MOI_callbacks.jl index a64b6919..730196f1 100644 --- a/test/MathOptInterface/MOI_callbacks.jl +++ b/test/MathOptInterface/MOI_callbacks.jl @@ -1,3 +1,8 @@ +# Copyright (c) 2016: Joaquim Garcia, 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 Xpress using MathOptInterface using Random diff --git a/test/MathOptInterface/MOI_wrapper.jl b/test/MathOptInterface/MOI_wrapper.jl index 3c0fd204..78ba3e87 100644 --- a/test/MathOptInterface/MOI_wrapper.jl +++ b/test/MathOptInterface/MOI_wrapper.jl @@ -1,3 +1,8 @@ +# Copyright (c) 2016: Joaquim Garcia, 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 TestMOIWrapper using Xpress diff --git a/test/SemiContInt/semicontint.jl b/test/SemiContInt/semicontint.jl index 6e3c9cce..f9f08117 100644 --- a/test/SemiContInt/semicontint.jl +++ b/test/SemiContInt/semicontint.jl @@ -1,3 +1,8 @@ +# Copyright (c) 2016: Joaquim Garcia, 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. + function semiconttest(model::MOI.ModelLike, config::MOIT.Config{T}) where T atol = config.atol rtol = config.rtol diff --git a/test/runtests.jl b/test/runtests.jl index 97ccc86d..99d4909d 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,3 +1,8 @@ +# Copyright (c) 2016: Joaquim Garcia, 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 Test using Xpress diff --git a/test/xprs_callbacks/cb_preintsol.jl b/test/xprs_callbacks/cb_preintsol.jl index 705f95f7..ca20ccf8 100644 --- a/test/xprs_callbacks/cb_preintsol.jl +++ b/test/xprs_callbacks/cb_preintsol.jl @@ -1,3 +1,8 @@ +# Copyright (c) 2016: Joaquim Garcia, 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 Xpress using LinearAlgebra using MathOptInterface