hzjken / crypto-arbitrage-framework

A cryptocurrency arbitrage framework implemented with ccxt and cplex. It can be used to monitor multiple exchanges, find a multi-lateral arbitrage path which maximizes rate of return, calculate the optimal trading amount for each pair in the path given flexible constraints, and execute trades with multi-threading implemenation.
552 stars 172 forks source link

Instaled CPLEX but the script doesnt find it #7

Open murchelon opened 4 years ago

murchelon commented 4 years ago

Hi ! I installed CPLEX but im getting the error msg when running the Main.py script:

docplex.mp.utils.DOcplexException: CPLEX runtime not found: please install CPLEX or solve this model on DOcplexcloud

Do you have any suggestions on what could i look for ?

murchelon commented 4 years ago

i installed the community version. It is openning an working fine ... : (

pepper-live commented 3 years ago

I have the same problem:

File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/docplex/mp/error_handler.py", line 210, in fatal raise DOcplexException(resolved_message) docplex.mp.utils.DOcplexException: CPLEX runtime not found: please install CPLEX or solve this model on DOcplexcloud

I run main.py from IDLE, which is a part of the CPLEX distribution.

I installed the community version 1210, ran python setup.py from the CPLEX distribution and got the following: WARNING: No CPLEX python wrappers found. However the setup.py went all its length and installed OK.

Anybody has any ideas how to point to CPLEX?

hubuser3976 commented 3 years ago

check my response to #15