Skip to content

Commit 3e54b3c

Browse files
committed
remove ICP from tests
1 parent 6f69301 commit 3e54b3c

File tree

3 files changed

+16
-15
lines changed

3 files changed

+16
-15
lines changed

test/Approximations/overapproximate.jl

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -481,11 +481,12 @@ for N in [Float64]
481481
@test (L Z) cap
482482

483483
# overapproximate a nonlinear constraint with an HPolyhedron
484-
dom = IntervalBox(IA.Interval(-2, 2), IA.Interval(-2, 2))
485-
C = @constraint x^2 + y^2 <= 1
486-
p = pave(C, dom, 0.01)
487-
dirs = OctDirections(2)
488-
H = overapproximate(p, dirs)
489-
B2 = Ball2(N[0, 0], N(1))
490-
@test B2 H
484+
# NOTE: ICP currently leads to unsatisfiable package requirements
485+
# dom = IntervalBox(IA.Interval(-2, 2), IA.Interval(-2, 2))
486+
# C = @constraint x^2 + y^2 <= 1
487+
# p = pave(C, dom, 0.01)
488+
# dirs = OctDirections(2)
489+
# H = overapproximate(p, dirs)
490+
# B2 = Ball2(N[0, 0], N(1))
491+
# @test B2 ⊆ H
491492
end

test/Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Expokit = "a1e7a1ef-7a5d-5822-a38c-be74e1bb89f4"
66
ExponentialUtilities = "d4d017d3-3776-5f7e-afef-a10c40355c18"
77
GR = "28b8d3ca-fb5f-59d9-8090-bfdbd6d07a71"
88
IntervalArithmetic = "d1acc4aa-44c8-5952-acd4-ba5d80a2a253"
9-
IntervalConstraintProgramming = "138f1668-1576-5ad7-91b9-7425abbf3153"
9+
# IntervalConstraintProgramming = "138f1668-1576-5ad7-91b9-7425abbf3153"
1010
IntervalMatrices = "5c1f47dc-42dd-5697-8aaa-4d102d140ba9"
1111
Javis = "78b212ba-a7f9-42d4-b726-60726080707e"
1212
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
@@ -32,7 +32,7 @@ Expokit = "0.2"
3232
ExponentialUtilities = "1"
3333
GR = "0"
3434
IntervalArithmetic = "0.15 - 0.20"
35-
IntervalConstraintProgramming = "0.9 - 0.12"
35+
# IntervalConstraintProgramming = "0.9 - 0.12"
3636
IntervalMatrices = "0.8"
3737
Javis = "0.5 - 0.7"
3838
Makie = "0.9 - 0.16"

test/runtests.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
using LazySets, LazySets.Approximations, Test, LinearAlgebra, SparseArrays, StaticArrays
2-
3-
using LazySets: _leq, _geq, isapproxzero, _isapprox, _ztol
1+
using LazySets, LazySets.Approximations, Test, LinearAlgebra, SparseArrays,
2+
StaticArrays
43

54
# fix random number generator seed
65
using Random
@@ -10,18 +9,19 @@ Random.seed!(1234)
109
# Optional dependencies
1110
# ========================
1211
import Distributions, ExponentialUtilities, Expokit, IntervalArithmetic,
13-
IntervalMatrices, Optim, Pkg, TaylorModels, IntervalConstraintProgramming
12+
IntervalMatrices, Optim, Pkg, TaylorModels
1413
const IA = IntervalArithmetic
1514
using IntervalArithmetic: IntervalBox
1615
using IntervalMatrices: ±, IntervalMatrix
1716
using TaylorModels: set_variables, TaylorModelN
18-
using IntervalConstraintProgramming
17+
# ICP currently leads to unsatisfiable package requirements
18+
# using IntervalConstraintProgramming
1919
using Symbolics
2020

2121
# ==============================
2222
# Non-exported helper functions
2323
# ==============================
24-
using LazySets: ispermutation
24+
using LazySets: _leq, _geq, isapproxzero, _isapprox, _ztol, ispermutation
2525
using LazySets.Arrays: isinvertible, inner, allequal,
2626
is_cyclic_permutation, SingleEntryVector
2727

0 commit comments

Comments
 (0)