Closed pblaney closed 1 year ago
Hi again!
It looks like you're right - if you haven't tried this modification already, could you please try reinstalling from the following branch to see if it fixes the issue? https://github.com/mskilab/JaBbA/tree/zc_dev
There are some other minor bug fixes in this branch but hopefully they won't affect your analysis. Please let me know how it goes!
Hello Zi-Ning,
After pulling the updated dev branch, I can confirm JaBbA executed without an issue. Based on the log, the Gurobi Optimizer was invoked correctly.
.....
Starting optimization with gurobi!
Gurobi Optimizer version 10.0.0 build v10.0.0rc2 (mac64[x86])
CPU model: Intel(R) Core(TM) i7-8569U CPU @ 2.80GHz
Thread count: 4 physical cores, 8 logical processors, using up to 8 threads
I will notify you if I have any further issues but otherwise this issue has been resolved. Thanks again, Patrick
Hi @mskilab,
I've been pretty excited to get this tool in place for some while. After some issues with trying to get ahold of IBM to register for an academic license, I went with Gurobi as suggested. The process was fairly simple with a little adjustment to some misdirected dynamic library paths to get JaBbA to load the Gurobi library properly.
However, after a few test runs, I've narrowed in on some roadblocks in completing the run with Gurobi. It seems the error stems from expectations of using CPLEX at a few key points.
Below is a snippet of the error, I attached the log file with the complete output for reference:
As you can see, JaBbA makes a call/reference to my installation of CPLEX despite my selection of using Gurobi. Looking into this a bit deeper, I can see it's related to the function
.cplex_customparams()
. Within in this function, there is a parameter--customparams
which evokes the following conditional:Now, there is no issue with that conditional. The problem is this parameter
customparams
is always set toTRUE
when propagated from the parent functionramip_stub()
at lines 1261-1288:I think this could be easily adjusted given that it seems the function of the
customparams
parameter is directly related to CPLEX users. Therefore, you could perhaps setcustomparams = !use.gurobi
. Also, maybe it is feasible to create an alternative process for similar resource settings with Gurobi.Let me know if I can provide more info to help troubleshoot. I may cut a branch and test this in the meantime. Best, Patrick jabba.log