cobratoolbox icon indicating copy to clipboard operation
cobratoolbox copied to clipboard

fastGapFill Error

Open jfoldi81 opened this issue 3 years ago • 0 comments

I've tried running fastGapFill both on one of my own models and by using runGapFill_Example and in both cases I'm getting an error with the LP solver, first with glpk and then also with ibm cplex. This is the line from the FastGapFill tutorial which produces the error for my own model.

tic; [consistModel,consistMatricesSUX,BlockedRxns] = prepareFastGapFill(model);

This is the error I get for both my own model and runGapFill_Example when using ibm cplex.

The logical indices contain a true value outside of the array bounds.

Error in buildCplexProblemFromCOBRAStruct (line 36)
    b_U(Problem.csense == 'L') = Problem.b(Problem.csense == 'L');

Error in solveCobraLP (line 187)
    CplexLPproblem = buildCplexProblemFromCOBRAStruct(LPproblem);

Error in LP7 (line 64)
        solution = solveCobraLP(LP7problem);

Error in fastcc (line 88)
[v, basis] = LP7( J, model, LPproblem, epsilon);

Error in prepareFastGapFill (line 151)
A = fastcc(MatricesSUX, epsilon);

Error in blocked (line 98)
tic; [consistModel,consistMatricesSUX,BlockedRxns] = prepareFastGapFill(model);

Please let me know if any other info would be helpful for troubleshooting. Thanks!

I hereby confirm that I have:

  • [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

jfoldi81 avatar Sep 24 '20 15:09 jfoldi81