I am trying to link R, version 3.2.0, with CPLEX. I have used the following commands to install "cplexAPI" package:
1- install.Rtools()
2- install.packages("cplexAPI")
I have installed Rtools successfully but I am getting an error saying "ilcplex/cplex.h: No such file or directory" in "cplexAPI" installation.
Could you please help me out here?
You can install cplexAPI manually:
Few other options can be found here. You can also add Cplex /include and /lib to your PATH if you use GNU/Linux. Keep in mind that Cplex has
cplex
(mostly for C) andconcert
(for C++) directories but it looks like you need justcplex
directory.