R interface with CPLEX

前端 未结 1 1809
失恋的感觉
失恋的感觉 2020-12-22 03:44

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

相关标签:
1条回答
  • 2020-12-22 03:51

    You can install cplexAPI manually:

    R CMD INSTALL --configure-args=" \
       --with-cplex-include=/path/to/cplex_include/dir \
       --with-cplex-lib=/path/to/cplex_lib/dir" cplexAPI_x.x.x.tar.gz
    

    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) and concert (for C++) directories but it looks like you need just cplex directory.

    0 讨论(0)
提交回复
热议问题