Skip to content
Snippets Groups Projects
Unverified Commit 26fe2b1c authored by cylon-x's avatar cylon-x :robot: Committed by Miroslav Kratochvil
Browse files

automatic formatting changes

parent edf9ef4d
No related branches found
No related tags found
No related merge requests found
......@@ -71,10 +71,12 @@ end
sol_multi = flux_balance_analysis_dict(
model,
Tulip.Optimizer;
modifications = [change_objective(
["BIOMASS_Ecoli_core_w_GAM", "PFL"];
weights = [biomass_frac, pfl_frac],
)],
modifications = [
change_objective(
["BIOMASS_Ecoli_core_w_GAM", "PFL"];
weights = [biomass_frac, pfl_frac],
),
],
)
@test isapprox(
biomass_frac * sol_multi["BIOMASS_Ecoli_core_w_GAM"] + pfl_frac * sol_multi["PFL"],
......
......@@ -52,7 +52,7 @@ end
cp = test_simpleLP()
pids = addprocs(2, topology = :master_worker)
@everywhere using COBREXA, GLPK
fluxes = flux_variability_analysis(cp, [1, 2], GLPK.Optimizer; workers=pids)
fluxes = flux_variability_analysis(cp, [1, 2], GLPK.Optimizer; workers = pids)
@test fluxes [
1.0 1.0
2.0 2.0
......@@ -71,7 +71,7 @@ end
mins, maxs = flux_variability_analysis_dict(
model,
Tulip.Optimizer;
bounds=objective_bounds(0.99),
bounds = objective_bounds(0.99),
modifications = [
change_solver_attribute("IPM_IterationsLimit", 500),
change_constraint("EX_glc__D_e", -10, -10),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment