Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
COBREXA.jl
Manage
Activity
Members
Plan
External wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LCSB-BioCore
COBREXA.jl
Commits
e99747f6
Commit
e99747f6
authored
3 years ago
by
Miroslav Kratochvil
Browse files
Options
Downloads
Patches
Plain Diff
completely disable JuMP bridge constraints
(we do not use them at all, which is likely gonna hold for some time)
parent
aad22c68
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/base/solver.jl
+1
-1
1 addition, 1 deletion
src/base/solver.jl
with
1 addition
and
1 deletion
src/base/solver.jl
+
1
−
1
View file @
e99747f6
...
...
@@ -16,7 +16,7 @@ function make_optimization_model(model::MetabolicModel, optimizer; sense = MOI.M
m
,
n
=
size
(
stoichiometry
(
model
))
xl
,
xu
=
bounds
(
model
)
optimization_model
=
Model
(
optimizer
)
optimization_model
=
Model
(
optimizer
;
bridge_constraints
=
false
)
@variable
(
optimization_model
,
x
[
i
=
1
:
n
])
@objective
(
optimization_model
,
sense
,
objective
(
model
)
'
*
x
)
@constraint
(
optimization_model
,
mb
,
stoichiometry
(
model
)
*
x
.==
balance
(
model
))
# mass balance
...
...
This diff is collapsed.
Click to expand it.
Miroslav Kratochvil
@miroslav.kratochvil
mentioned in commit
0cb0e452
·
3 years ago
mentioned in commit
0cb0e452
mentioned in commit 0cb0e45290c1f780cb08dcafba97008585ca20cc
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment