Unverified Commit 1c28ad01 authored by St. Elmo's avatar St. Elmo
Browse files

remove max-iter

parent 4ba59485
Pipeline #49240 passed with stages
in 9 minutes and 52 seconds
......@@ -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
],
)
......
......@@ -10,7 +10,6 @@
modifications = [
silence,
change_optimizer_attribute("polish", true),
change_optimizer_attribute("max-iter", 100_000),
],
)
......
......@@ -11,7 +11,6 @@
qp_modifications = [
change_optimizer(OSQP.Optimizer),
change_optimizer_attribute("polish", true),
change_optimizer_attribute("max-iter", 10_000),
silence,
],
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment