R interface with CPLEX
问题 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? 回答1: You can install cplexAPI manually: R CMD INSTALL --configure-args=" \ --with-cplex-include=/path/to/cplex_include/dir \ --with-cplex-lib=/path/to