Closed Rohak72 closed 5 months ago
Hello Rohak,
at present CPLEX is a fixed dependency which was unproblematic because of the availability of its community edition. With Mac it becomes more complicated since the switch to the ARM architecture as described here. So you need to install the x86 version just to fulfill the dependency, but then can use Gurobi for calculations. This is indeed annoying but since there is quite a bit CPLEX-specific code in CNApy (because not all its features are wrapped in optlang) I currently do not see an elegant solution how to make the CPLEX dependency conditional.
Best, Axel
Hi Axel,
Thanks for your response, I completely understand! Will proceed with next steps.
Best, Rohak
Hello,
I've been trying to install CNAPy via the Anaconda instructions provided in the README, and run into the 'cplex does not exist error,' likely because I'm on a Mac OSX system. From reading prior issues, I see that I'd need to download the Intel processor version of Anaconda to continue. However, if I already have an academic license for Gurobi, thus eliminating the need for an additional solver like cplex, could I still move forward? Please let me know if this is feasible, no worries if not!
Thanks for creating this amazing tool!
Best, Rohak