Commit 0e5a7197 authored by cylon-x's avatar cylon-x 🤖
Browse files

automatic formatting changes

parent e9410821
......@@ -145,7 +145,8 @@ function _FVA_optimize_reaction(model, rid, ret)
var = all_variables(model)[abs(rid)]
@objective(model, sense, var)
if termination_status(model) != MOI.OPTIMIZE_NOT_CALLED && solver_name(model) in ["Gurobi", ]
if termination_status(model) != MOI.OPTIMIZE_NOT_CALLED &&
solver_name(model) in ["Gurobi"]
set_start_value.(all_variables(model), value.(all_variables(model))) # warm start
end
optimize!(model)
......
......@@ -55,7 +55,7 @@ function parsimonious_flux_balance_analysis(
# add the minimization constraint for total flux
v = opt_model[:x] # fluxes
if solver_name(opt_model) in ["Gurobi", ]
if solver_name(opt_model) in ["Gurobi"]
set_start_value.(all_variables(opt_model), value.(all_variables(opt_model))) # warm start
end
......
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