cobratoolbox
cobratoolbox copied to clipboard
"FVAOptForce" function Error
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.
- [X] Tried to solve the issue on my own
- [X] Retried to run my code with the latest version of The COBRA Toolbox
- [X] Checked that a similar issue has not already been opened