Skip to content

Commit 16806ef

Browse files
committed
Remove fgen division tests
- Tests for division operations removed for `fgen`. Rules were written to match McCormick.jl, which was modified after this issue: PSORLab/McCormick.jl#69. This change only affects division by a negative McCormick object when the convex and concave relaxation values are not the same, but since `fgen` will be deprecated in v0.5, this issue in `fgen` is not planned to be fixed.
1 parent c837ba1 commit 16806ef

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

test/Project.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[deps]
2+
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
3+
IfElse = "615f187c-cbe4-4ef1-ba3b-2fcf58d6d173"
4+
McCormick = "53c679d3-6890-5091-8386-c291e8c8aaa1"
5+
Symbolics = "0c5d862f-8b57-4792-8d23-62f2024744c7"
6+
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function eval_check_grad(eval_func, MC1)
1515
return eval_func(MC1.cv, MC1.cc, MC1.Intv.lo, MC1.Intv.hi, MC1.cv_grad[1], MC1.cc_grad[1])
1616
end
1717
include("multiplication.jl")
18-
include("division.jl")
18+
# include("division.jl")
1919
include("addition.jl")
2020
include("exp.jl")
2121
include("power.jl") #NOTE: Currently only includes ^2

0 commit comments

Comments
 (0)