diff --git a/src/frontend/variability.jl b/src/frontend/variability.jl index a180d5d5c..53c9f2f32 100644 --- a/src/frontend/variability.jl +++ b/src/frontend/variability.jl @@ -38,6 +38,8 @@ function flux_variability_analysis( settings, ) + isnothing(objective_flux) && return nothing + constraint_variability( constraints * :objective_bound^C.Constraint(objective, objective_bound(objective_flux)), @@ -47,3 +49,5 @@ function flux_variability_analysis( workers, ) end + +export flux_variability_analysis