ustunb / actionable-recourse

python tools to check recourse in linear classification
BSD 3-Clause "New" or "Revised" License
75 stars 19 forks source link

Installation: CPLEX Error even though pyomo is installed #16

Open JFHoelscher opened 4 years ago

JFHoelscher commented 4 years ago

pip install actionable-recourseleads to the following output for me:

[...]
Requirement already satisfied: pyomo>=5.6.1 in /usr/lib/python3.8/site-packages (from actionable-recourse) (5.6.9)
ERROR: Could not find a version that satisfies the requirement cplex>=12.8 (from actionable-recourse) (from versions: none) 
ERROR: No matching distribution found for cplex>=12.8 (from actionable-recourse)

As CBC and pyomo are up-to-date and pyomo is detected, I wonder why CPLEX errors still prevent the installation. Note: As this appeared only after I updated my kernel, the error is possibly connected to an issue about my setup that I do not understand.