Commit e99747f6 authored by Miroslav Kratochvil's avatar Miroslav Kratochvil
Browse files

completely disable JuMP bridge constraints

(we do not use them at all, which is likely gonna hold for some time)
parent aad22c68
Pipeline #46846 passed with stages
in 9 minutes and 38 seconds
......@@ -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
......
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