Skip to content

Commit e3029c4

Browse files
committed
Updates
1 parent 07764b3 commit e3029c4

File tree

6 files changed

+53
-40
lines changed

6 files changed

+53
-40
lines changed

test/Solvers/Manifest.toml

Lines changed: 36 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ uuid = "9e28174c-4ba2-5203-b857-d8d62c4213ee"
2828
version = "0.8.10"
2929

3030
[[BinaryProvider]]
31-
deps = ["Libdl", "Logging", "SHA"]
32-
git-tree-sha1 = "c7361ce8a2129f20b0e05a89f7070820cfed6648"
31+
deps = ["Libdl", "SHA"]
32+
git-tree-sha1 = "29995a7b317bbd06be147e1974a3541ce2502dca"
3333
uuid = "b99e7846-7c00-51b0-8f62-c81ae34c0232"
34-
version = "0.5.6"
34+
version = "0.5.7"
3535

3636
[[CDCS]]
3737
deps = ["LinearAlgebra", "MATLAB", "MathOptInterface", "SparseArrays"]
@@ -47,9 +47,9 @@ version = "0.5.0"
4747

4848
[[CSDP]]
4949
deps = ["BinDeps", "Glob", "Libdl", "LinearAlgebra", "MathOptInterface", "MathProgBase", "SemidefiniteModels", "SparseArrays"]
50-
path = "../../../CSDP"
50+
git-tree-sha1 = "6d2a79cf77728780f8950b7a744d716c1fd3e8cf"
5151
uuid = "0a46da34-8e4b-519e-b418-48813639ff34"
52-
version = "0.5.1"
52+
version = "0.5.2"
5353

5454
[[Calculus]]
5555
deps = ["Compat"]
@@ -83,9 +83,9 @@ version = "0.8.1"
8383

8484
[[DataStructures]]
8585
deps = ["InteractiveUtils", "OrderedCollections"]
86-
git-tree-sha1 = "f94423c68f2e47db0d6f626a26d4872266e0ec3d"
86+
git-tree-sha1 = "1fe8fad5fc84686dcbc674aa255bc867a64f8132"
8787
uuid = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
88-
version = "0.17.2"
88+
version = "0.17.5"
8989

9090
[[Dates]]
9191
deps = ["Printf"]
@@ -112,22 +112,22 @@ deps = ["Random", "Serialization", "Sockets"]
112112
uuid = "8ba89e20-285c-5b6f-9357-94700520ee1b"
113113

114114
[[ECOS]]
115-
deps = ["BinaryProvider", "Compat", "Libdl", "LinearAlgebra", "MathOptInterface", "MathProgBase", "SparseArrays"]
116-
git-tree-sha1 = "3febd87acacfc35e364eed4a07ae0a684208aa64"
115+
deps = ["BinaryProvider", "Libdl", "LinearAlgebra", "MathOptInterface", "MathProgBase", "SparseArrays"]
116+
git-tree-sha1 = "02ff5d6090d4e057d9ed4589bf6d64cfd6d10820"
117117
uuid = "e2685f51-7e38-5353-a97d-a921fd2c8199"
118-
version = "0.10.0"
118+
version = "0.10.1"
119119

120120
[[ForwardDiff]]
121-
deps = ["CommonSubexpressions", "DiffResults", "DiffRules", "InteractiveUtils", "LinearAlgebra", "NaNMath", "Random", "SparseArrays", "SpecialFunctions", "StaticArrays", "Test"]
122-
git-tree-sha1 = "4c4d727f1b7e0092134fabfab6396b8945c1ea5b"
121+
deps = ["CommonSubexpressions", "DiffResults", "DiffRules", "NaNMath", "Random", "SpecialFunctions", "StaticArrays"]
122+
git-tree-sha1 = "e2c81741a8be50de143ecddee942396894f47750"
123123
uuid = "f6369f11-7733-5829-9624-2563aa707210"
124-
version = "0.10.3"
124+
version = "0.10.4"
125125

126126
[[GLPK]]
127127
deps = ["BinaryProvider", "Libdl", "MathOptInterface", "SparseArrays"]
128-
path = "../../../GLPK"
128+
git-tree-sha1 = "3710cc4a23a9b7a6eefacbd507837103a6d04240"
129129
uuid = "60bf3e95-4087-53dc-ae20-288a0d20c6a6"
130-
version = "0.11.4"
130+
version = "0.12.0"
131131

