Skip to content

Commit faf7fa7

Browse files
authored
Add license headers (#606)
1 parent 484f853 commit faf7fa7

File tree

95 files changed

+544
-103
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+544
-103
lines changed

LICENSE.md

Lines changed: 11 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -24,86 +24,17 @@ The Convex.jl package is licensed under the Simplified "2-clause" BSD License:
2424
> (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2525
> OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2626
27-
The file src/problem_depot/problem_depot.jl contains some utilities copied from
28-
the MathOptInterface.jl package (https://github.com/jump-dev/MathOptInterface.jl)
29-
which is licensed under the following MIT License:
30-
31-
>Copyright (c) 2017: Miles Lubin and contributors Copyright (c) 2017: Google Inc.
32-
>
33-
>Permission is hereby granted, free of charge, to any person obtaining a copy
34-
>of this software and associated documentation files (the "Software"), to deal
35-
>in the Software without restriction, including without limitation the rights
36-
>to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
37-
>copies of the Software, and to permit persons to whom the Software is
38-
>furnished to do so, subject to the following conditions:
39-
>
40-
>The above copyright notice and this permission notice shall be included in all
41-
>copies or substantial portions of the Software.
42-
>
43-
>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
44-
>IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
45-
>FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
46-
>AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
47-
>LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
48-
>OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
49-
>SOFTWARE.
50-
51-
The files benchmark/pprinthelper.jl, benchmark/pprintjudge.jl,
52-
benchmark/pprintresult.jl, benchmark/runbenchmarks.jl, and benchmark/runjudge.jl
53-
and .travis.yml contain code copied from the Transducers.jl package
54-
(https://github.com/tkf/Transducers.jl/) which is licensed under the MIT License:
55-
56-
>Copyright (c) 2018 Takafumi Arakaki
57-
>
58-
>Permission is hereby granted, free of charge, to any person obtaining a copy
59-
>of this software and associated documentation files (the "Software"), to deal
60-
>in the Software without restriction, including without limitation the rights
61-
>to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
62-
>copies of the Software, and to permit persons to whom the Software is
63-
>furnished to do so, subject to the following conditions:
64-
>
65-
>The above copyright notice and this permission notice shall be included in all
66-
>copies or substantial portions of the Software.
67-
>
68-
>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
69-
>IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
70-
>FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
71-
>AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
72-
>LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
73-
>OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
74-
>SOFTWARE.
75-
76-
The `TreePrint` module contains code from the AbstractTrees.jl package
77-
(https://github.com/Keno/AbstractTrees.jl) which is licensed under the
78-
MIT "Expat" License:
79-
80-
> Copyright (c) 2015: Keno Fischer.
81-
>
82-
> Permission is hereby granted, free of charge, to any person obtaining
83-
> a copy of this software and associated documentation files (the
84-
> "Software"), to deal in the Software without restriction, including
85-
> without limitation the rights to use, copy, modify, merge, publish,
86-
> distribute, sublicense, and/or sell copies of the Software, and to
87-
> permit persons to whom the Software is furnished to do so, subject to
88-
> the following conditions:
89-
>
90-
> The above copyright notice and this permission notice shall be
91-
> included in all copies or substantial portions of the Software.
92-
>
93-
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
94-
> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
95-
> MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
96-
> IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
97-
> CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
98-
> TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
99-
> SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
100-
101-
The files geom_mean_epicone.jl, geom_mean_hypocone.jl, lieb_ando.jl,
102-
quantum_entropy.jl, quantum_relative_entropy.jl,
103-
relative_entropy_epicone.jl, trace_logm.jl, and trace_mpower.jl in
104-
src/atoms/sdp_cone are adapted from cvxquad
105-
(https://github.com/hfawzi/cvxquad) which is licensed under the MIT
106-
"Expat" license:
27+
The following files are adapted from [cvxquad](https://github.com/hfawzi/cvxquad)
28+
which is licensed under the MIT "Expat" license:
29+
30+
* src/atoms/sdp_cone/QuantumEntropyAtom.jl
31+
* src/atoms/sdp_cone/QuantumRelativeEntropyAtom.jl
32+
* src/atoms/sdp_cone/TraceLogmAtom.jl
33+
* src/atoms/sdp_cone/TraceMpowerAtom.jl
34+
* src/constraints/GeomMeanEpiCone.jl
35+
* src/constraints/GeomMeanHypoCone.jl
36+
* src/constraints/RelativeEntropyEpiCone.jl
37+
* src/reformulations/lieb_ando.jl,
10738

10839
> Copyright (c) 2021 Hamza Fawzi
10940
>

benchmark/LICENSE.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
The files benchmark/pprinthelper.jl, benchmark/pprintjudge.jl,
2+
benchmark/pprintresult.jl, benchmark/runbenchmarks.jl, and benchmark/runjudge.jl
3+
contain code copied from the Transducers.jl package
4+
(https://github.com/tkf/Transducers.jl/) which is licensed under the MIT License:
5+
6+
>Copyright (c) 2018 Takafumi Arakaki
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.

docs/make.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright (c) 2014: Madeleine Udell and contributors
2+
#
3+
# Use of this source code is governed by a BSD-style license that can be found
4+
# in the LICENSE file or at https://opensource.org/license/bsd-2-clause
5+
16
using Convex
27
import Documenter
38
import Literate

src/ComplexTape.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright (c) 2014: Madeleine Udell and contributors
2+
#
3+
# Use of this source code is governed by a BSD-style license that can be found
4+
# in the LICENSE file or at https://opensource.org/license/bsd-2-clause
5+
16
mutable struct ComplexTape{T}
27
real_tape::SparseTape{T}
38
imag_tape::SparseTape{T}

src/Context.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright (c) 2014: Madeleine Udell and contributors
2+
#
3+
# Use of this source code is governed by a BSD-style license that can be found
4+
# in the LICENSE file or at https://opensource.org/license/bsd-2-clause
5+
16
mutable struct Context{T,M}
27
# MOI model
38
model::M

src/Convex.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright (c) 2014: Madeleine Udell and contributors
2+
#
3+
# Use of this source code is governed by a BSD-style license that can be found
4+
# in the LICENSE file or at https://opensource.org/license/bsd-2-clause
5+
16
module Convex
27

38
import AbstractTrees

src/MOI_wrapper.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright (c) 2014: Madeleine Udell and contributors
2+
#
3+
# Use of this source code is governed by a BSD-style license that can be found
4+
# in the LICENSE file or at https://opensource.org/license/bsd-2-clause
5+
16
struct Optimizer{T,M} <: MOI.AbstractOptimizer
27
context::Context{T,M}
38
moi_to_convex::OrderedCollections.OrderedDict{MOI.VariableIndex,UInt64}

src/SparseTape.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright (c) 2014: Madeleine Udell and contributors
2+
#
3+
# Use of this source code is governed by a BSD-style license that can be found
4+
# in the LICENSE file or at https://opensource.org/license/bsd-2-clause
5+
16
struct SparseAffineOperation{T}
27
matrix::SPARSE_MATRIX{T}
38
vector::SPARSE_VECTOR{T}

src/VectorAffineFunctionAsMatrix.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright (c) 2014: Madeleine Udell and contributors
2+
#
3+
# Use of this source code is governed by a BSD-style license that can be found
4+
# in the LICENSE file or at https://opensource.org/license/bsd-2-clause
5+
16
# This is a variant of MOI.VectorAffineFunction which represents
27
# the transformation `matrix * variables + vector` lazily.
38
struct VectorAffineFunctionAsMatrix{T,V}

src/atoms/affine/AdditionAtom.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright (c) 2014: Madeleine Udell and contributors
2+
#
3+
# Use of this source code is governed by a BSD-style license that can be found
4+
# in the LICENSE file or at https://opensource.org/license/bsd-2-clause
5+
16
mutable struct AdditionAtom <: AbstractExpr
27
children::Vector{AbstractExpr}
38
size::Tuple{Int,Int}

0 commit comments

Comments
 (0)