Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LCSB-BioCore
COBREXA.jl
Commits
1c28ad01
Unverified
Commit
1c28ad01
authored
Nov 05, 2021
by
St. Elmo
Browse files
remove max-iter
parent
4ba59485
Pipeline
#49240
passed with stages
in 9 minutes and 52 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
docs/src/notebooks/2_finding_balance.jl
View file @
1c28ad01
...
...
@@ -156,7 +156,6 @@ dict_soln = parsimonious_flux_balance_analysis_dict(
silence
,
# silence the optimizer (OSQP is very verbose by default)
change_constraint
(
"R_EX_glc__D_e"
;
lb
=
-
12
,
ub
=
-
12
),
change_optimizer_attribute
(
"polish"
,
true
),
change_optimizer_attribute
(
"max-iter"
,
10_000
),
],
)
...
...
@@ -178,7 +177,6 @@ vec_soln = parsimonious_flux_balance_analysis_vec(
qp_modifications
=
[
change_optimizer
(
OSQP
.
Optimizer
),
# now switch to OSQP (Tulip wouldn't be able to finish the computation)
change_optimizer_attribute
(
"polish"
,
true
),
# get an accurate solution, see OSQP's documentation
change_optimizer_attribute
(
"max-iter"
,
10_000
),
silence
,
# and make it quiet.
],
)
...
...
@@ -194,7 +192,6 @@ reference_fluxes = parsimonious_flux_balance_analysis_dict( # reference distribu
modifications
=
[
silence
,
change_optimizer_attribute
(
"polish"
,
true
),
change_optimizer_attribute
(
"max-iter"
,
10_000
),
],
)
...
...
@@ -205,7 +202,6 @@ moma = minimize_metabolic_adjustment_analysis_dict(
modifications
=
[
silence
,
change_optimizer_attribute
(
"polish"
,
true
),
change_optimizer_attribute
(
"max-iter"
,
10_000
),
change_constraint
(
"R_CYTBD"
;
lb
=
0.0
,
ub
=
0.0
),
# find flux distribution closest to the CYTBD knockout
],
)
...
...
test/analysis/minimize_metabolic_adjustment.jl
View file @
1c28ad01
...
...
@@ -10,7 +10,6 @@
modifications
=
[
silence
,
change_optimizer_attribute
(
"polish"
,
true
),
change_optimizer_attribute
(
"max-iter"
,
100_000
),
],
)
...
...
test/analysis/parsimonious_flux_balance_analysis.jl
View file @
1c28ad01
...
...
@@ -11,7 +11,6 @@
qp_modifications
=
[
change_optimizer
(
OSQP
.
Optimizer
),
change_optimizer_attribute
(
"polish"
,
true
),
change_optimizer_attribute
(
"max-iter"
,
10_000
),
silence
,
],
)
...
...
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