132132
[[GZip]]
133133
deps = ["Libdl", "Test"]
@@ -153,9 +153,9 @@ version = "0.21.0"
153153

154154
[[JuMP]]
155155
deps = ["Calculus", "DataStructures", "ForwardDiff", "LinearAlgebra", "MathOptInterface", "NaNMath", "Random", "SparseArrays", "Statistics"]
156-
git-tree-sha1 = "a970a86abc924f2c126cdb4978a5e8923d0e7b22"
156+
git-tree-sha1 = "ba7f96010ed290d77d5c941c32e5df107ca688a4"
157157
uuid = "4076af6c-e467-56ae-b986-b466b2749572"
158-
version = "0.20.0"
158+
version = "0.20.1"
159159

160160
[[LibGit2]]
161161
uuid = "76f85450-5226-5b5a-8eaa-529ad045b433"
@@ -182,9 +182,9 @@ uuid = "d6f4376e-aef5-505a-96c1-9c027394607a"
182182

183183
[[MathOptInterface]]
184184
deps = ["BenchmarkTools", "LinearAlgebra", "OrderedCollections", "SparseArrays", "Test", "Unicode"]
185-
path = "../../../MathOptInterface"
185+
git-tree-sha1 = "78427dcc212e0c0ad9658049bc56a50303ad9737"
186186
uuid = "b8f27783-ece8-5eb3-8dc8-9495eed66fee"
187-
version = "0.9.5"
187+
version = "0.9.7"
188188

189189
[[MathProgBase]]
190190
deps = ["Compat"]
@@ -203,15 +203,15 @@ version = "1.0.4"
203203

204204
[[MosekTools]]
205205
deps = ["MathOptInterface", "Mosek", "Printf"]
206-
git-tree-sha1 = "f24a2f9213afe8407f32b8e621a2665986ecaa92"
206+
git-tree-sha1 = "2d5b26efcf1352485c967a8a570ceab83118ebbc"
207207
uuid = "1ec41992-ff65-5c91-ac43-2df89e9693a4"
208-
version = "0.9.0"
208+
version = "0.9.1"
209209

210210
[[MultivariateMoments]]
211211
deps = ["LinearAlgebra", "MultivariatePolynomials", "RowEchelon", "SemialgebraicSets"]
212-
git-tree-sha1 = "470520d85d92f67686a496f2092d63cf276dabe3"
212+
git-tree-sha1 = "4a5d45238c2359d17d51a102019b6e47a85d26f3"
213213
uuid = "f4abf1af-0426-5881-a0da-e2f168889b5e"
214-
version = "0.2.2"
214+
version = "0.2.3"
215215

216216
[[MultivariatePolynomials]]
217217
deps = ["LinearAlgebra"]
@@ -253,9 +253,9 @@ uuid = "de0858da-6303-5e67-8744-51eddeeeb8d7"
253253

254254
[[ProxSDP]]
255255
deps = ["Arpack", "LinearAlgebra", "MathOptInterface", "Printf", "Random", "SparseArrays", "TimerOutputs"]
256-
path = "../../../ProxSDP"
256+
git-tree-sha1 = "6113808a3d4bfdb642a9d202cd1da12e7b1114a9"
257257
uuid = "65e78d25-6039-50a4-9445-38022e3d2eb3"
258-
version = "1.1.0"
258+
version = "1.2.0"
259259

260260
[[QDLDL]]
261261
deps = ["AMD", "LinearAlgebra", "Random", "SparseArrays", "Test"]
@@ -285,15 +285,21 @@ version = "0.1.1"
285285

286286
[[SCS]]
287287
deps = ["BinaryProvider", "Libdl", "LinearAlgebra", "MathOptInterface", "MathProgBase", "SparseArrays"]
288-
git-tree-sha1 = "910a2611254b970ac4cca0f97aafbaba2ec9af93"
288+
git-tree-sha1 = "f777069f119d26b021b773756c2510e4fb8a3f99"
289289
uuid = "c946c3f1-0d1f-5ce8-9dea-7daa1f7e2d13"
290-
version = "0.6.1"
290+
version = "0.6.2"
291291

292292
[[SDPA]]
293293
deps = ["BinaryProvider", "CxxWrap", "Libdl", "LinearAlgebra", "MathOptInterface", "MathProgBase", "SemidefiniteModels", "Test"]
294-
git-tree-sha1 = "3616ad50a023701df8c198db9a8673ef2d1d6576"
294+
git-tree-sha1 = "739c8beafddd725624004081083fbf690bc105eb"
295295
uuid = "b9a10b5b-afa4-512f-a053-bb3d8080febc"
296-
version = "0.2.0"
296+
version = "0.2.1"
297+
298+
[[SDPAFamily]]
299+
deps = ["BinaryProvider", "DelimitedFiles", "Libdl", "LinearAlgebra", "MathOptInterface", "SparseArrays"]
300+
git-tree-sha1 = "6787480c2fc87c48f2c7d81a8a995244d084602a"
301+
uuid = "bfe18334-aefd-11e9-1109-4bf2b15a5b91"
302+
version = "0.1.1"
297303

298304
[[SHA]]
299305
uuid = "ea8e919c-243c-51af-8825-aaa63cd721ce"
@@ -351,7 +357,7 @@ deps = ["Libdl", "LinearAlgebra", "Serialization", "SparseArrays"]
351357
uuid = "4607b0f0-06f3-5cda-b6b1-a6196a1729e9"
352358

353359
[[SumOfSquares]]
354-
deps = ["CSDP", "JuMP", "LinearAlgebra", "MathOptInterface", "MultivariateMoments", "MultivariatePolynomials", "Pkg", "PolyJuMP", "Reexport", "SemialgebraicSets", "SparseArrays"]
360+
deps = ["JuMP", "LinearAlgebra", "MathOptInterface", "MultivariateMoments", "MultivariatePolynomials", "Pkg", "PolyJuMP", "Reexport", "SemialgebraicSets", "SparseArrays"]
355361
path = "../.."
356362
uuid = "4b9e565b-77fc-50a5-a571-1244f986bda1"
357363
version = "0.3.5"

test/Solvers/Project.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@ COSMO = "1e616198-aa4e-51ec-90a2-23f7fbd31d8d"
44
CSDP = "0a46da34-8e4b-519e-b418-48813639ff34"
55
ECOS = "e2685f51-7e38-5353-a97d-a921fd2c8199"
66
GLPK = "60bf3e95-4087-53dc-ae20-288a0d20c6a6"
7+
JuMP = "4076af6c-e467-56ae-b986-b466b2749572"
78
MathOptInterface = "b8f27783-ece8-5eb3-8dc8-9495eed66fee"
89
MosekTools = "1ec41992-ff65-5c91-ac43-2df89e9693a4"
910
ProxSDP = "65e78d25-6039-50a4-9445-38022e3d2eb3"
1011
SCS = "c946c3f1-0d1f-5ce8-9dea-7daa1f7e2d13"
1112
SDPA = "b9a10b5b-afa4-512f-a053-bb3d8080febc"
13+
SDPAFamily = "bfe18334-aefd-11e9-1109-4bf2b15a5b91"
1214
SeDuMi = "a895aaad-f784-5544-9392-bb281339c1b2"
1315
SemialgebraicSets = "8e049039-38e8-557d-ae3a-bc521ccf6204"
1416
SumOfSquares = "4b9e565b-77fc-50a5-a571-1244f986bda1"

test/Solvers/mosek_tests.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ config = MOI.Test.TestConfig(atol=1e-5, rtol=1e-5)
99
Tests.linear_test(factory, config)
1010
end
1111
@testset "SOC" begin
12-
Tests.soc_test(factory, config, [
13-
# FIXME Mosek.MosekError(1307, "Variable '' (29) is a member of cone '' (9).")
12+
Tests.soc_test(factory, config, String[
13+
# FIXME MethodError: Cannot `convert` an object of type Nothing to an object of type MathOptInterface.VariableIndex
1414
"sdsos_horn"
1515
])
1616
end
@@ -20,6 +20,8 @@ end
2020
"maxcut", "sos_horn", "motzkin",
2121
# Expression: JuMP.termination_status(model) == MOI.INFEASIBLE
2222
# Evaluated: MathOptInterface.SLOW_PROGRESS == MathOptInterface.INFEASIBLE
23+
# Contacted Mosek and they replied that there is nothing wrong as the
24+
# PrimalStatus and DualStatus are correct
2325
"quartic_infeasible_lyapunov_switched_system"
2426
])
2527
end

