From 7a0fd90b674e81232851ce9017206fbf02fbbbf4 Mon Sep 17 00:00:00 2001 From: Mirek Kratochvil Date: Tue, 16 Jan 2024 16:45:30 +0100 Subject: [PATCH] add a community frontend function --- src/frontend/community.jl | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/frontend/community.jl diff --git a/src/frontend/community.jl b/src/frontend/community.jl new file mode 100644 index 000000000..990f2a937 --- /dev/null +++ b/src/frontend/community.jl @@ -0,0 +1,21 @@ + +# Copyright (c) 2021-2024, University of Luxembourg +# Copyright (c) 2021-2024, Heinrich-Heine University Duesseldorf +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +function community_flux_balance_analysis(model_abundances::Vector{Tuple{A.AbstractFBCModel, Float64}}, optimizer; kwargs...) + # TODO f this gets complicated, make a specialized community_constraints + # builder or so. But ideally this is just module loading + 1 big join + + # optimizer run. +end