Closed wt12318 closed 5 months ago
@johan-gson Could you answer this?
Hi, then something is really wrong. Could you by any chance debug it a bit and see where in the code it gets stuck?
Hi, I try to run this function step by step (prepHumanModelForftINIT
in Human-GEM and prepINITModel.m
in RAVEN), and found the slow step is :
[taskReport, essentialRxnMat, ~, essentialFluxes] = checkTasks(bModel,[],true,false,true,taskStruct);
Hmm, I wonder which version of Human-GEM you are using? Could you by any chance try to download the latest Human-GEM from Github (main branch) and use it together with the latest version of RAVEN(main branch)? I know that there were some changes in Human-GEM a while ago where the names of the metabolites in the tasks were changed in the model, and later in the tasks file. I wonder if this could come from a mismatch there, I know I had some trouble in the past with this? Could you test if it works with the latest versions of both? Note that both some code for ftINIT, the model itself, and the task file is in the Human-GEM repo.
Just to add: the 5th argument in the checkTasks
function (getEssential
), when set to true, will make that function take much longer to run than a simple task check. Not 10 hours, but I have seen it exceed an hour in the past.
This might also depend on which solver is installed for RAVEN. You can check this with getpref('RAVEN','solver')
The recommended solver is Gurobi 9.5 - Gurobi 10 should also work. I have not tested any versions above that.
11 and higher should also work, glpk
or scip
might be problematic
Thanks. I have tried Gurobi 11.0.2, and now it works normally (takes about 1 hour).
Great, good that you could make it work!
Den ons 19 juni 2024 07:44Tao Wu @.***> skrev:
Thanks. I have tried Gurobi 11.0.2, and now it works normally (takes about 1 hour).
— Reply to this email directly, view it on GitHub https://github.com/SysBioChalmers/Human-GEM/issues/826#issuecomment-2178888530, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHX2AK2TFDR26HPGI6IRCALZIGKNHAVCNFSM6AAAAABJO7AGA6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZYHA4DQNJTGA . You are receiving this because you were mentioned.Message ID: @.***>
Hi, I download Human-GEM from zenodo and run the
prepHumanModelForftINIT
, in the message, it says that would take 10 min, but I have run about 10 hours, it has not been completed:How could I fix this problem? Thanks