test/Solvers/proxsdp_tests.jl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,14 @@ end
2525
end
2626
@testset "SDP" begin
2727
Tests.sd_test(factory, config, [
28+
# with γ=3.9 it should be infeasible: Test Failed at /home/blegat/.julia/dev/SumOfSquares/test/Tests/maxcut.jl:37
29+
# Expression: JuMP.dual_status(model) == MOI.INFEASIBILITY_CERTIFICATE
30+
# Evaluated: MathOptInterface.INFEASIBLE_POINT == MathOptInterface.INFEASIBILITY_CERTIFICATE
31+
"maxcut",
32+
# ITERATION_LIMIT
33+
"choi_term", "motzkin",
34+
# ArgumentError: ModelLike of type ProxSDP.Optimizer does not support accessing the attribute MathOptInterface.ConstraintDual(1)
35+
"sos_univariate_quadratic",
2836
"sos_horn",
2937
"sos_bivariate_quadratic",
3038
"quadratic_infeasible_lyapunov_switched_system",

test/Solvers/sdpafamily_tests.jl

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,10 @@ config = MOI.Test.TestConfig(atol=1e-5, rtol=1e-5, query=false)
55
@testset "Linear" begin
66
# With `dsos_horn`, the termination status is
77
# `INFEASIBLE_OR_UNBOUNDED` instead of `INFEASIBLE`.
8-
#
9-
# With `dsos_term`, we get the error
10-
# ArgumentError: Bridge of type `MathOptInterface.Bridges.Constraint.VectorFunctionizeBridge{Float64,SumOfSquares.SOSPolynomialSet{SemialgebraicSets.FullSpace,DynamicPolynomials.Monomial{true},DynamicPolynomials.MonomialVector{true},SumOfSquares.Certificate.Remainder{SumOfSquares.NonnegPolyInnerCone{SumOfSquares.DiagonallyDominantConeTriangle},PolyJuMP.MonomialBasis,Tuple{}}}}` does not support accessing the attribute `SumOfSquares.GramMatrixAttribute(1)`.
11-
Tests.linear_test(factory, config, ["dsos_term", "dsos_horn"])
8+
Tests.linear_test(factory, config, ["dsos_horn"])
129
end
1310
@testset "SDP" begin
1411
# With `maxcut` and `quartic_infeasible_lyapunov_switched_system`, the dual status is `UNKNOWN_RESULT_STATUS` instead of `MOI.INFEASIBILITY_CERTIFICATE`
15-
#
16-
# With `sos_term`, we get
17-
# ArgumentError: Bridge of type `MathOptInterface.Bridges.Constraint.VectorFunctionizeBridge{Float64,SumOfSquares.SOSPolynomialSet{SemialgebraicSets.FullSpace,DynamicPolynomials.Monomial{true},DynamicPolynomials.MonomialVector{true},SumOfSquares.Certificate.Remainder{SumOfSquares.NonnegPolyInnerCone{MathOptInterface.PositiveSemidefiniteConeTriangle},PolyJuMP.MonomialBasis,Tuple{}}}}` does not support accessing the attribute `SumOfSquares.GramMatrixAttribute(1)`.
18-
Tests.sd_test(factory, config, ["maxcut", "quartic_infeasible_lyapunov_switched_system", "sos_term"])
12+
Tests.sd_test(factory, config, ["maxcut", "quartic_infeasible_lyapunov_switched_system"])
1913

2014
end

test/Solvers/solver_tests.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ solver_test(:ECOS)
3232
# SDP solvers (SOC is reformulated into SDP)
3333
solver_test(:CSDP)
3434
solver_test(:SDPA)
35+
solver_test(:SDPAFamily)
3536

3637
# SDP+SOC solvers
3738
solver_test(:CDCS)

0 commit comments

Comments
 (0)