Skip to content

Commit f55c6a2

Browse files
authoredApr 29, 2022
Add copyright headers (#256)
1 parent e882acb commit f55c6a2

12 files changed

+77
-21
lines changed
 

‎LICENSE.md

+22-21
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,24 @@
1-
The SCS.jl package is licensed under the MIT Expat License:
1+
SCS.jl is licensed under the MIT License (MIT)
22

3-
> Copyright (c) 2014: Karanveer Mohan.
4-
>
5-
> Permission is hereby granted, free of charge, to any person obtaining
6-
> a copy of this software and associated documentation files (the
7-
> "Software"), to deal in the Software without restriction, including
8-
> without limitation the rights to use, copy, modify, merge, publish,
9-
> distribute, sublicense, and/or sell copies of the Software, and to
10-
> permit persons to whom the Software is furnished to do so, subject to
11-
> the following conditions:
12-
>
13-
> The above copyright notice and this permission notice shall be
14-
> included in all copies or substantial portions of the Software.
15-
>
16-
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17-
> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18-
> MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19-
> IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20-
> CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21-
> TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22-
> SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
3+
Note that SCS.jl includes cvxgrp/scs as a dependency, which is licensed under
4+
the MIT license: https://github.com/cvxgrp/scs/blob/master/LICENSE.txt
235

6+
Copyright (c) 2014: SCS.jl contributors
7+
8+
Permission is hereby granted, free of charge, to any person obtaining a copy
9+
of this software and associated documentation files (the "Software"), to deal
10+
in the Software without restriction, including without limitation the rights
11+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12+
copies of the Software, and to permit persons to whom the Software is
13+
furnished to do so, subject to the following conditions:
14+
15+
The above copyright notice and this permission notice shall be included in all
16+
copies or substantial portions of the Software.
17+
18+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24+
SOFTWARE.

‎src/MOI_wrapper/MOI_wrapper.jl

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright (c) 2014: SCS.jl contributors
2+
#
3+
# Use of this source code is governed by an MIT-style license that can be found
4+
# in the LICENSE.md file or at https://opensource.org/licenses/MIT.
5+
16
const MOI = MathOptInterface
27

38
include("scaled_psd_cone_bridge.jl")

‎src/MOI_wrapper/scaled_psd_cone_bridge.jl

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright (c) 2014: SCS.jl contributors
2+
#
3+
# Use of this source code is governed by an MIT-style license that can be found
4+
# in the LICENSE.md file or at https://opensource.org/licenses/MIT.
5+
16
struct ScaledPSDCone <: MOI.AbstractVectorSet
27
side_dimension::Int
38
end

‎src/SCS.jl

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright (c) 2014: SCS.jl contributors
2+
#
3+
# Use of this source code is governed by an MIT-style license that can be found
4+
# in the LICENSE.md file or at https://opensource.org/licenses/MIT.
5+
16
module SCS
27

38
import MathOptInterface

‎src/c_wrapper.jl

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright (c) 2014: SCS.jl contributors
2+
#
3+
# Use of this source code is governed by an MIT-style license that can be found
4+
# in the LICENSE.md file or at https://opensource.org/licenses/MIT.
5+
16
abstract type LinearSolver end
27

38
abstract type AbstractSCSType end

‎src/linear_solvers/direct.jl

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright (c) 2014: SCS.jl contributors
2+
#
3+
# Use of this source code is governed by an MIT-style license that can be found
4+
# in the LICENSE.md file or at https://opensource.org/licenses/MIT.
5+
16
struct DirectSolver <: LinearSolver end
27

38
scsint_t(::Type{DirectSolver}) = Clonglong

‎src/linear_solvers/gpu_indirect.jl

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright (c) 2014: SCS.jl contributors
2+
#
3+
# Use of this source code is governed by an MIT-style license that can be found
4+
# in the LICENSE.md file or at https://opensource.org/licenses/MIT.
5+
16
struct GpuIndirectSolver <: LinearSolver end
27

38
scsint_t(::Type{GpuIndirectSolver}) = Cint

‎src/linear_solvers/indirect.jl

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright (c) 2014: SCS.jl contributors
2+
#
3+
# Use of this source code is governed by an MIT-style license that can be found
4+
# in the LICENSE.md file or at https://opensource.org/licenses/MIT.
5+
16
struct IndirectSolver <: LinearSolver end
27

38
scsint_t(::Type{IndirectSolver}) = Clonglong

‎test/MOI_wrapper.jl

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright (c) 2014: SCS.jl contributors
2+
#
3+
# Use of this source code is governed by an MIT-style license that can be found
4+
# in the LICENSE.md file or at https://opensource.org/licenses/MIT.
5+
16
module TestSCS
27

38
using Test

‎test/runtests.jl

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright (c) 2014: SCS.jl contributors
2+
#
3+
# Use of this source code is governed by an MIT-style license that can be found
4+
# in the LICENSE.md file or at https://opensource.org/licenses/MIT.
5+
16
if get(ENV, "BUILDKITE", "false") == "true"
27
# This file requires a GPU in order to run. It gets tested as part of the
38
# JuliaGPU CI on Buildkite. Contact @odow for more details.

‎test/test_gpu.jl

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright (c) 2014: SCS.jl contributors
2+
#
3+
# Use of this source code is governed by an MIT-style license that can be found
4+
# in the LICENSE.md file or at https://opensource.org/licenses/MIT.
5+
16
# This file requires a GPU in order to run. It gets tested as part of the
27
# JuliaGPU CI on Gitlab. Contact @odow for more details.
38

‎test/test_problems.jl

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright (c) 2014: SCS.jl contributors
2+
#
3+
# Use of this source code is governed by an MIT-style license that can be found
4+
# in the LICENSE.md file or at https://opensource.org/licenses/MIT.
5+
16
# We don't want this file formatted because it contains lots of data.
27
#! format: off
38

0 commit comments

Comments
 (0)
Please sign in to comment.