cobratoolbox icon indicating copy to clipboard operation
cobratoolbox copied to clipboard

"FVAOptForce" function Error

Open SiYeon-Ju opened this issue 2 years ago • 0 comments

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

SiYeon-Ju avatar Jun 15 '23 01:06 SiYeon-Ju