inria-UFF/VRPSolverEasy

How can I invoke Cplex in VRPSolverEasy?

shaoxiang-zheng opened this issue · 2 comments

Hi,

I am using the sample code you provided, and I have a issue, can you please give me some advice? Thank you!

I am using Python 3.11, and the cplex version is 12.6.3.0. After I installed cplex, I have tried to add the code "model.parameters.solver_name = "CPLEX" " after "model = vrpse.Model()". However, I encountered the following errors:

BaPCod error : solver CPLEX is not found!
Please define CPLEX_ROOT environment variable before running cmake

Shoule I do some addtional operators? or my python and cplex versions do not match?

Look forward to you replay! Thank you!

Dear @shaoxiang-zheng,

Installation of the academic (Cplex) version of VRPSolverEasy is described here: https://vrpsolvereasy.readthedocs.io/en/latest/Installation/index.html#installation-of-academic-version

Have you performed all necessary steps?

I close this issue, as there is no response for a long time.