opencobra / cobratoolbox

The COnstraint-Based Reconstruction and Analysis Toolbox. Documentation:
https://opencobra.github.io/cobratoolbox
Other
247 stars 311 forks source link

"FVAOptForce" function Error #2153

Open SiYeon-Ju opened 1 year ago

SiYeon-Ju commented 1 year ago

Hello, When i tried to run "FVAOptForce" function of cobratoolbox with gurobi v9.5.2 in Matlab R2022b, an Error generated as below.

Code) .. constrWT = struct('rxnList', {{'Biomass'}}, 'rxnValues', floor(growthRate.f), 'rxnBoundType', 'b') constrMT = struct('rxnList', {{'Biomass', 'LDH'}}, 'rxnValues', [0, floor(model_sol.f)], 'rxnBoundType', 'bb') [minFluxesW, maxFluxesW, minFluxesM, maxFluxesM, ~, ~] = FVAOptForce(model_Lactic, constrWT, constrMT);

Error) Error using fluxVariability>calcSolForEntry A Solution could not be found! This should not be possible but can happenif the used solver cannot properly handle unboundedness, or if there are numerical issues. Please try to use a different solver.

How can i solve it? Have a good day, Thank you.