Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LCSB-BioCore
COBREXA.jl
Commits
6b9830a5
Unverified
Commit
6b9830a5
authored
May 25, 2021
by
Miroslav Kratochvil
Browse files
completely remove Clp from tests and dependencies
parent
e87d212c
Pipeline
#42200
passed with stages
in 11 minutes and 36 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Project.toml
View file @
6b9830a5
...
...
@@ -21,7 +21,6 @@ SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
Statistics
=
"10745b16-79ce-11e8-11f9-7d13ad32a3b2"
[compat]
Clp
=
"0.8"
DistributedData
=
"0.1.3"
Documenter
=
"0.26"
JSON
=
"0.21"
...
...
@@ -36,7 +35,6 @@ Tulip = "0.7"
julia
=
"1"
[extras]
Clp
=
"e2554f3b-3117-50c0-817c-e040a3ddf72d"
Documenter
=
"e30172f5-a6a5-5a46-863b-614d45cd2de4"
Downloads
=
"f43a241f-c20a-4ad4-852c-f6b1247861c6"
Literate
=
"98b081ad-f1c9-55d3-8b20-4c87d4299306"
...
...
@@ -46,4 +44,4 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Tulip
=
"6dd1b50a-3aae-11e9-10b5-ef983d2400fa"
[targets]
test
=
[
"Clp"
,
"Downloads"
,
"OSQP"
,
"SHA"
,
"Test"
,
"Tulip"
]
test
=
[
"Downloads"
,
"OSQP"
,
"SHA"
,
"Test"
,
"Tulip"
]
test/analysis/flux_balance_analysis.jl
View file @
6b9830a5
...
...
@@ -5,11 +5,6 @@
sol
=
JuMP
.
value
.
(
lp
[
:
x
])
@test
sol
≈
[
1.0
,
2.0
]
lp
=
flux_balance_analysis
(
cp
,
Clp
.
Optimizer
)
@test
termination_status
(
lp
)
===
MOI
.
OPTIMAL
sol
=
JuMP
.
value
.
(
lp
[
:
x
])
@test
sol
≈
[
1.0
,
2.0
]
# test the maximization of the objective
cp
=
test_simpleLP2
()
lp
=
flux_balance_analysis
(
cp
,
Tulip
.
Optimizer
)
...
...
test/base/solver.jl
View file @
6b9830a5
@testset
"Solve LP"
begin
cp
=
test_simpleLP
()
optimizer
=
Tulip
.
Optimizer
lp
=
optimize_model
(
cp
,
optimizer
)
@test
termination_status
(
lp
)
===
MOI
.
OPTIMAL
sol
=
JuMP
.
value
.
(
lp
[
:
x
])
@test
sol
≈
[
1.0
,
2.0
]
optimizer
=
Clp
.
Optimizer
lp
=
optimize_model
(
cp
,
optimizer
)
lp
=
optimize_model
(
cp
,
Tulip
.
Optimizer
)
@test
termination_status
(
lp
)
===
MOI
.
OPTIMAL
sol
=
JuMP
.
value
.
(
lp
[
:
x
])
@test
sol
≈
[
1.0
,
2.0
]
...
...
test/runtests.jl
View file @
6b9830a5
using
COBREXA
,
Test
using
Clp
using
Distributed
using
Downloads
using
JSON
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment