Unverified Commit 81dd787e authored by St. Elmo's avatar St. Elmo Committed by Miroslav Kratochvil
Browse files

fixed reviews

parent a63bd991
......@@ -141,7 +141,7 @@ Internal helper for creating the optimized model on a remote worker, for
avoiding namespace problems.
"""
function _FVA_optimize_reaction(model, rid, ret)
sense = rid > 0 ? MAX : MIN
sense = rid > 0 ? MAX_SENSE : MIN_SENSE
var = all_variables(model)[abs(rid)]
@objective(model, sense, var)
......
......@@ -53,5 +53,5 @@ const _constants = (
colors = (empty = :dark_gray, payload = :default, key = :cyan),
)
const MAX = COBREXA.MOI.MAX_SENSE
const MIN = COBREXA.MOI.MIN_SENSE
const MAX_SENSE = COBREXA.MOI.MAX_SENSE
const MIN_SENSE = COBREXA.MOI.MIN_SENSE
......@@ -56,7 +56,7 @@ end
modifications = [
change_objective("BIOMASS_Ecoli_core_w_GAM"),
change_constraint("EX_glc__D_e", -12, -12),
change_sense(MOI.MAX_SENSE),
change_sense(MAX_SENSE),
change_optimizer_attribute("IPM_IterationsLimit", 110),
],
)
......
Supports Markdown
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